Add entity translations to Roku (#96083)

* Add entity translations to Roku

* Add entity translations to Roku
This commit is contained in:
Joost Lekkerkerker 2023-08-22 16:59:56 +02:00 committed by GitHub
parent 406f06f0fc
commit 890efd58e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 44 additions and 12 deletions

View file

@ -95,7 +95,7 @@ class RokuSelectEntityDescription(
ENTITIES: tuple[RokuSelectEntityDescription, ...] = (
RokuSelectEntityDescription(
key="application",
name="Application",
translation_key="application",
icon="mdi:application",
set_fn=_launch_application,
value_fn=_get_application_name,
@ -106,7 +106,7 @@ ENTITIES: tuple[RokuSelectEntityDescription, ...] = (
CHANNEL_ENTITY = RokuSelectEntityDescription(
key="channel",
name="Channel",
translation_key="channel",
icon="mdi:television",
set_fn=_tune_channel,
value_fn=_get_channel_name,