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

@ -53,7 +53,7 @@ BUTTONS: Final[list[ShellyButtonDescription[Any]]] = [
),
ShellyButtonDescription[ShellyBlockCoordinator](
key="self_test",
name="Self Test",
name="Self test",
icon="mdi:progress-wrench",
entity_category=EntityCategory.DIAGNOSTIC,
press_action=lambda coordinator: coordinator.device.trigger_shelly_gas_self_test(),