From 2620a068bb7c82b602dd5ffde26849dbbb21020b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 30 Jan 2025 17:13:46 -0500 Subject: [PATCH] Begin overhauling first floor cards --- main_dashboard.yaml | 1734 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1707 insertions(+), 27 deletions(-) diff --git a/main_dashboard.yaml b/main_dashboard.yaml index a8bf8f1..9791bf5 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -1612,6 +1612,872 @@ views: name: Lux Threshold max_columns: 4 cards: [] + - title: First Floor Sections + path: first-floor-sections + icon: mdi:home-floor-1 + type: sections + sections: + - type: grid + cards: + - type: custom:auto-entities + show_empty: false + card: + type: entities + show_header_toggle: false + state_color: true + title: Lights On + filter: + include: + - group: light.first_floor_lights + - entity_id: light.living_room_christmas_tree + - entity_id: input_boolean.tina_desk_lights + exclude: + - state: 'off' + - state: unavailable + - entity_id: light.tina_desk_lights + sort: + method: friendly_name + visibility: + - condition: state + entity: light.first_floor_lights + state: 'on' + - type: grid + cards: + - type: custom:decluttering-card + template: main_room_header + variables: + - name: Living Room + - icon: hue:room-living + - scene_text: input_text.living_room_selected_scene + - power_entity: sensor.living_room_total_power_sensor + - light_entity: light.living_room_lights + - type: custom:bubble-card + card_type: separator + name: Lights + icon: mdi:lightbulb + card_layout: large + sub_button: + - entity: select.living_room_led_strip_theme + name: LED Strip + show_name: true + icon: hue:lightstrip + - entity: input_select.living_room_scenes + name: Scenes + show_name: true + - type: horizontal-stack + cards: + - type: custom:mushroom-light-card + entity: light.living_room_lights + name: Lights + icon: hue:room-living + fill_container: true + use_light_color: true + 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 + entity: light.christmas_tree + state_not: unavailable + card_layout: large + columns: 2 + - type: custom:bubble-card + card_type: button + 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 + card_type: separator + name: Media + icon: mdi:volume-high + card_layout: large + - type: custom:bubble-card + card_type: media-player + entity: media_player.living_room_tv + name: TV + show_state: true + show_last_changed: false + show_attribute: true + attribute: app_id + force_icon: false + hide: + play_pause_button: false + volume_button: false + power_button: false + card_layout: large + - type: custom:bubble-card + card_type: separator + name: Status + icon: mdi:list-box + card_layout: large + - type: custom:decluttering-card + template: main_temperature_button + variables: + - name: Front Temp + - entity: sensor.living_room_front_temperature + - hot_entity: binary_sensor.living_room_hot + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: button + button_type: state + entity: sensor.living_room_front_illuminance + name: Front Lux + show_attribute: false + card_layout: large + columns: 2 + - type: custom:decluttering-card + template: main_temperature_button + variables: + - name: Back Temp + - entity: sensor.living_room_back_temperature + - hot_entity: binary_sensor.living_room_back_hot + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: button + button_type: state + entity: sensor.living_room_back_illuminance + name: Back Lux + show_attribute: false + card_layout: large + columns: 2 + - type: custom:decluttering-card + template: main_accent_color_button + variables: + - name: Front Motion + - entity: binary_sensor.living_room_front_motion + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_accent_color_button + variables: + - name: Back Motion + - entity: binary_sensor.living_room_back_motion + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_accent_color_button + variables: + - name: Occupied + - entity: binary_sensor.living_room_occupied + grid_options: + columns: 4 + rows: auto + - type: custom:timer-bar-card + filter: true + entities: + - entity: timer.living_room_motion_timer + name: Motion Timer + sync_issues: ignore + tap_action: + action: call-service + service: timer.finish + target: + entity_id: timer.living_room_motion_timer + hold_action: + action: more-info + double_tap_action: + action: none + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + compressed: true + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + card_layout: large + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Door + - entity: binary_sensor.front_door + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Front 1 + - entity: binary_sensor.front_window_1 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Front 2 + - entity: binary_sensor.front_window_2 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Front 3 + - entity: binary_sensor.front_window_3 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Side 1 + - entity: binary_sensor.side_window_1 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Side 2 + - entity: binary_sensor.side_window_2 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Side 3 + - entity: binary_sensor.side_window_3 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Side 4 + - entity: binary_sensor.side_window_4 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Back 1 + - entity: binary_sensor.back_window_1 + grid_options: + columns: 4 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Back 2 + - entity: binary_sensor.back_window_2 + grid_options: + columns: 4 + rows: auto + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_living_room + name: Adaptive Lighting + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_living_room + name: Night Mode + layout: icon|name_state + state: + case: first + - type: custom:paper-buttons-row + buttons: + - entity: input_boolean.living_room_dynamic_scenes + name: Dynamic Scenes + layout: icon|name_state + state_icons: + 'on': mdi:animation + 'off': mdi:animation-outline + state: + case: first + - entity: input_boolean.living_room_entertainment_control + name: Media Scenes + layout: icon|name_state + state_icons: + 'on': mdi:television-ambient-light + 'off': mdi:television-off + state: + case: first + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_adapt_color_living_room + name: Adapt Color + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_adapt_brightness_living_room + name: Adapt Brightness + layout: icon|name_state + state: + case: first + - entity: switch.living_room_motion_lighting + name: Motion Lighting + - entity: input_number.daytime_colortemp_living_room + name: Day Colortemp + - entity: input_number.nighttime_colortemp_living_room + name: Night Colortemp + - entity: input_number.nighttime_brightness_living_room + name: Night Brightness + - entity: input_number.living_room_lights_off_delay + name: Lights Off Delay + secondary_info: Only used at night + - entity: input_number.living_room_lux_threshold + name: Lux Threshold + - entity: binary_sensor.living_room_sync_issue + name: Sync Issue + - entity: script.emma_rainbow_lights + name: Emma Rainbow + - type: grid + cards: + - type: custom:decluttering-card + template: main_room_header + variables: + - name: Downstairs Bathroom + - icon: mdi:toilet + - scene_text: input_text.downstairs_bathroom_selected_scene + - power_entity: sensor.downstairs_bathroom_lights_power_sensor + - light_entity: light.downstairs_bathroom_lights + - type: custom:bubble-card + card_type: separator + name: Lights + icon: mdi:lightbulb + card_layout: large + sub_button: + - entity: input_select.downstairs_bathroom_scenes + name: Scenes + show_name: true + - type: horizontal-stack + cards: + - type: custom:mushroom-light-card + entity: light.downstairs_bathroom_lights + name: Lights + icon: mdi:toilet + fill_container: true + use_light_color: true + 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.downstairs_bathroom_scenes + primary_info: none + layout: vertical + - type: custom:bubble-card + card_type: separator + name: Laundry + icon: mdi:tshirt-crew + card_layout: large + - type: custom:bubble-card + card_type: button + entity: timer.washer_timer + button_type: state + name: Washer + show_attribute: false + card_layout: large + columns: 2 + - type: custom:bubble-card + card_type: button + entity: timer.dryer_timer + button_type: state + name: Dryer + show_attribute: false + card_layout: large + columns: 2 + - type: custom:bubble-card + card_type: separator + name: Status + icon: mdi:list-box + card_layout: large + - type: custom:decluttering-card + template: main_temperature_button + variables: + - name: Temp + - entity: sensor.downstairs_bathroom_temperature + - hot_entity: binary_sensor.downstairs_bathroom_hot + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: button + button_type: state + entity: sensor.downstairs_bathroom_illuminance + name: Lux + card_layout: large + columns: 2 + - type: custom:decluttering-card + template: main_accent_color_button + variables: + - name: Motion + - entity: binary_sensor.downstairs_bathroom_motion + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:decluttering-card + template: main_accent_color_button + variables: + - name: Occupied + - entity: binary_sensor.downstairs_bathroom_occupied + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + card_layout: large + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Back + - entity: binary_sensor.downstairs_bathroom_window_1 + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:decluttering-card + template: main_security_button + variables: + - name: Side + - entity: binary_sensor.downstairs_bathroom_window_2 + - columns: 2 + grid_options: + columns: 6 + rows: auto + - type: custom:timer-bar-card + filter: true + entities: + - entity: timer.downstairs_bathroom_lights_timer + name: Motion Timer + sync_issues: ignore + tap_action: + action: call-service + service: timer.finish + target: + entity_id: timer.downstairs_bathroom_lights_timer + hold_action: + action: more-info + double_tap_action: + action: none + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + compressed: true + - type: horizontal-stack + cards: [] + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_downstairs_bathroom + name: Adaptive Lighting + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_downstairs_bathroom + name: Night Mode + layout: icon|name_state + state: + case: first + - entity: switch.downstairs_bathroom_motion_lighting + name: Motion Lighting + - entity: input_number.nighttime_brightness_downstairs_bathroom + name: Night Brightness + - entity: input_number.downstairs_bathroom_lights_off_delay + name: Lights Off Delay + - entity: input_number.downstairs_bathroom_lux_threshold + name: Lux Threshold + show_header_toggle: false + - type: grid + cards: + - type: custom:stack-in-card + card_mod: + style: | + ha-card { + overflow: visible !important; + } + cards: + - type: custom:mushroom-light-card + entity: light.tina_desk_lights + name: Tina Desk + tap_action: + action: call-service + service: input_boolean.toggle + service_data: + entity_id: input_boolean.tina_desk_lights + double_tap_action: + action: call-service + service: input_select.select_option + service_data: + entity_id: input_select.tina_desk_scenes + option: Reset + hold_action: + action: more-info + icon: mdi:floor-lamp + layout: vertical + use_light_color: true + show_brightness_control: true + show_color_temp_control: true + show_color_control: true + collapsible_controls: true + - type: custom:state-switch + entity: light.tina_desk_lights + states: + 'on': + type: custom:mushroom-template-card + primary: Current Scene + secondary: '{{ states(''input_text.tina_desk_selected_scene'') }}' + tap_action: + action: none + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:mushroom-template-card + entity: sensor.kallen_bedroom_lights_power_sensor + primary: Power Usage + secondary: '{{ states(''sensor.tina_desk_total_power_sensor'') }} W' + tap_action: + action: more-info + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: entities + entities: + - type: custom:paper-buttons-row + buttons: + - entity: light.tina_lamp_top + name: Top + layout: icon|name_state + state: + case: first + state_icons: + 'on': hue:floor-shade + 'off': hue:floor-shade-off + unavailable: mdi:map-marker-question + - entity: light.tina_lamp_side + name: Side + layout: icon|name_state + state: + case: first + state_icons: + 'on': hue:floor-shade + 'off': hue:floor-shade-off + unavailable: mdi:map-marker-question + - entity: light.tina_desk_strip + name: Strip + layout: icon|name_state + state: + case: first + state_icons: + 'on': hue:lightstrip + 'off': hue:lightstrip-off + unavailable: mdi:map-marker-question + icon: mdi:led-strip + - entity: input_select.tina_desk_scenes + name: Tina Desk Scenes + - entity: input_select.tina_lamp_scenes + name: Tina Lamp Scenes + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.tina_desk_occupied + name: Occupied + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_tina_lamp + name: Adaptive Lighting (Lamp) + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_tina_lamp + name: Night Mode (Lamp) + layout: icon|name_state + state: + case: first + - entity: input_number.daytime_colortemp_tina_lamp + name: Day Colortemp + - entity: input_number.nighttime_colortemp_tina_lamp + name: Night Colortemp + - entity: input_number.nighttime_brightness_tina_lamp + name: Night Brightness + - type: grid + cards: + - type: custom:stack-in-card + card_mod: + style: | + ha-card { + overflow: visible !important; + } + cards: + - type: glance + title: Kitchen Card - Placeholder + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.kitchen_big_window + - type: grid + cards: + - type: custom:stack-in-card + card_mod: + style: | + ha-card { + overflow: visible !important; + } + cards: + - type: custom:mushroom-light-card + entity: light.mud_room_overhead + name: Mud Room + double_tap_action: + action: call-service + service: input_select.select_option + service_data: + option: Adaptive + target: + entity_id: input_select.mud_room_scenes + icon: hue:room-other + layout: vertical + show_brightness_control: true + collapsible_controls: true + - type: custom:state-switch + entity: light.mud_room_overhead + states: + 'on': + type: custom:mushroom-template-card + primary: Current Scene + secondary: '{{ states(''input_text.mud_room_selected_scene'') }}' + tap_action: + action: none + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:state-switch + entity: light.mud_room_overhead + states: + 'on': + type: custom:mushroom-template-card + entity: sensor.mud_room_overhead_power_sensor + primary: Power Usage + secondary: '{{ states(''sensor.mud_room_overhead_power_sensor'') }} W' + tap_action: + action: more-info + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:timer-bar-card + filter: true + entities: + - entity: timer.mud_room_motion_timer + sync_issues: ignore + tap_action: + action: none + hold_action: + action: more-info + double_tap_action: + action: none + layout: hide_name + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + extend_paper_buttons_row: + position: right + buttons: + - icon: mdi:check-circle + tap_action: + action: call-service + service: timer.finish + target: + entity_id: timer.mud_room_motion_timer + - type: entities + entities: + - entity: input_select.mud_room_scenes + show_header_toggle: false + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.back_door + - entity: binary_sensor.mud_room_window + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: sensor.mud_room_temperature + name: Temp + - entity: sensor.mud_room_illuminance + name: Lux + - entity: binary_sensor.mud_room_motion + name: Motion + - entity: binary_sensor.mud_room_occupied + name: Occupied + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_mud_room + name: Adaptive Lighting + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_mud_room + name: Night Mode + layout: icon|name_state + state: + case: first + - entity: switch.mud_room_motion_lighting + name: Motion Lighting + - entity: input_number.nighttime_brightness_mud_room + name: Night Brightness + - entity: input_number.mud_room_lights_off_delay + name: Lights Off Delay + - entity: input_number.mud_room_lux_threshold + name: Lux Threshold + max_columns: 4 + cards: [] + visible: + - user: c3909d27048140729f002aaef0391775 - title: Second Floor path: second-floor icon: mdi:home-floor-2 @@ -2803,35 +3669,25 @@ views: name: Environment icon: mdi:thermometer card_layout: large - - type: conditional - conditions: + - type: custom:bubble-card + card_type: climate + sub_button: + - entity: climate.basement_studio_vtherm + select_attribute: hvac_modes + name: HVAC modes menu + state_background: true + - name: Presets menu + select_attribute: preset_modes + state_background: false + show_arrow: true + name: Thermostat + entity: climate.basement_studio_vtherm + card_layout: large + state_color: false + visibility: - condition: state entity: input_boolean.basement_studio_heat_allowed state: 'on' - card: - type: custom:stack-in-card - cards: - - features: - - style: icons - type: climate-hvac-modes - hvac_modes: - - 'off' - - heat - - type: target-temperature - - style: dropdown - type: climate-preset-modes - preset_modes: - - none - - frost - - eco - - comfort - - boost - type: tile - entity: climate.basement_studio_vtherm - vertical: false - show_entity_picture: false - hide_state: false - name: Basement Studio Heater - type: custom:bubble-card card_type: button button_type: state @@ -5537,7 +6393,7 @@ views: conditions: - condition: state entity: binary_sensor.minnesota_vikings_inhibit - state: '' + state: 'off' - condition: state entity: binary_sensor.san_francisco_49ers_inhibit state: 'off' @@ -6495,6 +7351,232 @@ views: icon: mdi:weather-cloudy cards: [] subview: true + - title: Testing + path: testing + icon: mdi:test-tube + type: sections + sections: + - type: grid + cards: + - type: heading + heading: Presence + - type: entities + entities: + - entity: sensor.people_at_home + - entity: binary_sensor.tony_presence + - entity: binary_sensor.tina_presence + - entity: binary_sensor.kallen_presence + - entity: sensor.tony_location + - entity: sensor.tina_location + - entity: sensor.kallen_location + - entity: input_boolean.kallen_at_school + - entity: binary_sensor.tony_home + - entity: binary_sensor.tina_home + - entity: binary_sensor.kallen_home + - entity: binary_sensor.nerds_home + - entity: binary_sensor.parents_home + - entity: binary_sensor.family_home + - entity: group.family + - entity: group.adults + - entity: device_tracker.tony_s_iphone + - entity: device_tracker.tony_s_iphone_app + - entity: device_tracker.tinas_iphone + - entity: device_tracker.tinas_iphone_app + - entity: device_tracker.kallen_iphone + - entity: device_tracker.kallen_iphone_app + - entity: binary_sensor.people_present + - entity: sensor.last_outdoor_presence_trigger + show_header_toggle: false + state_color: true + - type: grid + cards: + - type: heading + heading: Misc + - type: entities + state_color: true + entities: + - entity: input_boolean.tony_awake + - entity: input_boolean.tina_awake + - entity: input_boolean.kallen_awake + - entity: input_boolean.emma_awake + - entity: sensor.services_down + - entity: sensor.room_presence + - entity: sensor.last_alexa_name + - entity: sensor.last_alexa_serial + - entity: sensor.last_alexa_entity_id + - entity: sensor.tony_current_age + - entity: sensor.tina_current_age + - entity: sensor.kallen_current_age + - entity: sensor.emma_current_age + - entity: sensor.birthdays_today + - entity: sensor.total_age_years + - entity: binary_sensor.people_sleeping + - entity: sensor.people_sleeping_total + - entity: sensor.second_floor_plugs_current + - entity: sensor.first_floor_plugs_current + - entity: sensor.basement_plugs_current + show_header_toggle: false + - type: entities + entities: + - entity: sensor.bedrooms_max_temp + visibility: + - condition: numeric_state + entity: sensor.bedrooms_max_temp + above: 50 + - condition: user + users: + - f387a983651a4321a7411ff8cf36f949 + - 879b4c04e32841b3ad1d2763a11b4e70 + - c3909d27048140729f002aaef0391775 + - type: custom:twitch-followed-live-streams-card + global_credentials_user_name: ironnerd24 + global_credentials_access_token: byewyefnhuigdv2t6bu4172tqggpy9 + global_credentials_client_id: 5p6hri1olv96he0umxchi8vuh7el39 + streams_limit_count: 8 + streams_image_show: true + streams_show_viewers: true + streams_show_title: false + streams_vip: + - fuzhpuzy + - manasen + - misami_desu + - kobegriffin23 + - type: grid + cards: + - type: heading + heading: Sports + - type: entities + entities: + - entity: switch.watching_sports + - entity: select.active_sporting_event + - entity: select.sports_room + name: Active Room + - entity: number.team_score + - entity: number.opponent_score + show_header_toggle: false + state_color: true + - type: custom:auto-entities + card: + type: entities + show_header_toggle: false + state_color: true + filter: + include: + - label: sports + domain: binary_sensor + sort: + method: entity_id + reverse: false + numeric: true + ignore_case: false + - type: grid + cards: + - type: heading + heading: Card Templating + - type: custom:card-templater + card: + type: entities + show_header_toggle: false + columns: 2 + title: Card Templater + entities: + - entity: person.tony_stork + name_template: >- + {{ "Stupid" if + is_state('input_boolean.early_night_mode','on') else "Not + Stupid" }} + - type: custom:config-template-card + variables: + BOOL_STATE: states['input_boolean.toggle_testing'].state + LIGHT_STATE: states['light.living_room_lights'].state + entities: + - light.living_room_lights + - input_boolean.toggle_testing + card: + type: entities + title: '${BOOL_STATE === ''on'' ? ''Testing'' : ''Fucked Up''}' + entities: + - entity: light.living_room_lights + name: '${BOOL_STATE === ''on'' ? ''Lights'' : ''Other Lights''}' + - entity: input_boolean.toggle_testing + show_header_toggle: false + state_color: true + - type: grid + cards: + - type: heading + heading: Diagnostics Feed + - type: custom:home-feed-card + card_id: diag_feed + show_empty: false + id_filter: ^diag_feed_.* + more_info_on_tap: true + state_color: true + entities: + - entity: automation.family_has_arrived + - entity: automation.family_has_left + - entity: automation.presence_disconnect_protection + - entity: automation.icloud3_restart + - entity: automation.basement_led_strip_reset + - entity: binary_sensor.lightning_warning + - entity: binary_sensor.raining + name: Raining + - entity: sensor.total_rain_sensors + - type: grid + cards: + - type: heading + heading: Alarm Clock Testing + - type: entities + entities: + - entity: input_boolean.master_bedroom_alarm_clock + - entity: input_datetime.master_bedroom_alarm_clock + - entity: input_boolean.kallen_alarm_clock + - entity: input_datetime.kallen_alarm_clock + - entity: input_boolean.emma_alarm_clock + - entity: input_datetime.emma_alarm_clock + show_header_toggle: false + state_color: true + - type: grid + cards: + - type: heading + heading: Testing Entities + - type: entities + entities: + - entity: input_datetime.time_testing + - entity: input_datetime.date_testing + - entity: input_datetime.datetime_testing + - entity: input_text.text_testing + - entity: input_text.password_testing + - entity: input_select.select_testing + - entity: input_boolean.toggle_testing + - entity: input_number.number_box_test + - entity: input_number.number_slider_test + - entity: switch.power_tester + - entity: sensor.power_tester_power + - entity: sensor.power_tester_current + - entity: sensor.power_tester_voltage + show_header_toggle: false + state_color: true + - type: grid + cards: + - type: heading + heading: Time of Day Sensors + - type: entities + entities: + - entity: binary_sensor.day + - entity: binary_sensor.after_midnight + - entity: binary_sensor.early_morning + - entity: binary_sensor.morning + - entity: binary_sensor.late_morning + - entity: binary_sensor.midday + - entity: binary_sensor.evening + - entity: binary_sensor.night + - entity: binary_sensor.overnight + - entity: binary_sensor.quiet_time + show_header_toggle: false + state_color: true + max_columns: 4 + cards: [] + background: {} - title: weather-test path: weather-test icon: mdi:weather-cloudy-alert @@ -7637,3 +8719,601 @@ views: - condition: user users: - c3909d27048140729f002aaef0391775 + - type: grid + cards: + - type: custom:stack-in-card + card_mod: + style: | + ha-card { + overflow: visible !important; + } + cards: + - type: custom:mushroom-light-card + icon: hue:room-living + name: Living Room + double_tap_action: + action: call-service + service: input_select.select_option + service_data: + option: Adaptive + target: + entity_id: input_select.living_room_scenes + hold_action: + action: more-info + entity: light.living_room_lights + use_light_color: true + show_brightness_control: true + show_color_temp_control: true + show_color_control: true + collapsible_controls: true + fill_container: false + layout: vertical + - type: custom:state-switch + entity: light.living_room_lights + states: + 'on': + type: custom:mushroom-template-card + primary: Current Scene + secondary: '{{ states(''input_text.living_room_selected_scene'') }}' + tap_action: + action: none + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:mushroom-template-card + entity: sensor.living_room_total_power_sensor + primary: Power Usage + secondary: '{{ states(''sensor.living_room_total_power_sensor'') }} W' + tap_action: + action: more-info + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:timer-bar-card + filter: true + entities: + - entity: timer.living_room_motion_timer + sync_issues: ignore + tap_action: + action: none + hold_action: + action: more-info + double_tap_action: + action: none + layout: hide_name + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + extend_paper_buttons_row: + position: right + buttons: + - icon: mdi:check-circle + tap_action: + action: call-service + service: timer.finish + target: + entity_id: timer.living_room_motion_timer + - type: entities + entities: + - type: custom:paper-buttons-row + buttons: + - entity: light.living_room_overhead + name: Overhead + layout: icon|name_state + state: + case: first + state_icons: + 'on': hue:ceiling-devere + 'off': hue:ceiling-devere-off + unavailable: mdi:map-marker-question + - entity: light.living_room_led_strip + name: LED Strip + layout: icon|name_state + state: + case: first + state_icons: + 'on': hue:lightstrip + 'off': hue:lightstrip-off + unavailable: mdi:map-marker-question + - type: custom:paper-buttons-row + buttons: + - entity: light.christmas_tree + name: Tree + layout: icon|name_state + state: + case: first + state_icons: + 'on': mdi:pine-tree-variant + 'off': mdi:pine-tree-variant-outline + unavailable: mdi:map-marker-question + - entity: light.christmas_lights_front_window + name: Window + layout: icon|name_state + state: + case: first + state_icons: + 'on': mdi:string-lights + 'off': mdi:string-lights-off + unavailable: mdi:map-marker-question + - type: entities + entities: + - entity: input_select.living_room_scenes + - entity: select.living_room_led_strip_theme + name: LED Strip Theme + show_header_toggle: false + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.front_door + - entity: binary_sensor.front_window_1 + name: FW1 + - entity: binary_sensor.front_window_2 + name: FW2 + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: sensor.living_room_front_temperature + name: Temp + - entity: sensor.living_room_front_illuminance + name: Light + - entity: binary_sensor.living_room_front_motion + name: Motion + - entity: binary_sensor.living_room_occupied + name: Occupied + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_living_room + name: Adaptive Lighting + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_sleep_mode_living_room + name: Night Mode + layout: icon|name_state + state: + case: first + - type: custom:paper-buttons-row + buttons: + - entity: input_boolean.living_room_dynamic_scenes + name: Dynamic Scenes + layout: icon|name_state + state_icons: + 'on': mdi:animation + 'off': mdi:animation-outline + state: + case: first + - entity: input_boolean.living_room_entertainment_control + name: Media Scenes + layout: icon|name_state + state_icons: + 'on': mdi:television-ambient-light + 'off': mdi:television-off + state: + case: first + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_adapt_color_living_room + name: Adapt Color + layout: icon|name_state + state: + case: first + - entity: switch.adaptive_lighting_adapt_brightness_living_room + name: Adapt Brightness + layout: icon|name_state + state: + case: first + - entity: switch.living_room_motion_lighting + name: Motion Lighting + - entity: input_number.daytime_colortemp_living_room + name: Day Colortemp + - entity: input_number.nighttime_colortemp_living_room + name: Night Colortemp + - entity: input_number.nighttime_brightness_living_room + name: Night Brightness + - entity: input_number.living_room_lights_off_delay + name: Lights Off Delay + secondary_info: Only used at night + - entity: input_number.living_room_lux_threshold + name: Lux Threshold + - entity: binary_sensor.living_room_sync_issue + name: Sync Issue + - entity: script.emma_rainbow_lights + name: Emma Rainbow + - type: grid + cards: + - type: custom:stack-in-card + card_mod: + style: | + ha-card { + overflow: visible !important; + } + cards: + - type: custom:mushroom-light-card + entity: light.downstairs_bathroom_lights + double_tap_action: + action: call-service + service: input_select.select_option + service_data: + option: Adaptive + target: + entity_id: input_select.downstairs_bathroom_scenes + name: Downstairs Bathroom + icon: mdi:toilet + layout: vertical + show_brightness_control: true + collapsible_controls: true + - type: custom:state-switch + entity: light.downstairs_bathroom_lights + states: + 'on': + type: custom:mushroom-template-card + primary: Current Scene + secondary: >- + {{ states('input_text.downstairs_bathroom_selected_scene') + }} + tap_action: + action: none + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:state-switch + entity: light.downstairs_bathroom_lights + states: + 'on': + type: custom:mushroom-template-card + entity: sensor.downstairs_bathroom_lights_power_sensor + primary: Power Usage + secondary: >- + {{ + states('sensor.downstairs_bathroom_lights_power_sensor') + }} W + tap_action: + action: more-info + hold_action: + action: none + double_tap_action: + action: none + layout: vertical + - type: custom:timer-bar-card + filter: true + entities: + - entity: timer.downstairs_bathroom_lights_timer + sync_issues: ignore + tap_action: + action: none + hold_action: + action: more-info + double_tap_action: + action: none + layout: hide_name + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + extend_paper_buttons_row: + position: right + buttons: + - icon: mdi:check-circle + tap_action: + action: call-service + service: timer.finish + target: + entity_id: timer.downstairs_bathroom_lights_timer + - type: entities + entities: + - type: custom:paper-buttons-row + base_config: + state_styles: + idle: + button: + background-color: var(--table-row-alternative-background-color) + name: + color: white + icon: + color: white + state: + color: white + ripple: + color: purple + active: + button: + background-color: var(--primary-color) + name: + color: white + icon: + color: white + state: + color: white + ripple: + color: purple + buttons: + - entity: timer.washer_timer + name: Washer + layout: icon|name_state + state: + case: first + state_text: + idle: 'Off' + active: Active + state_icons: + idle: mdi:washing-machine-off + active: mdi:washing-machine + unavailable: mdi:map-marker-question + tap_action: + action: fire-dom-event + browser_mod: + service: browser_mod.popup + data: + content: + type: custom:stack-in-card + cards: + - type: entities + title: Washer Controls + entities: + - entity: input_number.washer_cycle_length + name: Cycle Length + - entity: input_datetime.washer_finished + name: Finished At + - entity: input_boolean.washer_finished + name: Cycle Finished + secondary_info: Turn off after collecting laundry + - type: custom:timer-bar-card + filter: true + show_empty: The washer is not currently running + entities: + - entity: timer.washer_timer + sync_issues: ignore + tap_action: + action: none + hold_action: + action: more-info + double_tap_action: + action: none + layout: hide_name + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + - type: custom:stack-in-card + mode: horizontal + cards: + - type: custom:button-card + entity: timer.washer_timer + name: [] + show_label: true + aspect_ratio: 2.7/1 + styles: + card: + - '--mdc-ripple-color': purple + - '--mdc-ripple-press-opacity': 0.5 + state: + - value: active + label: Running + icon: mdi:play + styles: + icon: + - color: green + - value: paused + label: Paused + icon: mdi:pause + styles: + icon: + - color: yellow + - value: idle + label: Start + icon: mdi:play + tap_action: + action: call-service + service: button.press + service_data: + entity_id: button.washer_start + hold_action: + action: more-info + entity: timer.washer_timer + - type: custom:button-card + entity: timer.washer_timer + name: [] + icon: mdi:cancel + label: Cancel + show_label: true + aspect_ratio: 2.7/1 + styles: + card: + - '--mdc-ripple-color': purple + - '--mdc-ripple-press-opacity': 0.5 + state: + - value: active + styles: + icon: + - color: green + - value: paused + styles: + icon: + - color: yellow + - value: idle + tap_action: + action: call-service + service: button.press + service_data: + entity_id: button.washer_cancel + hold_action: + action: more-info + entity: timer.washer_timer + - entity: timer.dryer_timer + name: Dryer + layout: icon|name_state + state: + case: first + state_text: + idle: 'Off' + active: Active + state_icons: + idle: mdi:tumble-dryer-off + active: mdi:tumble-dryer + unavailable: mdi:map-marker-question + tap_action: + action: fire-dom-event + browser_mod: + service: browser_mod.popup + data: + content: + type: custom:stack-in-card + cards: + - type: entities + title: Dryer Controls + entities: + - entity: input_number.dryer_cycle_length + name: Cycle Length + - entity: input_datetime.dryer_finished + name: Finished At + - entity: input_boolean.dryer_finished + name: Cycle Finished + secondary_info: Turn off after collecting laundry + - type: custom:timer-bar-card + filter: true + show_empty: The dryer is not currently running + entities: + - entity: timer.dryer_timer + sync_issues: ignore + tap_action: + action: none + hold_action: + action: more-info + double_tap_action: + action: none + layout: hide_name + modifications: + - elapsed: 40% + bar_foreground: orange + - elapsed: 80% + bar_foreground: red + - type: custom:stack-in-card + mode: horizontal + cards: + - type: custom:button-card + entity: timer.dryer_timer + name: [] + show_label: true + aspect_ratio: 2.7/1 + styles: + card: + - '--mdc-ripple-color': purple + - '--mdc-ripple-press-opacity': 0.5 + state: + - value: active + label: Running + icon: mdi:play + styles: + icon: + - color: green + - value: paused + label: Paused + icon: mdi:pause + styles: + icon: + - color: yellow + - value: idle + label: Start + icon: mdi:play + tap_action: + action: call-service + service: button.press + service_data: + entity_id: button.dryer_start + hold_action: + action: more-info + entity: timer.dryer_timer + - type: custom:button-card + entity: timer.dryer_timer + name: [] + icon: mdi:cancel + label: Cancel + show_label: true + aspect_ratio: 2.7/1 + styles: + card: + - '--mdc-ripple-color': purple + - '--mdc-ripple-press-opacity': 0.5 + state: + - value: active + styles: + icon: + - color: green + - value: paused + styles: + icon: + - color: yellow + - value: idle + tap_action: + action: call-service + service: button.press + service_data: + entity_id: button.dryer_cancel + hold_action: + action: more-info + entity: timer.dryer_timer + - type: entities + entities: + - entity: input_select.downstairs_bathroom_scenes + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: sensor.downstairs_bathroom_temperature + name: Temp + - entity: sensor.downstairs_bathroom_illuminance + name: Light + - entity: binary_sensor.downstairs_bathroom_motion + name: Motion + - entity: binary_sensor.downstairs_bathroom_occupied + name: Occupied + - type: custom:fold-entity-row + head: + type: section + label: More Settings + entities: + - type: custom:paper-buttons-row + buttons: + - entity: switch.adaptive_lighting_downstairs_bathroom + name: Adaptive Lighting + layout: icon|name_state + state: + case: first + - entity: >- + switch.adaptive_lighting_sleep_mode_downstairs_bathroom + name: Night Mode + layout: icon|name_state + state: + case: first + - entity: switch.downstairs_bathroom_motion_lighting + name: Motion Lighting + - entity: input_number.nighttime_brightness_downstairs_bathroom + name: Night Brightness + - entity: input_number.downstairs_bathroom_lights_off_delay + name: Lights Off Delay + - entity: input_number.downstairs_bathroom_lux_threshold + name: Lux Threshold + show_header_toggle: false