Implement Tradfri devices
This commit is contained in:
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,64 +1,64 @@
|
||||
title: Wohnzimmer
|
||||
path: livingroom
|
||||
panel: true
|
||||
cards:
|
||||
# Lights
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: picture-glance
|
||||
title: Harmony
|
||||
entities:
|
||||
- entity: switch.harmony_firetv
|
||||
icon: mdi:television
|
||||
- entity: switch.harmony_music_bt
|
||||
icon: mdi:bluetooth-audio
|
||||
- entity: switch.harmony_steamlink
|
||||
icon: mdi:steam
|
||||
- entity: switch.harmony_playstation
|
||||
icon: mdi:playstation
|
||||
state_image:
|
||||
"PowerOff": /local/images/power.jpg
|
||||
"Fire TV sehen": /local/images/firetv.jpg
|
||||
"Musik Bluetooth": /local/images/music.jpg
|
||||
"SteamLink": /local/images/steamlink.jpg
|
||||
"PlayStation": /local/images/playstation.jpg
|
||||
entity: sensor.harmony_activity
|
||||
- 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
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.harmony_activity
|
||||
state: "Musik Bluetooth"
|
||||
card:
|
||||
type: media-control
|
||||
entity: media_player.spotify
|
||||
# Denon + Harmony
|
||||
- type: vertical-stack
|
||||
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
|
||||
title: Harmony
|
||||
entities:
|
||||
- entity: switch.harmony_firetv
|
||||
icon: mdi:television
|
||||
- entity: switch.harmony_music_bt
|
||||
icon: mdi:bluetooth-audio
|
||||
- entity: switch.harmony_steamlink
|
||||
icon: mdi:steam
|
||||
- entity: switch.harmony_playstation
|
||||
icon: mdi:playstation
|
||||
state_image:
|
||||
"PowerOff": /local/images/power.jpg
|
||||
"Fire TV sehen": /local/images/firetv.jpg
|
||||
"Musik Bluetooth": /local/images/music.jpg
|
||||
"SteamLink": /local/images/steamlink.jpg
|
||||
"PlayStation": /local/images/playstation.jpg
|
||||
entity: sensor.harmony_activity
|
||||
|
||||
- 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
|
||||
# Spotify
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.harmony_activity
|
||||
state: "Musik Bluetooth"
|
||||
card:
|
||||
type: media-control
|
||||
entity: media_player.spotify
|
||||
@@ -23,6 +23,6 @@ cards:
|
||||
entities:
|
||||
- zone.home
|
||||
- type: glance
|
||||
title: Geräte
|
||||
title: Anwesenheit
|
||||
entities:
|
||||
- device_tracker.mobile_fb
|
||||
@@ -2,7 +2,4 @@ icon: mdi:spotify
|
||||
path: spotify
|
||||
cards:
|
||||
- type: media-control
|
||||
entity: media_player.spotify
|
||||
- type: glance
|
||||
entities:
|
||||
- light.ambilight
|
||||
entity: media_player.spotify
|
||||
Reference in New Issue
Block a user