Add missing translations for Shelly event type states (#100608)

Add missing translations for event type
This commit is contained in:
Maciej Bieniek 2023-09-19 18:30:18 +00:00 committed by GitHub
parent 0eca433004
commit c099ec19f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -37,6 +37,7 @@ class ShellyEventDescription(EventEntityDescription):
RPC_EVENT: Final = ShellyEventDescription(
key="input",
translation_key="input",
device_class=EventDeviceClass.BUTTON,
event_types=list(RPC_INPUTS_EVENTS_TYPES),
removal_condition=lambda config, status, key: not is_rpc_momentary_input(