updating configuration
This commit is contained in:
@@ -1 +1 @@
|
||||
{"pid": 106582, "version": 1, "ha_version": "2026.2.3", "start_ts": 1773083280.3675456}
|
||||
{"pid": 67, "version": 1, "ha_version": "2026.2.3", "start_ts": 1774117247.3266375}
|
||||
@@ -1,7 +1,7 @@
|
||||
yandex_station_intents:
|
||||
intents:
|
||||
Как дела: Все хорошо
|
||||
Коля наказан: Отключаю интернет в детской
|
||||
Коля наказан: Пробую отключить интернет в детской
|
||||
Включи вентилятор:
|
||||
execute_command: Поставь режим вентиляции на кондиционере в комнате {{ event.room }}
|
||||
Выключи вентилятор:
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
template:
|
||||
- sensor:
|
||||
- unit_of_measurement: kWh
|
||||
state: "{{ states('sensor.power_total') | float - 7072.7 | round(2) }}"
|
||||
name: power_main_total
|
||||
# 7072.7 - разница показаний.
|
||||
|
||||
- unit_of_measurement: ₽
|
||||
state: "{{ states('sensor.power_monthly_t1') | float * 8.23 | round(2) }}"
|
||||
name: power_monthly_cost_t1
|
||||
|
||||
- unit_of_measurement: ₽
|
||||
state: "{{ states('sensor.power_monthly_t2') | float * 2.62 | round(2) }}"
|
||||
name: power_monthly_cost_t2
|
||||
|
||||
- unit_of_measurement: ₽
|
||||
state: "{{ states('sensor.power_monthly_t3') | float * 5.66 | round(2) }}"
|
||||
name: power_monthly_cost_t3
|
||||
|
||||
- unit_of_measurement: ₽
|
||||
state: "{{ (states('sensor.power_monthly_cost_t1') | float) + (states('sensor.power_monthly_cost_t2') | float) + (states('sensor.power_monthly_cost_t3') | float) | round(2) }}"
|
||||
name: power_monthly_cost_total
|
||||
@@ -97,27 +97,6 @@ modbus:
|
||||
scale: 0.01
|
||||
unit_of_measurement: 'Hz'
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
power_main_total:
|
||||
unit_of_measurement: 'kWh'
|
||||
value_template: "{{ states('sensor.power_total') | float - 7072.7 | round(2) }}"
|
||||
#7072.7 - разница показаний.
|
||||
|
||||
power_monthly_cost_t1:
|
||||
unit_of_measurement: '₽'
|
||||
value_template: "{{ states('sensor.power_monthly_t1') | float * 8.23 | round(2) }}"
|
||||
power_monthly_cost_t2:
|
||||
unit_of_measurement: '₽'
|
||||
value_template: "{{ states('sensor.power_monthly_t2') | float * 2.62 | round(2) }}"
|
||||
power_monthly_cost_t3:
|
||||
unit_of_measurement: '₽'
|
||||
value_template: "{{ states('sensor.power_monthly_t3') | float * 5.66 | round(2) }}"
|
||||
power_monthly_cost_total:
|
||||
unit_of_measurement: '₽'
|
||||
value_template: "{{ states('sensor.power_monthly_cost_t1') | float + states('sensor.power_monthly_cost_t2') | float + states('sensor.power_monthly_cost_t3') | float | round(2) }}"
|
||||
|
||||
utility_meter:
|
||||
power_hourly:
|
||||
source: sensor.power_total
|
||||
|
||||
Reference in New Issue
Block a user