Add xiaomi cloud extractor
This commit is contained in:
parent
643d57c910
commit
b4eafb9fbd
@ -55,6 +55,14 @@ zoneminder:
|
||||
path: /zm/
|
||||
camera:
|
||||
- platform: zoneminder
|
||||
- platform: xiaomi_cloud_map_extractor
|
||||
host: 192.168.60.7
|
||||
token: !secret xiaomi_vacuum_token
|
||||
username: xiaomi@nerull7.info
|
||||
password: !secret xiaomi_cloud_password
|
||||
draw: [ 'all' ]
|
||||
attributes:
|
||||
- calibration_points
|
||||
|
||||
influxdb:
|
||||
host: 192.168.50.100
|
||||
@ -570,3 +578,14 @@ template:
|
||||
{{ states('sensor.washing_machine_energy_total') }}
|
||||
attributes:
|
||||
last_reset: '1970-01-01T00:00:00+00:00'
|
||||
- name: "all_kWh"
|
||||
unit_of_measurement: "kWh"
|
||||
state_class: measurement
|
||||
device_class: energy
|
||||
state: >
|
||||
{% set power = 0 %}
|
||||
{% set power = power + states('sensor.3d_printer_kWh') | float %}
|
||||
{% set power = power + states('sensor.washing_machine_kWh') | float %}
|
||||
{{ power }}
|
||||
attributes:
|
||||
last_reset: '1970-01-01T00:00:00+00:00'
|
Loading…
Reference in New Issue
Block a user