- type: custom:mod-card style: layout-card: $: .: | #columns { padding: 0 10px; } #columns .column { padding: 10px 10px; } card: type: custom:layout-card layout: horizontal max_columns: 2 cards: - type: vertical-stack cards: - type: horizontal-stack title: Lights cards: - type: custom:button-card template: default entity: light.master_bedroom_all_lights name: M. Bedroom - type: custom:button-card template: default entity: light.master_bedroom_main_lights name: Main - type: custom:button-card template: default entity: light.bed_led name: LED - type: custom:button-card template: default entity: light.bedside_light name: Bedside - type: vertical-stack title: Controls cards: - type: horizontal-stack cards: - type: custom:button-card template: - default - with_state_indicator entity: input_boolean.alarm_enabled state_display: "[[[return states['input_datetime.alarm_time'].state.split(':').slice(0, -1).join(':'); ]]]" show_state: true show_name: false styles: icon: - transform: translateY(-8px) # adjusted for state indicator size state: - transform: translateY(-13px) # adjusted for state indicator size variables: state_indicator_id: automation.alarm_set_time - type: custom:button-card template: - default - with_state_indicator entity: fan.philips_airpurifier variables: state_indicator_id: binary_sensor.purifier_filter_needs_change state_indicator_size: 5px state_indicator_off_size: 0px state_indicator_on_color: var(--color-red) state_on_indicator_on_color: var(--color-red) - type: custom:button-card template: default entity: binary_sensor.house_mode - type: custom:decluttering-card template: media_with_controls variables: - player: media_player.master_bedroom - type: vertical-stack cards: - type: horizontal-stack title: Sensors cards: - type: custom:button-card template: - small - progress name: Temperature entity: sensor.bedroom_weather_temperature - type: custom:button-card template: - small - progress name: Humidity entity: sensor.bedroom_weather_humidity variables: min_value: 25 max_value: 90 normal_value: 40 high_value: 65 low_color: "var(--color-red)" - type: custom:button-card template: - small - progress name: Air Quality entity: sensor.purifier_air_quality variables: min_value: 1 max_value: 90 normal_value: 10 high_value: 30 - type: horizontal-stack cards: - type: custom:button-card template: default entity: binary_sensor.bedroom_right_window_on_off_wrapper name: M. Bedroom - type: custom:button-card template: - default - with_state_indicator entity: binary_sensor.motion_2_ias_zone name: Hallway variables: state_indicator_id: automation.lighting_hallway_day_mode_motion_turn_lights_on