screen Shot
did say open Closed
this was the first thing I did in Hass
with the help of you Guys girls got it sorted
bugger Im back here again
all good learning Heaps
- platform: mqtt
name: Garage Door
state_topic: "Sonoff6/Door/Status"
value_template: >-
{% if value is equalto "0" %}
Closed
{% else %}Open
{% endif %}
oher wise everything is working
if i open the door and nite time said light come on .
be nice to see the open close again
also my On-line - Off-Line doing the same
- platform: command_line
name: Laser Printer
command: ping -W 1 -c 1 192.168.1.12 > /dev/null 2>&1 && echo success || echo fail
device_class: connectivity
payload_on: "success"
payload_off: "fail"
value_template: >-
{% if value is equalto "success" %}
On-line
{% else %}
Off-Line
{% endif %}
look like back the reading.
found it in the custom-ui bit know were to read now