Implement Tradfri devices
This commit is contained in:
parent
97b1bf2ad1
commit
e732c632cf
12
alexa.yaml
12
alexa.yaml
@ -6,11 +6,14 @@
|
|||||||
filter:
|
filter:
|
||||||
include_entities:
|
include_entities:
|
||||||
- light.ambilight
|
- light.ambilight
|
||||||
|
- light.kuchen_theke
|
||||||
|
- switch.livingroom_stimmungslicht
|
||||||
- switch.livingroom_music
|
- switch.livingroom_music
|
||||||
- switch.livingroom_netflix
|
- switch.livingroom_netflix
|
||||||
- switch.harmony_firetv
|
- switch.harmony_firetv
|
||||||
- switch.harmony_steamlink
|
- switch.harmony_steamlink
|
||||||
- switch.harmony_playstation
|
- switch.harmony_playstation
|
||||||
|
- switch.harmony_denon_power
|
||||||
# include_domains:
|
# include_domains:
|
||||||
# - switch
|
# - switch
|
||||||
# exclude_entities:
|
# exclude_entities:
|
||||||
@ -18,9 +21,17 @@
|
|||||||
entity_config:
|
entity_config:
|
||||||
# switch.stairs:
|
# switch.stairs:
|
||||||
# display_categories: LIGHT
|
# display_categories: LIGHT
|
||||||
|
|
||||||
|
# ACHTUNG: WHITELIST EBENFALLS ERGÄNZEN!
|
||||||
light.ambilight:
|
light.ambilight:
|
||||||
name: Ambilight
|
name: Ambilight
|
||||||
description: Wohnzimmer - TV Ambilight
|
description: Wohnzimmer - TV Ambilight
|
||||||
|
light.kuchen_theke:
|
||||||
|
name: Theke
|
||||||
|
description: Küche - Theken-Lichter
|
||||||
|
light.stimmungslicht:
|
||||||
|
name: Stimmungslicht
|
||||||
|
description: Wohnzimmer - Stimmungslicht
|
||||||
switch.livingroom_music:
|
switch.livingroom_music:
|
||||||
name: Musik
|
name: Musik
|
||||||
description: Wohnzimmer - Musik
|
description: Wohnzimmer - Musik
|
||||||
@ -39,3 +50,4 @@
|
|||||||
switch.harmony_denon_power:
|
switch.harmony_denon_power:
|
||||||
name: Receiver
|
name: Receiver
|
||||||
description: Harmony - Denon AVR
|
description: Harmony - Denon AVR
|
||||||
|
# ACHTUNG: WHITELIST EBENFALLS ERGÄNZEN!
|
@ -126,6 +126,9 @@ light:
|
|||||||
- platform: hyperion
|
- platform: hyperion
|
||||||
name: Ambilight
|
name: Ambilight
|
||||||
host: !secret ambilight_ip
|
host: !secret ambilight_ip
|
||||||
|
- platform: switch
|
||||||
|
name: Stimmungslicht
|
||||||
|
entity_id: switch.livingroom_stimmungslicht
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: workday
|
- platform: workday
|
||||||
|
7
lovelace-views/kitchen.yaml
Normal file
7
lovelace-views/kitchen.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
title: Küche
|
||||||
|
path: kitchen
|
||||||
|
cards:
|
||||||
|
# Lights
|
||||||
|
- type: light
|
||||||
|
entity: light.kuchen_theke
|
||||||
|
name: Küchen-Theke
|
@ -1,11 +1,40 @@
|
|||||||
title: Wohnzimmer
|
title: Wohnzimmer
|
||||||
path: livingroom
|
path: livingroom
|
||||||
panel: true
|
|
||||||
cards:
|
cards:
|
||||||
|
# Lights
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
|
- type: light
|
||||||
|
entity: light.kuchen_theke
|
||||||
|
name: Küchen-Theke
|
||||||
|
- type: light
|
||||||
|
entity: light.stimmungslicht
|
||||||
|
name: Stimmungslicht
|
||||||
|
icon: mdi:lightbulb
|
||||||
|
- type: light
|
||||||
|
entity: light.ambilight
|
||||||
|
name: Ambilight
|
||||||
|
|
||||||
|
# Denon + Harmony
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
|
# Denon
|
||||||
|
- type: picture-glance
|
||||||
|
title: Denon AVR
|
||||||
|
entities:
|
||||||
|
- entity: switch.harmony_volume_up
|
||||||
|
icon: mdi:volume-plus
|
||||||
|
- entity: switch.harmony_volume_down
|
||||||
|
icon: mdi:volume-minus
|
||||||
|
- entity: switch.harmony_denon_mute
|
||||||
|
icon: mdi:volume-off
|
||||||
|
- entity: switch.harmony_denon_power
|
||||||
|
icon: mdi:power
|
||||||
|
image: /local/images/denon.jpg
|
||||||
|
state_image:
|
||||||
|
"PowerOff": /local/images/denon-bw.jpg
|
||||||
|
entity: sensor.harmony_activity
|
||||||
|
# Harmony
|
||||||
- type: picture-glance
|
- type: picture-glance
|
||||||
title: Harmony
|
title: Harmony
|
||||||
entities:
|
entities:
|
||||||
@ -25,6 +54,7 @@ cards:
|
|||||||
"PlayStation": /local/images/playstation.jpg
|
"PlayStation": /local/images/playstation.jpg
|
||||||
entity: sensor.harmony_activity
|
entity: sensor.harmony_activity
|
||||||
|
|
||||||
|
# Spotify
|
||||||
- type: conditional
|
- type: conditional
|
||||||
conditions:
|
conditions:
|
||||||
- entity: sensor.harmony_activity
|
- entity: sensor.harmony_activity
|
||||||
@ -32,33 +62,3 @@ cards:
|
|||||||
card:
|
card:
|
||||||
type: media-control
|
type: media-control
|
||||||
entity: media_player.spotify
|
entity: media_player.spotify
|
||||||
|
|
||||||
- type: vertical-stack
|
|
||||||
cards:
|
|
||||||
- type: picture-glance
|
|
||||||
title: Denon AVR
|
|
||||||
entities:
|
|
||||||
- entity: switch.harmony_denon_mute
|
|
||||||
icon: mdi:volume-off
|
|
||||||
- entity: switch.harmony_denon_power
|
|
||||||
icon: mdi:power
|
|
||||||
image: /local/images/denon.jpg
|
|
||||||
state_image:
|
|
||||||
"PowerOff": /local/images/denon-bw.jpg
|
|
||||||
entity: sensor.harmony_activity
|
|
||||||
|
|
||||||
- type: conditional
|
|
||||||
conditions:
|
|
||||||
- entity: sensor.harmony_activity
|
|
||||||
state_not: "PowerOff"
|
|
||||||
card:
|
|
||||||
type: horizontal-stack
|
|
||||||
cards:
|
|
||||||
- type: entity-button
|
|
||||||
entity: switch.harmony_volume_down
|
|
||||||
name: Leiser
|
|
||||||
icon: mdi:volume-minus
|
|
||||||
- type: entity-button
|
|
||||||
entity: switch.harmony_volume_up
|
|
||||||
name: Lauter
|
|
||||||
icon: mdi:volume-plus
|
|
@ -23,6 +23,6 @@ cards:
|
|||||||
entities:
|
entities:
|
||||||
- zone.home
|
- zone.home
|
||||||
- type: glance
|
- type: glance
|
||||||
title: Geräte
|
title: Anwesenheit
|
||||||
entities:
|
entities:
|
||||||
- device_tracker.mobile_fb
|
- device_tracker.mobile_fb
|
@ -3,6 +3,3 @@ path: spotify
|
|||||||
cards:
|
cards:
|
||||||
- type: media-control
|
- type: media-control
|
||||||
entity: media_player.spotify
|
entity: media_player.spotify
|
||||||
- type: glance
|
|
||||||
entities:
|
|
||||||
- light.ambilight
|
|
@ -53,6 +53,7 @@
|
|||||||
activity: 'PowerOff'
|
activity: 'PowerOff'
|
||||||
|
|
||||||
harmony_denon_mute:
|
harmony_denon_mute:
|
||||||
|
friendly_name: Denon Stumm
|
||||||
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
|
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
|
||||||
turn_on:
|
turn_on:
|
||||||
service: remote.send_command
|
service: remote.send_command
|
||||||
@ -72,6 +73,7 @@
|
|||||||
delay_secs: 0.6
|
delay_secs: 0.6
|
||||||
|
|
||||||
harmony_denon_power:
|
harmony_denon_power:
|
||||||
|
friendly_name: Denon Power
|
||||||
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
|
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
|
||||||
turn_on:
|
turn_on:
|
||||||
service: remote.send_command
|
service: remote.send_command
|
||||||
@ -111,6 +113,7 @@
|
|||||||
delay_secs: 0.6
|
delay_secs: 0.6
|
||||||
|
|
||||||
harmony_volume_up:
|
harmony_volume_up:
|
||||||
|
friendly_name: Denon Lauter
|
||||||
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
|
value_template: "{{ state_attr('remote.livingroom_harmony', 'current_activity') != 'PowerOff' }}"
|
||||||
turn_on:
|
turn_on:
|
||||||
service: remote.send_command
|
service: remote.send_command
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
title: Making Home Great Again
|
title: Making Home Great Again
|
||||||
views:
|
views:
|
||||||
- !include lovelace-views/overview.yaml
|
- !include lovelace-views/overview.yaml
|
||||||
|
- !include lovelace-views/kitchen.yaml
|
||||||
- !include lovelace-views/livingroom.yaml
|
- !include lovelace-views/livingroom.yaml
|
||||||
- !include lovelace-views/humidity.yaml
|
- !include lovelace-views/humidity.yaml
|
||||||
- !include lovelace-views/spotify.yaml
|
- !include lovelace-views/spotify.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user