@gdc wrote:
Hi There,
I am trying to automate my garage doors to automatically close and open on Life360
Device tracking, I am using a switch to set the the state of Door open or closed and Ultrasonic detector for car presence,using a ESPhome on NodeMCU, the ESPHome setup seems to work perfectly, the desired states for the entity’s are sent to HA . I have set up two groups for our two life360 tracking accounts, one group is AllAway it changes from home to not_home when we are both away correctly. the other group is OneAway which changes to not_home when just one person is away.
However I cant get the automation’s for open and close to work, I have read and tried all sorts of ideas to no avail, Can some one look at me automation’s and tell me what I am missing, Cheers- id: '1580612369371' alias: Garage 1 Door Close description: '' trigger: - entity_id: group.allaway from: home platform: state condition: - condition: or conditions: - condition: state entity_id: binary_sensor.johns_car_2 state: 'off' - condition: state entity_id: binary_sensor.rosalies_car state: 'off' action: - entity_id: switch.garage_1_control_2 service: switch.toggle - id: '1580622081620' alias: Garage 1 Door Open description: '' trigger: - entity_id: group.oneaway from: not_home platform: state condition: - condition: state entity_id: binary_sensor.garage_1_status state: 'off' - condition: or conditions: - condition: state entity_id: binary_sensor.johns_car_2 state: 'off' - condition: state entity_id: binary_sensor.rosalies_car state: 'off' action: - entity_id: switch.garage_1_control_2 service: switch.toggle
Posts: 3
Participants: 3