Various fixes

This commit is contained in:
2019-08-05 13:40:07 +02:00
parent 7305d719ee
commit 739c2789bd
6 changed files with 56 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
sensor:
- platform: tcp
name: mower_battery
host: 192.168.0.228
port: 23
payload: "?B"
unit_of_measurement: "mV"
- platform: tcp
name: mower_state
host: 192.168.0.228
port: 23
payload: "?M"
value_template: "{{ ['MOWING','LAUNCHING','DOCKING', 'CHARGING', 'LOOKING FOR BWF', 'SETUP', 'IDLE'][value|int] }}"