I'm new to Home Assistant, I try to have integration between Konnected and Thanks Mister Android Mqtt Alarm Panel.
For the test, I defined 2 inputs D1 and D2 on NodeMCU:
konnected: access_token: 12345678 api_host: http://192.168.0.141:8123 devices: - id: b4e62d36e92c binary_sensor: - pin: 1 type: motion name: mouvement - pin: 2 type: door name: porteavant
I want to create an automation to send sensors state change by MQTT to Manual Alarm with MQTT to interact with my Android Tablet.
automation: - alias: 'Trigger alarm while armed away' trigger: - platform: state entity_id: binary_sensor.mouvement to: active - platform: state entity_id: binary_sensor.porteavant to: open condition: - condition: state entity_id: alarm_control_panel.ha_alarm state: armed_away action: service: alarm_control_panel.alarm_trigger entity_id: alarm_control_panel.ha_alarm
I don't know how to format "entity_id". Please Help.