Kód: Vybrat vše
state_class: total_increasing
protože u nějakého senzoru to nechtělo sežrat a hlásilo chybu config že to nepodporuje a už si nepamatuji co to bylo, nebo možná to opravili je to už dlouho
Kód: Vybrat vše
state_class: total_increasing
Kód: Vybrat vše
Power consumption
sensor:
- platform: history_stats
name: "Doba chodu podlahového topení"
entity_id: climate.big_bathroom_thermostat
state: "heat"
type: time
start: "{{ 0 }}"
end: "{{ now() }}"
template:
- sensor:
- name: "Spotřeba podlahy"
unique_id: spotreba_podlaha_topeni
state: "{{ ((states('sensor.doba_chodu_podlahoveho_topeni') | float * 0.75) | round(2) )}}"
availability: "{{ states('sensor.doba_chodu_podlahoveho_topeni') | is_number }}"
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
jak prosim zobrazim toto zobrazeni entit kde vidim atributy?
Pokud nebudeš vědět jak dej vědět