Add entity translations to Roku (#96083)
* Add entity translations to Roku * Add entity translations to Roku
This commit is contained in:
parent
406f06f0fc
commit
890efd58e0
5 changed files with 44 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue