Which entity of the mmWave / Human Presence device do you use to turn on a light and keep on while you in the room ?
There are a number of entities for one device, Like, Moving energy, Moving target, Presence, Still target etc ? Which one are you guys using in your automations
I am massively inept at writing automations but I trigger on “Screek Human Presence Sensor 1U 4b683c Presence became occupied” to turn the light on, and “Screek Human Presence Sensor 1U 4b683c Presence became unoccupied” to turn it off.
alias: Screek Presence became OCCUPIED
description: Screek presence detector sees a person.
trigger:
- type: occupied
platform: device
device_id: 9f21dd08c5831174be3b24250bdf98b6
entity_id: f3c056587e3369eeb15a6cac7ac2d4f5
domain: binary_sensor
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id:
- switch.vulcan_relay
mode: single
Hello there!
How can I use the same automation/script to turn the lights off when there is no presence detected? I would like to have it all in 1 automation/script and not 2 if possible.
Thank you!