updating configuration

This commit is contained in:
Your Name
2019-11-17 09:59:10 +03:00
parent cf8737292d
commit 3b5104a10d
22 changed files with 201 additions and 94 deletions
@@ -0,0 +1,5 @@
- platform: ping
name: uptime_synology
host: !secret syno_ip
count: 2
scan_interval: 30
@@ -0,0 +1,2 @@
- platform: mpd
host: 192.168.1.125
@@ -0,0 +1,8 @@
- platform: synologydsm
host: !secret syno_ip
port: 5000
ssl: false
username: !secret syno_user
password: !secret syno_pass
monitored_conditions:
- cpu_total_load
@@ -11,4 +11,4 @@
power_cost:
friendly_name: "Стоимость квт/ч"
unit_of_measurement: 'Р'
value_template: "4.37"
value_template: "4.65"
@@ -47,15 +47,15 @@
power_money_t1_monthly:
friendly_name: "Т1 в мес."
unit_of_measurement: '₽'
value_template: "{{ (states('sensor.power_theory_t1') | float * 1.37) | round(2) }}"
value_template: "{{ (states('sensor.power_theory_t1') | float * 1.5) | round(2) }}"
power_money_t2_monthly:
friendly_name: "Т2 в мес."
unit_of_measurement: '₽'
value_template: "{{ (states('sensor.power_theory_t2') | float * 4.37) | round(2) }}"
value_template: "{{ (states('sensor.power_theory_t2') | float * 4.65) | round(2) }}"
power_money_t3_monthly:
friendly_name: "Т3 в мес."
unit_of_measurement: '₽'
value_template: "{{ (states('sensor.power_theory_t3') | float * 5.25) | round(2) }}"
value_template: "{{ (states('sensor.power_theory_t3') | float * 5.58) | round(2) }}"
power_theory_money_monthly:
friendly_name: "Итого в мес."
unit_of_measurement: '₽'