@r.steyn wrote:
Once again I am stuck with an automation that just does not seem to want to run, I am trying to setup an automation, that whenever my “Garage Door” switch is toggled, that it sends me a notification via Push Bullet.
Now if I setup the automation and test the automation it works, however on my front end, when I toggle the switch, the switch activates activated, but the automation does not run.setup is as follows:
WEMOS D1 mini setup with ESP Home:
switch: - platform: gpio id: relay_1 pin: number: GPIO5 inverted: False restore_mode: ALWAYS_OFF - platform: template name: "Garage Door" icon: "mdi:garage" turn_on_action: - switch.turn_on: relay_1 - delay: 1s - switch.turn_off: relay_1 - platform: gpio id: relay_2 pin: number: GPIO4 inverted: False restore_mode: ALWAYS_OFF - platform: template name: "Car Port" icon: "mdi:garage" turn_on_action: - switch.turn_on: relay_2 - delay: 1s - switch.turn_off: relay_2 - platform: restart name: 'Garage Door REBOOT'
Entities Card on HASSIO Front end:
entities: - entity: switch.garage_door - entity: switch.car_port - entity: switch.garage_door_reboot show_header_toggle: false title: Garage type: entities
Automation:
device_id: ad490433ae6f40f2a2e05173c7448960 domain: switch entity_id: switch.garage_door platform: device type: turned_on data: message: test service: notify.phone
am I missing something?
Posts: 7
Participants: 2