New idea for lights cards for each room
This commit is contained in:
@ -1628,131 +1628,52 @@ views:
|
|||||||
- power_entity: sensor.living_room_total_power_sensor
|
- power_entity: sensor.living_room_total_power_sensor
|
||||||
- light_entity: light.living_room_lights
|
- light_entity: light.living_room_lights
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: button
|
||||||
name: Lights
|
button_type: slider
|
||||||
icon: mdi:lightbulb
|
modules:
|
||||||
card_layout: large
|
- default
|
||||||
|
- subbutton_below
|
||||||
|
entity: light.living_room_lights
|
||||||
|
rows: '2'
|
||||||
|
icon: hue:room-living
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
double_tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: input_select.select_option
|
||||||
|
target:
|
||||||
|
entity_id: input_select.living_room_scenes
|
||||||
|
data:
|
||||||
|
option: Adaptive
|
||||||
|
hold_action:
|
||||||
|
action: more-info
|
||||||
sub_button:
|
sub_button:
|
||||||
- entity: select.living_room_led_strip_theme
|
- entity: light.living_room_overhead
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
hold_action:
|
||||||
|
action: more-info
|
||||||
|
show_name: true
|
||||||
|
name: Overhead
|
||||||
|
- entity: light.living_room_led_strip
|
||||||
name: LED Strip
|
name: LED Strip
|
||||||
show_name: true
|
|
||||||
icon: hue:lightstrip
|
icon: hue:lightstrip
|
||||||
- entity: input_select.living_room_scenes
|
|
||||||
name: Scenes
|
|
||||||
show_name: true
|
show_name: true
|
||||||
- type: horizontal-stack
|
tap_action:
|
||||||
cards:
|
action: toggle
|
||||||
- type: custom:mushroom-light-card
|
hold_action:
|
||||||
entity: light.living_room_lights
|
action: more-info
|
||||||
name: Lights
|
- entity: select.living_room_led_strip_theme
|
||||||
icon: hue:room-living
|
name: LED Strip Scene
|
||||||
fill_container: true
|
icon: hue:lightstrip
|
||||||
use_light_color: true
|
visibility:
|
||||||
show_brightness_control: true
|
|
||||||
show_color_temp_control: true
|
|
||||||
show_color_control: true
|
|
||||||
collapsible_controls: true
|
|
||||||
double_tap_action:
|
|
||||||
action: call-service
|
|
||||||
service: input_select.select_option
|
|
||||||
service_data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
primary_info: none
|
|
||||||
layout: vertical
|
|
||||||
- type: custom:bubble-card
|
|
||||||
card_type: button
|
|
||||||
button_type: slider
|
|
||||||
entity: light.living_room_overhead
|
|
||||||
name: Overhead
|
|
||||||
show_state: true
|
|
||||||
show_attribute: true
|
|
||||||
attribute: brightness
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: more-info
|
|
||||||
card_layout: large
|
|
||||||
columns: 2
|
|
||||||
icon: ''
|
|
||||||
- type: custom:bubble-card
|
|
||||||
card_type: button
|
|
||||||
button_type: slider
|
|
||||||
entity: light.living_room_led_strip
|
|
||||||
name: LED Strip
|
|
||||||
show_state: true
|
|
||||||
show_attribute: true
|
|
||||||
attribute: brightness
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: more-info
|
|
||||||
icon: hue:lightstrip
|
|
||||||
columns: 2
|
|
||||||
card_layout: large
|
|
||||||
- type: custom:bubble-card
|
|
||||||
card_type: button
|
|
||||||
button_type: switch
|
|
||||||
entity: light.christmas_tree
|
|
||||||
name: Tree
|
|
||||||
show_state: true
|
|
||||||
show_attribute: false
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: more-info
|
|
||||||
icon: mdi:pine-tree
|
|
||||||
button_action:
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: more-info
|
|
||||||
visibility:
|
|
||||||
- condition: or
|
|
||||||
conditions:
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: light.christmas_tree
|
entity: light.living_room_led_strip
|
||||||
state_not: unavailable
|
state: 'on'
|
||||||
card_layout: large
|
- entity: input_select.living_room_scenes
|
||||||
columns: 2
|
name: Scene
|
||||||
- type: custom:bubble-card
|
icon: mdi:palette
|
||||||
card_type: button
|
name: Lights
|
||||||
button_type: switch
|
|
||||||
entity: light.christmas_lights_front_window
|
|
||||||
name: Window
|
|
||||||
show_state: true
|
|
||||||
show_attribute: false
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: more-info
|
|
||||||
icon: mdi:string-lights
|
|
||||||
button_action:
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: more-info
|
|
||||||
visibility:
|
|
||||||
- condition: or
|
|
||||||
conditions:
|
|
||||||
- condition: state
|
|
||||||
entity: light.christmas_lights_front_window
|
|
||||||
state_not: unavailable
|
|
||||||
card_layout: large
|
|
||||||
columns: 2
|
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Media
|
name: Media
|
||||||
|
Reference in New Issue
Block a user