Compare commits

..

No commits in common. "f1955d69480783f13b22e9b077c4b2153982d2ab" and "b3cee180271698b21503910e4fa0aedd5724f0d3" have entirely different histories.

2 changed files with 14 additions and 38 deletions

View File

@ -71,7 +71,6 @@
- wohnzimmer
- kuche
- schlafzimmer
- kinderzimmer
- service: media_player.turn_off
target:
area_id:
@ -134,7 +133,7 @@
action:
- service: light.turn_on
target:
device_id: 68868390eda35e969ec60a13020f2407
area_id: schlafzimmer
mode: single
- id: '1623954512941'
alias: Licht im Schlafzimmer zum Aufwachen einschalten
@ -155,16 +154,12 @@
milliseconds: 0
- service: light.turn_on
target:
device_id: 68868390eda35e969ec60a13020f2407
area_id: schlafzimmer
data: {}
- delay:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
- service: light.turn_on
target:
device_id: 3c86ddd39979139f29645308815c0271
- service: cast.show_lovelace_view
data:
entity_id: media_player.ccsz
dashboard_path: lovelace-test
mode: single
- id: '1624820688449'
alias: 'Anruf: Beim Klingeln grün blinken'
@ -300,7 +295,6 @@
- wohnzimmer
- schlafzimmer
- kuche
- kinderzimmer
- type: turn_off
device_id: 6d1be741876624a70ab5b01b54c6fd6f
entity_id: switch.kuche_musik

View File

@ -42,32 +42,14 @@ sensor: !include sensors.yaml
# Template sensors
template:
- sensor:
- name: "Line Power Total"
unit_of_measurement: "W"
icon: mdi:flash
state: >
{% set phase_a = states('sensor.line_power_channel_a_power') | float %}
{% set phase_b = states('sensor.line_power_channel_b_power') | float %}
{% set phase_c = states('sensor.line_power_channel_c_power') | float %}
{{ (phase_a + phase_b + phase_c) | round(1) }}
- sensor:
- name: "Leckstrom"
unit_of_measurement: "W"
icon: mdi:flash
state: >
{% set total = states('sensor.line_power_total') | float %}
{% set raumduft = states('sensor.flur_raumduft_power') | float %}
{% set keller = states('sensor.keller_power') | float %}
{% set anrichte = states('sensor.kuche_anrichte_power') | float %}
{% set musik = states('sensor.kuche_musik_power') | float %}
{% set bett = states('sensor.schlafzimmer_bett_power') | float %}
{% set heimkino_sz = states('sensor.schlafzimmer_heimkino_power') | float %}
{% set deko = states('sensor.schreibtisch_deko_power') | float %}
{% set schreibtisch = states('sensor.schreibtisch_power') | float %}
{% set serverraum = states('sensor.serverraum_power') | float %}
{% set heimkino_wz = states('sensor.wohnzimmer_heimkino_power') | float %}
{% set spieleschrank = states('sensor.wohnzimmer_spieleschrank_power') | float %}
{{ (total - raumduft - keller - musik - bett - heimkino_sz - deko - schreibtisch - serverraum - heimkino_wz - spieleschrank) | round(1) }}
- name: "Line Power Total"
unit_of_measurement: "W"
icon: mdi:flash
state: >
{% set phase_a = states('sensor.line_power_channel_a_power') | float %}
{% set phase_b = states('sensor.line_power_channel_b_power') | float %}
{% set phase_c = states('sensor.line_power_channel_c_power') | float %}
{{ (phase_a + phase_b + phase_c) | round(1) }}
# calendar integration
calendar: !include calendars.yaml