Open jcallaghan opened 3 years ago
input_number
integration documentation - https://www.home-assistant.io/integrations/input_number/Home Assistant
Instructions on how to integrate the Input Number integration into Home Assistant.
ring
integration documentation - https://www.home-assistant.io/integrations/ringHome Assistant
Instructions on how to integrate your Ring.com devices within Home Assistant.
input_boolean
integration documentation - https://www.home-assistant.io/integrations/input_boolean/Home Assistant
Instructions on how to integrate the Input Boolean integration into Home Assistant.
Right now I have this working for the front door and back door without any special conditions in place just yet.
To avoid the light going off too early I decided to trigger the automation based on any state change (open or closed) from the door contact. I then use a template to decide whether to call the light.turn_on
or light.turn_off
service. This avoids me having to use multiple actions such as light.turn_on
, delay
, light.turn_off
which would have resulted in the light turning off if the door was still open after the delay period. There are times when the door might be open for long periods such as unloading.
When external doors are opened and the light level is below a certain threshold turn on the appropriate Ring Floodlight light. Use a helper
input_number
to maintain the threshold so this can be easily changed.I will need to consider building in a condition so the garden lights (back door and patio) don't come on if the door is opened for an extended period. This could also fix another issue where the floodlights come on when having a BBQ and destroy the mood lighting.
This could be a simple "Floodlights enabled"
input_boolean
helper that can be toggled via an Aqara button or something similar but to achieve this I would then also need to disable motion enabled lights feature in the Ring app and recreate this with my own automation including the light group feature.Areas
Conditions