Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support KString in entity name #613

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Support KString in entity name #613

merged 1 commit into from
Dec 20, 2023

Conversation

maxwroc
Copy link
Owner

@maxwroc maxwroc commented Dec 20, 2023

This way we will be able to use dynamic values in entity.name configuration.

e.g.

- entity: sensor.my_battery
  name: "My Battery ({sensor.my_battery_type.state})"

The above can print for example "My Battery (CR2032)" as the entity name

@maxwroc maxwroc added the enhancement New feature or request label Dec 20, 2023
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 7278574184

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 80.658%

Totals Coverage Status
Change from base Build 7240946763: 0.05%
Covered Lines: 331
Relevant Lines: 394

💛 - Coveralls

@maxwroc
Copy link
Owner Author

maxwroc commented Dec 20, 2023

#608

@maxwroc maxwroc merged commit ed04eee into master Dec 20, 2023
1 check passed
@maxwroc maxwroc deleted the KStringInName branch December 20, 2023 17:13
@maxwroc maxwroc changed the title KString support in entity name Support KString in entity name Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants