Skip to content
Snippets Groups Projects
Commit 180e70f7 authored by void's avatar void
Browse files

add names

parent de205c9f
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ Number MQTT_{{ device.id }}_{{ sensor }} "Sensor {{ device.name }} kW [%.1f kW]" ...@@ -39,7 +39,7 @@ Number MQTT_{{ device.id }}_{{ sensor }} "Sensor {{ device.name }} kW [%.1f kW]"
{% elif sensor == "Kuehlschrank-Door" or sensor == "warpzone_status" %} {% elif sensor == "Kuehlschrank-Door" or sensor == "warpzone_status" %}
Switch MQTT_{{ device.id }}_{{ sensor | replace("-","") | lower }} "Sensor {{ device.name }}" ({{ device.groups }}) { Switch MQTT_{{ device.id }}_{{ sensor | replace("-","") | lower }} "Sensor {{ device.name }} {{ sensor }}" ({{ device.groups }}) {
channel="mqtt:topic:mosquitto:{{ device.id }}:{{ sensor | replace("-","") | lower }}" channel="mqtt:topic:mosquitto:{{ device.id }}:{{ sensor | replace("-","") | lower }}"
} }
......
...@@ -38,7 +38,7 @@ Bridge mqtt:broker:mosquitto [ host="{{ int_ip4 }}", secure=false, enableDiscove ...@@ -38,7 +38,7 @@ Bridge mqtt:broker:mosquitto [ host="{{ int_ip4 }}", secure=false, enableDiscove
{% elif sensor == "Kuehlschrank-Door" or sensor == "warpzone_status" %} {% elif sensor == "Kuehlschrank-Door" or sensor == "warpzone_status" %}
Type switch : {{ sensor | replace("-","") | lower }} "Sensor {{ device.name }}" [ stateTopic="ESPHome/esphome_{{ device.id }}/binary_sensor/{{ sensor | lower }}/state", on="ON", off="OFF" ] Type switch : {{ sensor | replace("-","") | lower }} "Sensor {{ device.name }} {{ sensor }}" [ stateTopic="ESPHome/esphome_{{ device.id }}/binary_sensor/{{ sensor | lower }}/state", on="ON", off="OFF" ]
{% endif %} {% endif %}
......
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