updating configuration

This commit is contained in:
Your Name
2026-08-10 19:42:19 +00:00
parent f07dc7b8c9
commit e872659b52
66 changed files with 3169 additions and 5107 deletions
+14 -6
View File
@@ -3,16 +3,24 @@ template:
- name: heat_total
unit_of_measurement: gKal
default_entity_id: sensor.heat_total
state: '{{ states(''sensor.saures_teploschetchik_fonvizina'') | float + 32.7600 | round(4) }}'
state: >-
{% set v = states('sensor.saures_teploschetchik_fonvizina') %}
{{ ((v | float + 32.7600) | round(4)) if v not in ['unavailable', 'unknown', ''] else 'unavailable' }}
- name: heat_hourly_cost
unit_of_measurement: '₽'
state: "{{ states('sensor.heat_hourly') | float * 3035 | round(2) }}"
state: >-
{% set v = states('sensor.heat_hourly') %}
{{ ((v | float * 3035) | round(2)) if v not in ['unavailable', 'unknown', ''] else 'unavailable' }}
- name: heat_daily_cost
unit_of_measurement: '₽'
state: "{{ states('sensor.heat_daily') | float * 3035 | round(2) }}"
state: >-
{% set v = states('sensor.heat_daily') %}
{{ ((v | float * 3035) | round(2)) if v not in ['unavailable', 'unknown', ''] else 'unavailable' }}
- name: heat_monthly_cost
unit_of_measurement: '₽'
state: "{{ states('sensor.heat_monthly') | float * 3035 | round(2) }}"
state: >-
{% set v = states('sensor.heat_monthly') %}
{{ ((v | float * 3035) | round(2)) if v not in ['unavailable', 'unknown', ''] else 'unavailable' }}
utility_meter:
heat_hourly:
@@ -29,7 +37,7 @@ homeassistant:
customize:
sensor.heat_hourly:
friendly_name: Тепло в час
sensor.heat_hourly:
sensor.heat_daily:
friendly_name: Тепло в день
sensor.heat_hourly:
sensor.heat_monthly:
friendly_name: Тепло в месяц