- id: front-door-doorbell alias: '[Front door] Doorbell' mode: restart trigger: - platform: state entity_id: switch.doorbell from: 'off' to: 'on' action: - service: notify.mobile_app_iphone_pg data: message: Doorbell data: actions: - action: UNLOCK_DOOR title: Unlock door