Compare commits
No commits in common. "f1955d69480783f13b22e9b077c4b2153982d2ab" and "b3cee180271698b21503910e4fa0aedd5724f0d3" have entirely different histories.
f1955d6948
...
b3cee18027
@ -71,7 +71,6 @@
|
|||||||
- wohnzimmer
|
- wohnzimmer
|
||||||
- kuche
|
- kuche
|
||||||
- schlafzimmer
|
- schlafzimmer
|
||||||
- kinderzimmer
|
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
target:
|
target:
|
||||||
area_id:
|
area_id:
|
||||||
@ -134,7 +133,7 @@
|
|||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
device_id: 68868390eda35e969ec60a13020f2407
|
area_id: schlafzimmer
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1623954512941'
|
- id: '1623954512941'
|
||||||
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
||||||
@ -155,16 +154,12 @@
|
|||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
target:
|
target:
|
||||||
device_id: 68868390eda35e969ec60a13020f2407
|
area_id: schlafzimmer
|
||||||
data: {}
|
data: {}
|
||||||
- delay:
|
- service: cast.show_lovelace_view
|
||||||
hours: 0
|
data:
|
||||||
minutes: 15
|
entity_id: media_player.ccsz
|
||||||
seconds: 0
|
dashboard_path: lovelace-test
|
||||||
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'
|
||||||
@ -300,7 +295,6 @@
|
|||||||
- 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
|
||||||
|
@ -42,32 +42,14 @@ sensor: !include sensors.yaml
|
|||||||
# Template sensors
|
# Template sensors
|
||||||
template:
|
template:
|
||||||
- sensor:
|
- sensor:
|
||||||
- name: "Line Power Total"
|
- name: "Line Power Total"
|
||||||
unit_of_measurement: "W"
|
unit_of_measurement: "W"
|
||||||
icon: mdi:flash
|
icon: mdi:flash
|
||||||
state: >
|
state: >
|
||||||
{% set phase_a = states('sensor.line_power_channel_a_power') | float %}
|
{% set phase_a = states('sensor.line_power_channel_a_power') | float %}
|
||||||
{% 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