Skip to content
Snippets Groups Projects
Commit f2d7bdf4 authored by jabertwo's avatar jabertwo
Browse files

fix trigger for autodiscovery automation

parent ae1232b6
No related branches found
No related tags found
No related merge requests found
......@@ -133,14 +133,12 @@ sensor:
automation ansible:
{% raw %}
# Autodiscovery für Licht Hackcenter
- alias: ANSIBLE_autodiscovery_light_hackcenter
description: "MQTT Autodiscovery für Licht Hackcenter"
mode: single
trigger:
- platform: homeassistant
triggers:
- trigger: homeassistant
event: start
action:
- service: mqtt.publish
......@@ -156,8 +154,6 @@ automation ansible:
"command_topic": "cmnd/tasmota_B1233C/Power1",
"brightness_state_topic": "light/dali_out",
"brightness_command_topic": "light/dali_in",
"state_value_template": "{{ 'OFF' if value_json.state == 'OFF' else 'ON' }}",
"brightness_value_template": "{{ value_json.brightness }}",
"qos": 0,
"payload_on": "ON",
"payload_off": "OFF",
......@@ -170,8 +166,6 @@ automation ansible:
}
}
{% endraw %}
# Abluft dauerhaft an
- alias: ANSIBLE_Abluft_dauer_an
description: Verhindert Ausschalten der Abluft und setzt festen Wert bei schließen der Zone
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment