Fix setting Reolink focus (#89374)

fix setting focus
pull/89381/head
starkillerOG 2023-03-08 12:25:51 +01:00 committed by Franck Nijhof
parent 563bd4a0dd
commit 7f8a9697f0
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ NUMBER_ENTITIES = (
get_max_value=lambda api, ch: api.zoom_range(ch)["focus"]["pos"]["max"],
supported=lambda api, ch: api.zoom_supported(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)),
),
)