Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:bubble-card
- card_type: button
- button_type: switch
- modules:
- - default
- - get_state_attribute
- - sub_button_coloring
- - main_button_coloring
- - subbutton_below
- entity: light.bathroom_dimmer
- name: Master Bathroom
- icon: m3o:shower
- show_attribute: true
- get_state_attribute:
- - entity: sensor.aqara_temp_humidity_sensor_temperature
- - entity: sensor.aqara_temp_humidity_sensor_humidity
- sub_button:
- - entity: light.master_toilet_bulb_zb
- tap_action:
- action: toggle
- icon: mdi:paper-roll-outline
- light_background: true
- state_background: false
- - entity: switch.bathroom_fan
- icon: mdi:fan
- state_background: false
- tap_action:
- action: toggle
- - entity: switch.master_toilet_fan
- icon: m3rf:fan-indirect
- tap_action:
- action: toggle
- state_background: false
- sub_button_coloring:
- button_1:
- entity: light.master_toilet_bulb_zb
- on_color: "#A699C0"
- on_icon_color: "#4D4356"
- defaults:
- off_color: "#353535"
- off_icon_color: "#DBDBDB"
- button_2:
- entity: switch.bathroom_fan
- on_color: "#8B7781"
- on_icon_color: "#E5C4D3"
- button_3:
- entity: switch.master_toilet_fan
- on_color: "#415671"
- on_icon_color: "#97B4C2"
- main_button_coloring:
- entity: light.bathroom_dimmer
- on_color: "#DEAEA9"
- on_icon_color: "#DEAEA9"
- grid_options:
- columns: 6
- rows: 2
- card_layout: large-sub-buttons-grid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement