1
0

Add washing machine measurement

This commit is contained in:
Przemek Grondek 2021-08-22 19:52:06 +02:00
parent 78dc5dccc0
commit bbcb5b0597

View File

@ -325,6 +325,12 @@ sensor:
port: 993
username: 'home-assistant@nerull7.info'
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:
- name: Desktop
@ -541,7 +547,6 @@ input_number:
template:
- sensor:
- name: "3d_printer_kWh"
friendly_name_template: "3D printer energy (Total)"
unit_of_measurement: "kWh"
state_class: measurement
device_class: energy
@ -552,5 +557,13 @@ template:
{% else %}
{{ states('sensor.3d_printer_kWh') }}
{% endif%}
attributes:
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'