Compare commits
2 Commits
b3cee18027
...
f1955d6948
Author | SHA1 | Date | |
---|---|---|---|
f1955d6948 | |||
cbad1c1e1c |
@ -71,6 +71,7 @@
|
|||||||
- wohnzimmer
|
- wohnzimmer
|
||||||
- kuche
|
- kuche
|
||||||
- schlafzimmer
|
- schlafzimmer
|
||||||
|
- kinderzimmer
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
target:
|
target:
|
||||||
area_id:
|
area_id:
|
||||||
@ -133,7 +134,7 @@
|
|||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
area_id: schlafzimmer
|
device_id: 68868390eda35e969ec60a13020f2407
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1623954512941'
|
- id: '1623954512941'
|
||||||
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
||||||
@ -154,12 +155,16 @@
|
|||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
area_id: schlafzimmer
|
device_id: 68868390eda35e969ec60a13020f2407
|
||||||
data: {}
|
data: {}
|
||||||
- service: cast.show_lovelace_view
|
- delay:
|
||||||
data:
|
hours: 0
|
||||||
entity_id: media_player.ccsz
|
minutes: 15
|
||||||
dashboard_path: lovelace-test
|
seconds: 0
|
||||||
|
milliseconds: 0
|
||||||
|
- service: light.turn_on
|
||||||
|
target:
|
||||||
|
device_id: 3c86ddd39979139f29645308815c0271
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1624820688449'
|
- id: '1624820688449'
|
||||||
alias: 'Anruf: Beim Klingeln grün blinken'
|
alias: 'Anruf: Beim Klingeln grün blinken'
|
||||||
@ -295,6 +300,7 @@
|
|||||||
- wohnzimmer
|
- wohnzimmer
|
||||||
- schlafzimmer
|
- schlafzimmer
|
||||||
- kuche
|
- kuche
|
||||||
|
- kinderzimmer
|
||||||
- type: turn_off
|
- type: turn_off
|
||||||
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
||||||
entity_id: switch.kuche_musik
|
entity_id: switch.kuche_musik
|
||||||
|
@ -50,6 +50,24 @@ template:
|
|||||||
{% set phase_b = states('sensor.line_power_channel_b_power') | float %}
|
{% set phase_b = states('sensor.line_power_channel_b_power') | float %}
|
||||||
{% set phase_c = states('sensor.line_power_channel_c_power') | float %}
|
{% set phase_c = states('sensor.line_power_channel_c_power') | float %}
|
||||||
{{ (phase_a + phase_b + phase_c) | round(1) }}
|
{{ (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) }}
|
||||||
|
|
||||||
# calendar integration
|
# calendar integration
|
||||||
calendar: !include calendars.yaml
|
calendar: !include calendars.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user