mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Change entity category of IR light setting from control to config (#91382)
This commit is contained in:
parent
a5b863cd75
commit
717898fc92
@ -57,6 +57,7 @@ LIGHT_ENTITIES = (
|
||||
key="ir_lights",
|
||||
name="Infra red lights in night mode",
|
||||
icon="mdi:led-off",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
supported_fn=lambda api, ch: api.supported(ch, "ir_lights"),
|
||||
is_on_fn=lambda api, ch: api.ir_enabled(ch),
|
||||
turn_on_off_fn=lambda api, ch, value: api.set_ir_lights(ch, value),
|
||||
|
Loading…
x
Reference in New Issue
Block a user