Migrate Shelly to the new entity naming style (#86574)

* Use new entity naming style in Shelly

* Suggested change

* Use lower case for gen2 description
This commit is contained in:
Maciej Bieniek 2023-01-25 09:55:52 +01:00 committed by GitHub
parent b76c0c6f08
commit dae7bcf387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 16 deletions

View file

@ -40,7 +40,7 @@ NUMBERS: Final = {
("device", "valvePos"): BlockNumberDescription(
key="device|valvepos",
icon="mdi:pipe-valve",
name="Valve Position",
name="Valve position",
native_unit_of_measurement=PERCENTAGE,
available=lambda block: cast(int, block.valveError) != 1,
entity_category=EntityCategory.CONFIG,