Skip to content

Commit

Permalink
Set UniFi Protect icr_lux min to 0 allowing "below 1 lux" (#131115)
Browse files Browse the repository at this point in the history
unifiprotect set icr_lux min 0 to allow setting "below 1 lux"

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
  • Loading branch information
RaHehl and TheJulianJES authored Nov 21, 2024
1 parent d03fc71 commit bab9ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/unifiprotect/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _get_chime_duration(obj: Camera) -> int:
name="Infrared custom lux trigger",
icon="mdi:white-balance-sunny",
entity_category=EntityCategory.CONFIG,
ufp_min=1,
ufp_min=0,
ufp_max=30,
ufp_step=1,
ufp_required_field="feature_flags.has_led_ir",
Expand Down

0 comments on commit bab9ef7

Please sign in to comment.