mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
parent
563bd4a0dd
commit
7f8a9697f0
@ -64,7 +64,7 @@ NUMBER_ENTITIES = (
|
|||||||
get_max_value=lambda api, ch: api.zoom_range(ch)["focus"]["pos"]["max"],
|
get_max_value=lambda api, ch: api.zoom_range(ch)["focus"]["pos"]["max"],
|
||||||
supported=lambda api, ch: api.zoom_supported(ch),
|
supported=lambda api, ch: api.zoom_supported(ch),
|
||||||
value=lambda api, ch: api.get_focus(ch),
|
value=lambda api, ch: api.get_focus(ch),
|
||||||
method=lambda api, ch, value: api.set_zoom(ch, int(value)),
|
method=lambda api, ch, value: api.set_focus(ch, int(value)),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user