Created
March 6, 2021 13:39
-
-
Save anatoliykant/e25ef20aeb04378fb2ff67da06848fef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Аverage pressure | |
- platform: min_max | |
name: mean_pressure | |
type: mean | |
entity_ids: | |
- sensor.pressure_kabinet_temp_vlazhn_davl | |
- sensor.pressure_spalnia_temp_vlazhn_davl | |
- sensor.pressure_gostinnaia_temp_vlazhn_davl | |
- sensor.pressure_kukhnia_temp_vlazhn_davl | |
- platform: template | |
sensors: | |
pressure_kabinet_temp_vlazhn_davl: | |
friendly_name: "Кабинет, давление мм рт. ст." | |
unit_of_measurement: 'mmHg' | |
value_template: "{{ (states('sensor.kabinet_temp_vlazhn_davl_pressure')|float * 0.7500637)|round(2) }}" | |
icon_template: mdi:gauge | |
pressure_spalnia_temp_vlazhn_davl: | |
friendly_name: "Спальня, давление мм рт. ст." | |
unit_of_measurement: 'mmHg' | |
value_template: "{{ (states('sensor.spalnia_temp_vlazhn_davl_pressure')|float * 0.7500637)|round(2) }}" | |
icon_template: mdi:gauge | |
pressure_gostinnaia_temp_vlazhn_davl: | |
friendly_name: "Гостинная, давление мм рт. ст." | |
unit_of_measurement: 'mmHg' | |
value_template: "{{ (states('sensor.gostinnaia_temp_vlazhn_davl_pressure')|float * 0.7500637)|round(2) }}" | |
icon_template: mdi:gauge | |
pressure_kukhnia_temp_vlazhn_davl: | |
friendly_name: "Кухня, давление мм рт. ст." | |
unit_of_measurement: 'mmHg' | |
value_template: "{{ (states('sensor.kukhnia_temp_vlazhn_davl_pressure')|float * 0.7500637)|round(2) }}" | |
icon_template: mdi:gauge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment