Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
specki
ansible-warpzone
Commits
180e70f7
Commit
180e70f7
authored
2 years ago
by
void
Browse files
Options
Downloads
Patches
Plain Diff
add names
parent
de205c9f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
intern/docker_openhab/templates/conf/items/mqtt.items
+1
-1
1 addition, 1 deletion
intern/docker_openhab/templates/conf/items/mqtt.items
intern/docker_openhab/templates/conf/things/mqtt.things
+1
-1
1 addition, 1 deletion
intern/docker_openhab/templates/conf/things/mqtt.things
with
2 additions
and
2 deletions
intern/docker_openhab/templates/conf/items/mqtt.items
+
1
−
1
View file @
180e70f7
...
@@ -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 }}"
}
}
...
...
This diff is collapsed.
Click to expand it.
intern/docker_openhab/templates/conf/things/mqtt.things
+
1
−
1
View file @
180e70f7
...
@@ -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 %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment