Add washing machine measurement
This commit is contained in:
parent
78dc5dccc0
commit
bbcb5b0597
@ -325,6 +325,12 @@ sensor:
|
|||||||
port: 993
|
port: 993
|
||||||
username: 'home-assistant@nerull7.info'
|
username: 'home-assistant@nerull7.info'
|
||||||
password: !secret imap_password
|
password: !secret imap_password
|
||||||
|
# Power
|
||||||
|
- platform: integration
|
||||||
|
name: "Washing machine energy Total"
|
||||||
|
unit_prefix: k
|
||||||
|
unit_time: h
|
||||||
|
source: sensor.washing_machine_electrical_measurement
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- name: Desktop
|
- name: Desktop
|
||||||
@ -541,7 +547,6 @@ input_number:
|
|||||||
template:
|
template:
|
||||||
- sensor:
|
- sensor:
|
||||||
- name: "3d_printer_kWh"
|
- name: "3d_printer_kWh"
|
||||||
friendly_name_template: "3D printer energy (Total)"
|
|
||||||
unit_of_measurement: "kWh"
|
unit_of_measurement: "kWh"
|
||||||
state_class: measurement
|
state_class: measurement
|
||||||
device_class: energy
|
device_class: energy
|
||||||
@ -554,3 +559,11 @@ template:
|
|||||||
{% endif%}
|
{% endif%}
|
||||||
attributes:
|
attributes:
|
||||||
last_reset: '1970-01-01T00:00:00+00:00'
|
last_reset: '1970-01-01T00:00:00+00:00'
|
||||||
|
- name: "washing_machine_kWh"
|
||||||
|
unit_of_measurement: "kWh"
|
||||||
|
state_class: measurement
|
||||||
|
device_class: energy
|
||||||
|
state: >
|
||||||
|
{{ states('sensor.washing_machine_energy_total') }}
|
||||||
|
attributes:
|
||||||
|
last_reset: '1970-01-01T00:00:00+00:00'
|
Loading…
Reference in New Issue
Block a user