Diverse opdateringer: automations (doerklokke, kommerhjem, vinduer, lys_stue, julelys, infrastructure_alerts), scripts (doorbell, home_actions), templates, dashboards, configuration, binary_sensors/infrastructure ny fil
This commit is contained in:
@@ -8,4 +8,14 @@
|
||||
print('ON' if s.connect_ex(('10.0.0.142', 1883)) == 0 else 'OFF')"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
scan_interval: 60
|
||||
|
||||
- binary_sensor:
|
||||
name: Zigbee USB TTYUSB0
|
||||
unique_id: zigbee_usb_ttyusb0
|
||||
device_class: connectivity
|
||||
command: >-
|
||||
[ -c /dev/ttyUSB0 ] && echo ON || echo OFF
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
scan_interval: 60
|
||||
Reference in New Issue
Block a user