mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 01:55:18 +02:00
committed by
Franck Nijhof
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)),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user