Workaround for media player decluttering cards in 0.110

This commit is contained in:
2020-05-20 22:46:21 +03:00
parent 1fe258ec11
commit 593cdf90ae
3 changed files with 21 additions and 20 deletions
@@ -14,13 +14,8 @@
layout: horizontal
max_columns: 1
cards:
- type: vertical-stack
cards:
- type: entities
entities:
- media_player.bathroom
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.bathroom
- player_name: Bathroom
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.bathroom
- player_name: Bathroom
@@ -81,11 +81,14 @@
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.kitchen
- player_name: Kitchen
# TODO: Remove vertical-stack wrapper. 0.110 hack
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.kitchen
- player_name: Kitchen
- type: horizontal-stack
cards:
@@ -78,11 +78,14 @@
template: default
entity: binary_sensor.house_mode
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.master_bedroom
- player_name: Bedroom
# TODO: Remove vertical-stack wrapper. 0.110 hack
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.master_bedroom
- player_name: Bedroom
- type: vertical-stack