This small package allows you to customize the switching on and off of a light with pir. You can decide whether to turn the light on when pur switches to on:
- Never
- Always
- After sunset
- Or in a specific time slot
You can decide whether to turn off the when the pir switches to off:
- Never
- Always
- After sunset
- Or in a specific time slot
- Delay in hours/minutes/seconds for turning off.
The card will be displayed according to the selections chosen.
REQUIREMENT:
Install from HACS the custom auto-entities.
INSTALLATION
- Insert the file light_with_pir.yaml in your packages folder
- Customize your own entities
# INSERIRE LE ENTITA'
Sensori di movimento: &pir
- binary_sensor.luce_studio
Luci da accendere (supporta switch e light): &light
- switch.luce_studio
- Restart HomeAssistant
- Create a manual card and copy the contents of card_light_whit_pir.txt