1
0
Fork 0

Home Assistant Git Exporter

main
31c0fe9c6dbd74bcdde92e1d2aaa03e1d272f75f 2022-08-24 14:25:06 +10:00
parent 8d3df54aec
commit 8f1ebd001c
2 changed files with 4 additions and 3 deletions

View File

@ -31,7 +31,7 @@
"battery": 36, "battery": 36,
"temperature": 18, "temperature": 18,
"linkquality": 255, "linkquality": 255,
"device_temperature": 18, "device_temperature": 20,
"power_outage_count": 8 "power_outage_count": 8
}, },
"0x00158d0008091b58": { "0x00158d0008091b58": {
@ -53,7 +53,7 @@
"power_outage_count": 41 "power_outage_count": 41
}, },
"0x5c0272fffee93bae": { "0x5c0272fffee93bae": {
"occupancy": false, "occupancy": true,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 255 "linkquality": 255
@ -68,7 +68,7 @@
}, },
"0xa4c138fda4db2c5e": { "0xa4c138fda4db2c5e": {
"occupancy": true, "occupancy": true,
"battery": 50, "battery": 100,
"sensitivity": "high", "sensitivity": "high",
"keep_time": "120", "keep_time": "120",
"illuminance": 898, "illuminance": 898,

View File

@ -40,6 +40,7 @@ config:
type: entity type: entity
- content: "{{ \n \"{:,}\".format(\n (states('sensor.bo_s_desk_plug_power')\ - content: "{{ \n \"{:,}\".format(\n (states('sensor.bo_s_desk_plug_power')\
\ | float(default=0)\n +\n states('sensor.bo_s_office_plug_power')\ \ | float(default=0)\n +\n states('sensor.bo_s_office_plug_power')\
\ | float(default=0)\n +\n states('sensor.bo_s_office_heater_power')\
\ | float(default=0)\n ) | round\n )\n}} W" \ | float(default=0)\n ) | round\n )\n}} W"
icon: mdi:flash icon: mdi:flash
type: template type: template