From e2420018f53cf37e5f81c551ef39e53ed02248b8 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Mon, 6 Mar 2023 15:09:52 +0100 Subject: [PATCH 1/2] Add comment about Floodlight turn on brightness --- homeassistant/components/reolink/number.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/reolink/number.py b/homeassistant/components/reolink/number.py index 05956aff3556a5..45525f5c6283ce 100644 --- a/homeassistant/components/reolink/number.py +++ b/homeassistant/components/reolink/number.py @@ -67,6 +67,9 @@ class ReolinkNumberEntityDescription( value=lambda api, ch: api.get_focus(ch), method=lambda api, ch, value: api.set_zoom(ch, int(value)), ), + # "Floodlight turn on brightness" controlles the brightness of the floodlight when + # it is turned on internally by the camera (see "select.floodlight_mode" entity) + # or when using the "light.floodlight" entity. ReolinkNumberEntityDescription( key="floodlight_brightness", name="Floodlight turn on brightness", From 9d8a504ea47554e5a8a00a75f25d420eebe0ee9c Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Mon, 6 Mar 2023 15:50:43 +0100 Subject: [PATCH 2/2] Fix typo --- homeassistant/components/reolink/number.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/reolink/number.py b/homeassistant/components/reolink/number.py index 45525f5c6283ce..82c1924e27db04 100644 --- a/homeassistant/components/reolink/number.py +++ b/homeassistant/components/reolink/number.py @@ -67,7 +67,7 @@ class ReolinkNumberEntityDescription( value=lambda api, ch: api.get_focus(ch), method=lambda api, ch, value: api.set_zoom(ch, int(value)), ), - # "Floodlight turn on brightness" controlles the brightness of the floodlight when + # "Floodlight turn on brightness" controls the brightness of the floodlight when # it is turned on internally by the camera (see "select.floodlight_mode" entity) # or when using the "light.floodlight" entity. ReolinkNumberEntityDescription(