diff --git a/lovelace/config.json b/lovelace/config.json new file mode 100644 index 0000000..230b64d --- /dev/null +++ b/lovelace/config.json @@ -0,0 +1,5764 @@ +{ + "title": "Yosemite", + "views": [ + { + "theme": "Backend-selected", + "title": "main", + "path": "main", + "icon": "mdi:folder-home", + "subview": false, + "layout": { + "width": 300, + "max_cols": 10 + }, + "cards": [ + { + "display_order": "none", + "type": "todo-list", + "visibility": [ + { + "condition": "state", + "entity": "todo.firefly", + "state_not": "0" + }, + { + "condition": "user", + "users": [ + "02db331d9f884aacaa93e8cd5906feff" + ] + } + ], + "title": "Add to firefly", + "entity": "todo.firefly", + "hide_create": true, + "hide_completed": true + }, + { + "type": "entities", + "entities": [ + { + "type": "custom:paper-buttons-row", + "preset": "mushroom", + "base_config": { + "preset": "mushroom" + }, + "buttons": [ + { + "entity": "script.1594924637072", + "preset": "mushroom" + } + ] + } + ], + "show_header_toggle": false, + "visibility": [ + { + "condition": "state", + "entity": "binary_sensor.show_nighty_night", + "state": "on" + }, + { + "condition": "state", + "entity": "input_boolean.nighty_night_set_delayed", + "state": "off" + } + ] + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "binary_sensor.tv_cover", + "state": "on" + }, + { + "condition": "state", + "entity": "media_player.android_tv_living_room_shield_3ddbrew_com", + "state_not": "playing" + } + ], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "media-control", + "entity": "media_player.patio_shield" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:mushroom-light-card", + "entity": "light.patio_lights", + "primary_info": "last-changed", + "use_light_color": true, + "show_brightness_control": true, + "show_color_temp_control": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.led_strip", + "icon": "mdi:led-strip-variant", + "primary_info": "last-changed", + "use_light_color": true, + "show_brightness_control": true, + "show_color_temp_control": true, + "show_color_control": true, + "collapsible_controls": true + } + ] + } + ] + }, + { + "type": "horizontal-stack", + "cards": [ + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "switch.patio_tv" + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "switch.patio_speaker_bar" + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "switch.patio_shield", + "icon": "mdi:youtube-tv" + } + ] + } + ] + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "input_boolean.vacation_mode", + "state": "on" + } + ], + "card": { + "entities": [ + { + "entity": "input_boolean.vacation_mode" + }, + { + "entity": "button.vacation_mode" + } + ], + "type": "entities", + "title": "Vacation", + "footer": { + "type": "buttons", + "entities": [ + { + "entity": "button.vacation_mode" + } + ] + } + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "input_boolean.party_mode", + "state": "on" + } + ], + "card": { + "type": "entities", + "entities": [ + { + "entity": "button.party_mode" + } + ], + "title": "Party Mode" + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "input_boolean.guest_mode", + "state": "on" + } + ], + "card": { + "type": "entities", + "entities": [ + { + "entity": "input_button.guest_mode" + } + ], + "title": "Guest Mode" + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "input_boolean.nighty_night_set", + "state": "on" + }, + { + "condition": "state", + "entity": "sensor.brian_personal_phone_wifi_connection", + "state": "SYNCING. . ." + } + ], + "card": { + "type": "entities", + "entities": [ + { + "entity": "script.google_home_retire", + "name": "Retire", + "secondary_info": "last-triggered", + "icon": "mdi:sleep" + }, + { + "entity": "script.1594590169013", + "secondary_info": "last-triggered", + "name": "Good morning" + }, + { + "entity": "fan.bedroom_fan" + }, + { + "entity": "light.bed_lights_2" + } + ], + "show_header_toggle": false + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "binary_sensor.evening_buttons", + "state": "on" + }, + { + "condition": "state", + "entity": "input_boolean.nighty_night_set", + "state": "off" + } + ], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:tabbed-card", + "options": {}, + "tabs": [ + { + "card": { + "type": "custom:mushroom-light-card", + "entity": "light.living_room_fan_lights", + "fill_container": false, + "use_light_color": true, + "show_color_temp_control": true, + "show_color_control": true, + "show_brightness_control": true, + "collapsible_controls": true + }, + "attributes": { + "label": "LR Fan" + } + }, + { + "card": { + "type": "custom:mushroom-light-card", + "entity": "light.couch_lamps", + "use_light_color": true, + "show_color_control": true, + "show_brightness_control": true, + "show_color_temp_control": true, + "collapsible_controls": true + }, + "attributes": { + "label": "Couch Lamps" + } + }, + { + "card": { + "type": "custom:mushroom-light-card", + "entity": "light.living_room_led_strip", + "fill_container": false, + "use_light_color": true, + "show_color_temp_control": true, + "show_color_control": true, + "show_brightness_control": true, + "collapsible_controls": true, + "icon": "mdi:led-strip-variant" + }, + "attributes": { + "label": "LR LED Strip" + } + }, + { + "card": { + "type": "custom:mushroom-light-card", + "entity": "light.tv_leds", + "fill_container": false, + "use_light_color": true, + "show_color_temp_control": true, + "show_color_control": true, + "show_brightness_control": true, + "collapsible_controls": true, + "icon": "phu:light-strip" + }, + "attributes": { + "label": "TV LEDs" + } + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_living_room", + "secondary_info": "last-changed" + }, + { + "entity": "scene.tv_mode", + "name": "TV mode", + "secondary_info": "none", + "icon": "mdi:television" + }, + { + "entity": "automation.tv_time_test", + "name": "Auto TV Time", + "icon": "mdi:television-classic", + "secondary_info": "last-triggered" + } + ] + } + ] + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "binary_sensor.coffee_table_lid", + "state": "on" + } + ], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:mushroom-light-card", + "entity": "light.coffee_table_light", + "use_light_color": true, + "show_brightness_control": true, + "show_color_control": true, + "show_color_temp_control": true, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.volcano", + "secondary_info": "last-changed", + "icon": "mdi:volcano" + } + ] + } + ] + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "media_player.android_tv_living_room_shield_3ddbrew_com", + "state": "playing" + }, + { + "condition": "user", + "users": [ + "02db331d9f884aacaa93e8cd5906feff" + ] + }, + { + "condition": "state", + "entity": "sensor.brian_personal_phone_wifi_connection", + "state": "SYNCING. . ." + } + ], + "card": { + "type": "media-control", + "entity": "media_player.android_tv_living_room_shield_3ddbrew_com" + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "sensor.kitchen_display_timers", + "state_not": "unavailable" + } + ], + "card": { + "type": "custom:googletimers-card", + "entity": "sensor.kitchen_display_timers", + "alarms_entity": "sensor.kitchen_display_alarms", + "title": "Kitchen" + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "sensor.garage_door", + "state": "Open" + } + ], + "card": { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "cover.garage_door" + }, + { + "entity": "camera.garage_doorbell" + }, + { + "entity": "sensor.garage_door_timer" + } + ], + "state_color": true + } + }, + { + "camera_view": "auto", + "type": "picture-glance", + "entities": [ + { + "entity": "light.bedroom_all_lights" + }, + { + "entity": "light.bed_lights_2" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/bedroom" + }, + "title": "Bedroom", + "image": "/local/img/bachelor-bedroom.jpeg", + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/bedroom" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Den", + "entities": [ + { + "entity": "light.den_lights" + }, + { + "entity": "switch.den_leds" + } + ], + "camera_image": "camera.dogs_sub", + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/den" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/den" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "live", + "type": "picture-glance", + "title": "Dining Room", + "entities": [ + { + "entity": "light.dining_table" + }, + { + "entity": "light.entryway" + }, + { + "entity": "binary_sensor.dining_room_motion_sensors" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/dining-room" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/dining-room" + }, + "camera_image": "camera.front_entryway_snapshots_clear", + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Living Room", + "image": "/local/img/living-room.jpg", + "entities": [ + { + "entity": "light.living_room_fan_lights" + }, + { + "entity": "light.couch_lamps" + }, + { + "entity": "light.living_room_led_strip" + }, + { + "entity": "light.tv_leds" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/living-room" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/living-room" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Kitchen", + "image": "/local/img/kitchen.jpg", + "entities": [ + { + "entity": "light.kitchen_fan_lights" + }, + { + "entity": "light.kitchen_can_lights" + }, + { + "entity": "light.kitchen_sink" + }, + { + "entity": "light.edison_east" + }, + { + "entity": "light.edison_west" + }, + { + "entity": "binary_sensor.kitchen_motion_sensors" + }, + { + "entity": "binary_sensor.fridge_contact" + }, + { + "entity": "sensor.kitchen_display_timers" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/kitchen" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/kitchen" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Office", + "image": "/local/img/office.jpg", + "entities": [ + { + "entity": "light.office_all_lights" + }, + { + "entity": "light.desk_lamp" + }, + { + "entity": "light.office_led_strip" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/office" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/office" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "entities": [ + { + "entity": "group.garage_lights" + }, + { + "entity": "switch.garage_door" + } + ], + "title": "Garage", + "image": "/local/img/garage.jpg", + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/garage" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "live", + "type": "picture-glance", + "title": "Outside", + "image": "/local/img/outside.jpeg", + "entities": [ + { + "entity": "light.front_porch_light" + }, + { + "entity": "light.driveway" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/oustide" + }, + "camera_image": "camera.front_door_doorbell", + "aspect_ratio": "4x2", + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/outside" + } + }, + { + "camera_view": "auto", + "type": "picture-glance", + "image": "/local/img/patio.jpg", + "entities": [ + { + "entity": "light.patio_lights" + }, + { + "entity": "light.led_strip" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/patio" + }, + "title": "Patio ", + "hold_action": { + "action": "perform-action", + "perform_action": "automation.trigger", + "target": { + "entity_id": "automation.reset_patio_tv" + }, + "data": { + "skip_condition": true + } + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Pets", + "image": "/local/img/3dogs.jpg", + "entities": [ + { + "entity": "light.pet_room" + }, + { + "entity": "switch.dog_water" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/pets" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "image": "/local/img/security.jpg", + "entities": [], + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/security" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/finance" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Stairway", + "image": "/local/img/stairway.jpg", + "entities": [ + { + "entity": "light.stairway_lights" + }, + { + "entity": "binary_sensor.stairway_motion_sensors" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/stairway" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/stairway" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Laundry", + "image": "/local/img/laundry.jpg", + "entities": [ + { + "entity": "light.laundry_room_light" + }, + { + "entity": "binary_sensor.laundry_room_sensors" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/laundry" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/laundry" + }, + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "title": "Extra Bed Room", + "entities": [ + { + "entity": "group.extra_bedroom_lamps" + }, + { + "entity": "light.extra_bedroom_lights" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/extra-bedroom" + }, + "image": "/local/img/extra_bedroom.jpg", + "aspect_ratio": "4x2" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "entities": [ + { + "entity": "light.bathroom" + }, + { + "entity": "light.downstairs_bathroom_lights" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/bathrooms" + }, + "image": "/local/img/bathroom.jpg", + "title": "Bathrooms", + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/bathrooms" + }, + "aspect_ratio": "4x2" + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "user", + "users": [ + "02db331d9f884aacaa93e8cd5906feff" + ] + } + ], + "card": { + "camera_view": "auto", + "type": "picture-glance", + "title": "Docker", + "entities": [], + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/docker" + }, + "image": "/local/img/docker.jpg", + "aspect_ratio": "4x2" + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "user", + "users": [ + "02db331d9f884aacaa93e8cd5906feff" + ] + } + ], + "card": { + "type": "entities", + "entities": [ + { + "type": "custom:fold-entity-row", + "head": "sensor.brians_loc", + "entities": [ + "automation.zone_notification_brian", + "script.turn_on_high_accuracy_brian", + "script.turn_off_high_accuracy_brian", + { + "entity": "binary_sensor.brian_personal_phone_interactive" + }, + { + "entity": "binary_sensor.brian_personal_phone_high_accuracy_mode" + }, + { + "entity": "sensor.brian_personal_phone_battery_level" + }, + { + "entity": "sensor.brian_time_home" + }, + { + "entity": "person.brian" + }, + { + "entity": "sensor.jess_to_brian" + }, + { + "entity": "binary_sensor.brian_personal_phone_android_auto" + } + ] + } + ] + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "user", + "users": [ + "02db331d9f884aacaa93e8cd5906feff" + ] + } + ], + "card": { + "type": "entities", + "entities": [ + { + "type": "custom:fold-entity-row", + "head": "sensor.jess_loc", + "entities": [ + { + "entity": "automation.zone_notification_jess" + }, + "script.turn_on_high_accuracy_jess", + "script.turn_off_high_accuracy_jess", + { + "entity": "binary_sensor.jess_cellphone_interactive" + }, + { + "entity": "binary_sensor.jess_cellphone_high_accuracy_mode" + }, + { + "entity": "sensor.jess_cellphone_battery_level" + }, + { + "entity": "sensor.jess_time_home" + }, + { + "entity": "person.jess" + }, + { + "entity": "binary_sensor.jess_cellphone_android_auto" + } + ] + } + ] + } + }, + { + "entities": [ + { + "entity": "vacuum.karen" + }, + { + "entity": "binary_sensor.karen_bin_full" + }, + { + "type": "custom:battery-state-entity", + "entity": "sensor.karen_battery_level" + }, + { + "entity": "automation.karen_battery_full", + "name": "Run when battery is full", + "secondary_info": "last-triggered" + } + ], + "title": "Roomba", + "type": "entities" + }, + { + "type": "custom:mushroom-climate-card", + "entity": "climate.entire_house", + "show_temperature_control": true, + "collapsible_controls": true, + "tap_action": { + "action": "more-info" + } + }, + { + "type": "custom:mushroom-climate-card", + "entity": "climate.living_room", + "show_temperature_control": true, + "collapsible_controls": true, + "tap_action": { + "action": "more-info" + } + }, + { + "entities": [ + { + "entity": "switch.den_wax" + }, + { + "entity": "switch.kitchen_wax" + }, + { + "entity": "switch.upstairs_wax" + }, + { + "entity": "switch.office_wax", + "name": "Office wax warmer" + }, + { + "entity": "switch.living_room_wax_warmer" + }, + { + "entity": "input_number.wax_warmers" + }, + { + "entity": "button.turn_on_wax_warmers", + "icon": "mdi:heat-wave" + }, + { + "entity": "sensor.shutoff_timer_wax_warmers", + "name": "Shutoff Timer - wax warmers" + } + ], + "title": "Wax Warmers", + "type": "entities" + }, + { + "type": "custom:config-template-card", + "variables": { + "url": "states['sensor.mail_image_url'].state" + }, + "entities": [ + "sensor.mail_image_url", + "sensor.mail_usps_mail", + "input_boolean.mail_seen" + ], + "card": { + "type": "picture", + "image": "${url}" + }, + "visibility": [ + { + "condition": "state", + "entity": "sensor.mail_usps_mail", + "state_not": "0" + }, + { + "condition": "state", + "entity": "input_boolean.mail_seen", + "state": "off" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/mail" + }, + "hold_action": { + "action": "call-service", + "service": "input_boolean.turn_on", + "target": { + "entity_id": "input_boolean.mail_seen" + } + } + } + ], + "badges": [] + }, + { + "badges": [ + { + "entity": "binary_sensor.kitchen_motion_sensors" + }, + { + "entity": "sensor.garage_door" + }, + { + "entity": "sensor.jess_time_home" + }, + { + "entity": "sensor.brian_time_home" + }, + { + "entity": "sun.sun" + }, + { + "entity": "binary_sensor.brians_cell_ping" + }, + { + "entity": "binary_sensor.jess_cell_ping" + }, + { + "entity": "sensor.entire_house_temperature" + }, + { + "entity": "update.home_assistant_core_update" + } + ], + "cards": [ + { + "entities": [ + { + "entity": "light.bedroom_all_lights" + }, + { + "entity": "light.bedroom_fan_lights" + }, + { + "entity": "light.bedroom_lamps" + }, + { + "entity": "light.brians_lamp" + }, + { + "entity": "light.jess_lamp" + }, + { + "entity": "switch.jess_nightstand_fan" + }, + { + "entity": "switch.jess_nightstand_noise" + }, + { + "entity": "switch.brians_nightstand_brians_nightstand_1" + }, + { + "entity": "fan.bedroom_fan" + }, + { + "entity": "script.1594924637072", + "name": "Nighty Night", + "secondary_info": "last-triggered" + }, + { + "entity": "script.google_home_retire", + "secondary_info": "last-triggered" + }, + { + "entity": "script.1594590169013", + "name": "Good Morning", + "secondary_info": "last-triggered" + }, + { + "entity": "light.bed_lights_2" + } + ], + "show_header_toggle": true, + "title": "bedroom", + "type": "entities", + "state_color": true + }, + { + "entities": [ + { + "entity": "light.desk_lamp" + }, + { + "entity": "light.office_overhead_lights" + }, + { + "entity": "light.office_all_lights" + }, + { + "entity": "light.office_led_strip" + } + ], + "show_header_toggle": true, + "title": "office", + "type": "entities" + }, + { + "entities": [ + { + "entity": "sensor.jess_loc" + }, + { + "entity": "sensor.brians_loc" + }, + { + "entity": "person.brian" + }, + { + "entity": "person.jess" + } + ], + "type": "entities" + }, + { + "entities": [ + { + "entity": "input_boolean.auto_wakeup_override", + "icon": "mdi:alarm-snooze" + }, + { + "entity": "input_boolean.kitchen_motion_override" + }, + { + "entity": "input_boolean.laundry_motion_override" + }, + { + "entity": "input_boolean.office_motion_override" + }, + { + "entity": "input_boolean.bedroom_motion_override" + }, + { + "entity": "input_boolean.stairway_motion_override" + }, + { + "entity": "input_boolean.exrtra_bedroom_motion_override" + }, + { + "entity": "input_boolean.dining_motion_override" + }, + { + "entity": "input_boolean.outdoor_motion_override" + } + ], + "title": "Household overrides", + "type": "entities" + }, + { + "entities": [ + { + "entity": "light.front_porch_light", + "secondary_info": "last-changed" + } + ], + "type": "entities" + }, + { + "entities": [ + { + "entity": "light.couch_lamps" + }, + { + "entity": "light.living_room_fan_lights" + }, + { + "entity": "switch.living_rm_leds" + }, + { + "entity": "light.tv_leds" + }, + { + "entity": "script.1594599280540", + "name": "TV Time", + "secondary_info": "last-triggered" + }, + { + "entity": "light.living_room_led_strip" + } + ], + "title": "Living room lights", + "type": "entities" + }, + { + "entities": [ + { + "entity": "light.led_strip" + }, + { + "entity": "group.all_patio_lights" + } + ], + "title": "Patio Lights", + "type": "entities" + }, + { + "entities": [ + { + "entity": "light.stairway_lights" + } + ], + "title": "Stairway lights", + "type": "entities" + }, + { + "entities": [ + { + "entity": "switch.den_wax" + }, + { + "entity": "switch.kitchen_wax" + }, + { + "entity": "switch.upstairs_wax" + }, + { + "entity": "switch.office_wax", + "name": "Office wax warmer" + }, + { + "entity": "switch.living_room_wax_warmer" + }, + { + "entity": "input_number.wax_warmers" + }, + { + "entity": "button.turn_on_wax_warmers", + "icon": "mdi:heat-wave" + }, + { + "entity": "sensor.shutoff_timer_wax_warmers", + "name": "Shutoff Timer - wax warmers" + } + ], + "title": "Wax Warmers", + "type": "entities" + }, + { + "entities": [ + { + "entity": "light.kitchen_can_lights" + }, + { + "entity": "light.kitchen_fan_lights" + }, + { + "entity": "light.kitchen_sink" + }, + { + "entity": "light.edison_east" + }, + { + "entity": "light.edison_west" + } + ], + "title": "Kitchen lights", + "type": "entities" + }, + { + "entities": [ + "light.laundry_room_light" + ], + "type": "entities" + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.jess_nightstand_extra" + }, + { + "entity": "switch.brians_nightstand_brians_nightstand_3" + }, + { + "entity": "switch.brians_nightstand_brians_nightstand_usb" + }, + { + "entity": "switch.jess_nightstand_usb", + "name": "Jess Nightstand USB " + } + ], + "title": "Bedroom Speakers" + }, + { + "entities": [ + { + "entity": "input_select.themes" + } + ], + "show_header_toggle": false, + "type": "entities" + }, + { + "entities": [ + { + "entity": "input_boolean.vacation_mode" + }, + { + "entity": "button.vacation_mode" + } + ], + "type": "entities", + "title": "Vacation" + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.dining_room_ent" + }, + { + "entity": "switch.dining_room_lamps" + }, + { + "entity": "light.dining_table" + }, + { + "entity": "light.entryway" + }, + { + "entity": "light.flow_lights", + "icon": "mdi:lamp" + } + ], + "title": "Dining Room" + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.den_leds" + }, + { + "entity": "light.den_lights" + } + ], + "title": "Den" + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.dog_lights" + } + ], + "title": "Dogs" + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.driveway" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "fan.bedroom_fan" + }, + { + "entity": "fan.extra_bedroom_fan" + }, + { + "entity": "fan.office_fan" + } + ], + "show_header_toggle": true, + "title": "Fans" + }, + { + "type": "entity", + "entity": "climate.living_room" + }, + { + "type": "entity", + "entity": "climate.entire_house" + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_select.holiday" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "sensor.coinbase_my_wallet" + }, + { + "entity": "sensor.btc_exchange_rate" + }, + { + "entity": "sensor.ltc_exchange_rate" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.extra_bedroom_1_3" + }, + { + "entity": "light.extra_bedroom_2_2" + }, + { + "entity": "light.extra_bedroom_fan_lights" + } + ], + "title": "Extra Bedroom" + }, + { + "entities": [ + { + "entity": "vacuum.karen" + }, + { + "entity": "binary_sensor.karen_bin_full" + }, + { + "type": "custom:battery-state-entity", + "entity": "sensor.karen_battery_level" + }, + { + "entity": "automation.karen_battery_full", + "name": "Run when battery is full", + "secondary_info": "last-triggered" + } + ], + "title": "Roomba", + "type": "entities" + }, + { + "type": "entity", + "entity": "sensor.ench_entities" + }, + { + "type": "entities", + "entities": [ + "input_boolean.taken_medication" + ] + }, + { + "type": "entities", + "entities": [ + "button.synchronize_devices" + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "group.people_home" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.party_mode" + }, + { + "entity": "button.party_mode" + }, + { + "entity": "input_select.party_setting" + } + ] + }, + { + "type": "custom:timer-bar-card", + "name": "Sun", + "entities": [ + { + "entity": "sun.sun", + "name": "Sunrise", + "icon": "mdi:weather-sunset-up", + "active_state": "below_horizon", + "end_time": { + "attribute": "next_rising" + }, + "translations": { + "above_horizon": "Not yet \u2600\ufe0f" + } + }, + { + "entity": "sun.sun", + "name": "Sunset", + "icon": "mdi:weather-sunset-down", + "active_state": "above_horizon", + "end_time": { + "attribute": "next_setting" + }, + "translations": { + "below_horizon": "Not yet \ud83c\udf19" + } + } + ], + "text_width": "5em", + "bar_radius": "4px" + } + ], + "icon": "mdi:deathly-hallows" + }, + { + "title": "Remotes", + "path": "remotes", + "icon": "mdi:remote", + "type": "sections", + "sections": [ + { + "type": "grid", + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:tabbed-card", + "options": {}, + "tabs": [ + { + "card": { + "type": "custom:firemote-card", + "entity": "media_player.android_tv_living_room_shield_3ddbrew_com", + "device_family": "nvidia-shield", + "device_type": "shield-tv-pro-2019", + "compatibility_mode": "default", + "android_tv_remote_entity": "", + "app_launch_1": "emby", + "app_launch_2": "youtube", + "app_launch_3": "youtubeTV", + "app_launch_4": "channels-dvr", + "visible_name_text": "", + "name_position": "top", + "visible_name_text_color": "#df9007", + "scale": "125" + }, + "attributes": { + "label": "LR - Nvidia" + } + }, + { + "card": { + "type": "custom:firemote-card", + "entity": "media_player.android_tv_lr_streamer_3ddbrew_com", + "device_family": "nvidia-shield", + "device_type": "shield-tv-pro-2019", + "compatibility_mode": "default", + "android_tv_remote_entity": "", + "app_launch_1": "emby", + "app_launch_2": "youtube", + "app_launch_3": "youtubeTV", + "app_launch_4": "channels-dvr", + "visible_name_text": "", + "name_position": "top", + "visible_name_text_color": "#df9007", + "scale": "125" + }, + "attributes": { + "label": "LR - Google" + } + }, + { + "card": { + "type": "custom:firemote-card", + "entity": "media_player.bedroom_shield_3ddbrew_com", + "device_family": "nvidia-shield", + "device_type": "shield-tv-pro-2019", + "compatibility_mode": "default", + "android_tv_remote_entity": "", + "app_launch_1": "emby", + "app_launch_2": "youtube", + "app_launch_3": "youtubeTV", + "app_launch_4": "channels-dvr", + "visible_name_text": "", + "name_position": "top", + "visible_name_text_color": "#df9007", + "scale": "125" + }, + "attributes": { + "label": "Bedroom" + } + }, + { + "card": { + "type": "custom:firemote-card", + "entity": "media_player.patio_shield", + "device_family": "nvidia-shield", + "device_type": "shield-tv-pro-2019", + "compatibility_mode": "default", + "android_tv_remote_entity": "", + "app_launch_1": "emby", + "app_launch_2": "youtube", + "app_launch_3": "youtubeTV", + "app_launch_4": "channels-dvr", + "visible_name_text": "", + "name_position": "top", + "visible_name_text_color": "#df9007", + "scale": "125" + }, + "attributes": { + "label": "Patio" + } + }, + { + "card": { + "type": "custom:firemote-card", + "entity": "media_player.android_tv_dining_shield_3ddbrew_com", + "device_family": "nvidia-shield", + "device_type": "shield-tv-pro-2019", + "compatibility_mode": "default", + "android_tv_remote_entity": "", + "app_launch_1": "emby", + "app_launch_2": "youtube", + "app_launch_3": "youtubeTV", + "app_launch_4": "channels-dvr", + "visible_name_text": "", + "name_position": "top", + "visible_name_text_color": "#df9007", + "scale": "125" + }, + "attributes": { + "label": "Dining" + } + } + ] + } + ] + }, + { + "type": "media-control", + "entity": "media_player.living_room_tv_smart" + } + ] + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Security", + "path": "security", + "icon": "mdi:cctv", + "subview": true, + "badges": [], + "cards": [ + { + "type": "entity", + "entity": "input_boolean.entire_house_motion_override", + "state_color": true, + "icon": "mdi:motion-sensor" + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_extra_bedroom" + }, + { + "entity": "input_boolean.exrtra_bedroom_motion_override" + } + ], + "columns": 2 + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_bedroom" + }, + { + "entity": "binary_sensor.motion_sensor_bedroom_2" + }, + { + "entity": "input_boolean.bedroom_motion_override" + } + ], + "title": "Bedroom motion", + "columns": 3 + }, + { + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.front_door" + }, + { + "entity": "binary_sensor.sliding_door" + }, + { + "entity": "binary_sensor.laundry_room_door" + }, + { + "entity": "binary_sensor.garage_laundry_door" + }, + { + "entity": "binary_sensor.outside_garage_door" + } + ] + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_kitchen_1" + }, + { + "entity": "binary_sensor.motion_sensor_kitchen_2" + }, + { + "entity": "input_boolean.kitchen_motion_override" + }, + { + "entity": "binary_sensor.motion_sensor_laundry_room_1" + }, + { + "entity": "binary_sensor.motion_sensor_laundry_room_2" + }, + { + "entity": "input_boolean.laundry_motion_override" + }, + { + "entity": "binary_sensor.motion_sensor_stairway_1" + }, + { + "entity": "binary_sensor.motion_sensor_stairway_2" + }, + { + "entity": "input_boolean.stairway_motion_override" + }, + { + "entity": "binary_sensor.motion_sensor_dining_room" + }, + { + "entity": "binary_sensor.motion_sensor_dining_room_west" + }, + { + "entity": "input_boolean.dining_motion_override" + } + ], + "title": "Downstairs Motion", + "columns": 3 + }, + { + "type": "custom:battery-state-card", + "title": "Battery levels", + "sort": "state", + "collapse": 6, + "colors": { + "steps": [ + "#ff0000", + "#ffff00", + "#00ff00" + ], + "gradient": true + }, + "entities": [ + { + "entity": "sensor.front_door_battery_2", + "name": "Front Door" + }, + { + "entity": "sensor.garage_laundry_door_battery", + "name": "Inside Garage Door" + }, + { + "entity": "sensor.sliding_door_battery", + "name": "Sliding Back Door" + }, + { + "entity": "sensor.laundry_room_door_battery", + "name": "Laundry room door" + }, + { + "entity": "sensor.outside_garage_door_battery", + "name": "Outside garage door" + }, + { + "entity": "sensor.motion_sensor_bedroom_battery", + "name": "Bedroom motion" + }, + { + "entity": "sensor.motion_sensor_bedroom_2_battery", + "name": "Bedroom motion 2" + }, + { + "entity": "sensor.motion_sensor_kitchen_1_battery", + "name": "Kitchen west motion" + }, + { + "entity": "sensor.motion_sensor_kitchen_2_battery", + "name": "Kitchen east motion" + }, + { + "entity": "sensor.motion_sensor_laundry_room_1_battery", + "name": "Laundry east motion" + }, + { + "entity": "sensor.motion_sensor_laundry_room_2_battery", + "name": "Laundry west motion" + }, + { + "entity": "sensor.motion_sensor_office_battery", + "name": "Office motion" + }, + { + "entity": "sensor.motion_sensor_desk_battery", + "name": "Desk motion" + }, + { + "entity": "sensor.motion_sensor_stairway_1_battery", + "name": "Top of Stairs motion" + }, + { + "entity": "sensor.motion_sensor_stairway_2_battery", + "name": "Bottom of stairs motion" + }, + { + "entity": "sensor.motion_sensor_extra_bedroom_battery", + "name": "Extra Bedroom motion" + }, + { + "entity": "sensor.motion_sensor_dining_room_battery", + "name": "Dining room east motion" + }, + { + "entity": "sensor.motion_sensor_dining_room_west_battery", + "name": "Dining room west motion" + }, + { + "entity": "sensor.motion_sensor_front_door_battery", + "name": "Front door motion" + }, + { + "entity": "sensor.motion_sensor_garage_battery", + "name": "Garage motion" + }, + { + "entity": "sensor.coffee_table_lid_battery", + "name": "Coffee table lid" + }, + { + "entity": "sensor.gate_sensor_battery", + "name": "Gate" + }, + { + "entity": "sensor.large_shed_battery", + "name": "Large Shed" + }, + { + "entity": "sensor.small_shed_battery", + "name": "Small Shed" + } + ] + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_garage" + }, + { + "entity": "binary_sensor.motion_sensor_front_door" + }, + { + "entity": "input_boolean.outdoor_motion_override" + } + ], + "title": "Outside Motion", + "columns": 3 + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_desk" + }, + { + "entity": "binary_sensor.motion_sensor_office" + }, + { + "entity": "input_boolean.office_motion_override" + } + ], + "title": "Office motion", + "columns": 3 + }, + { + "camera_view": "live", + "type": "picture-glance", + "entities": [], + "title": "Dining room", + "camera_image": "camera.front_entryway_snapshots_fluent" + }, + { + "camera_view": "live", + "type": "picture-glance", + "entities": [], + "title": "Den", + "camera_image": "camera.dogs_main" + }, + { + "camera_view": "auto", + "type": "picture-glance", + "entities": [], + "camera_image": "camera.front_door_doorbell", + "title": "Front Door" + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.gate_sensor_door" + }, + { + "entity": "binary_sensor.large_shed_door" + }, + { + "entity": "binary_sensor.small_shed_door" + } + ], + "title": "Backyard", + "columns": 3 + }, + { + "type": "custom:advanced-camera-card", + "cameras": [ + { + "camera_entity": "camera.sidewalk" + }, + { + "camera_entity": "camera.dogs_main", + "live_provider": "auto" + }, + { + "camera_entity": "camera.front_door_doorbell" + } + ] + }, + { + "type": "custom:auto-entities", + "card": { + "type": "entities", + "title": "Battery Levels", + "icon": "mdi:battery", + "state_color": true + }, + "filter": { + "include": [ + { + "entity_id": "*battery" + } + ] + }, + "sort": { + "method": "state", + "numeric": true, + "reverse": true + } + } + ] + }, + { + "theme": "Backend-selected", + "title": "Garage", + "icon": "mdi:garage", + "subview": true, + "path": "garage", + "badges": [], + "cards": [ + { + "entity": "switch.garage_door", + "hold_action": { + "action": "more-info" + }, + "show_icon": true, + "show_name": true, + "tap_action": { + "action": "toggle" + }, + "type": "button" + }, + { + "entities": [ + { + "entity": "sensor.garage_door" + }, + { + "entity": "group.garage_lights" + } + ], + "title": "Garage", + "type": "entities" + }, + { + "entity": "script.1593820727743", + "hold_action": { + "action": "more-info" + }, + "icon": "hass:flash", + "show_icon": true, + "show_name": true, + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.1593820727743" + } + }, + "type": "button" + }, + { + "entity": "script.1593892098809", + "hold_action": { + "action": "more-info" + }, + "icon": "hass:flash", + "show_icon": true, + "show_name": true, + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "service_data": { + "entity_id": "script.1593892098809" + } + }, + "type": "button" + }, + { + "entities": [ + { + "entity": "sensor.garage_door" + } + ], + "type": "glance" + }, + { + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.garage_pi_ping" + }, + { + "entity": "sensor.garage_pi" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "path": "pets", + "title": "Pets", + "icon": "mdi:dog-side", + "subview": true, + "badges": [], + "cards": [ + { + "type": "picture", + "image": "/local/img/maynard.jpg", + "alt_text": "Maynard", + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/maynard" + } + }, + { + "entity": "light.pet_room", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": true, + "collapsible_controls": true + }, + { + "entities": [ + { + "entity": "switch.myrtle_lights" + }, + { + "entity": "switch.scout_lights" + }, + { + "entity": "switch.louise_powerstrip_light1" + }, + { + "entity": "switch.tina_powerstrip_lights" + }, + { + "entity": "light.maynard_uv_b" + }, + { + "entity": "switch.maynard_pump" + }, + { + "entity": "light.maynard_powerstrip_2_l1" + }, + { + "entity": "light.maynard_powerstrip_uv_b_cold" + } + ], + "show_header_toggle": true, + "title": "reptile day lights", + "type": "entities" + }, + { + "type": "entities", + "entities": [ + { + "entity": "group.grow_lights" + } + ] + }, + { + "entities": [ + { + "entity": "switch.maynard_heat_bulb" + } + ], + "show_header_toggle": true, + "title": "reptile night heat", + "type": "entities" + }, + { + "entities": [ + { + "entity": "switch.tina_powerstrip_filter" + }, + { + "entity": "switch.myrtle_filter" + }, + { + "entity": "switch.louise_powerstrip_filter" + }, + { + "entity": "switch.mordin_filter" + } + ], + "title": "Filters", + "type": "entities" + }, + { + "entity": "light.dog_lights", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.pet_room_fountain" + }, + { + "entity": "switch.maynard_pump" + }, + { + "entity": "switch.dog_water" + }, + { + "entity": "switch.dining_room_dog_water" + } + ], + "show_header_toggle": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.modin_lights" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "group.reptile_day_lights" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "script.feed_pets" + }, + { + "entity": "switch.myrtle_feeder" + }, + { + "entity": "switch.myrtle_feeder_2" + }, + { + "entity": "switch.myrtle_feeder_4" + }, + { + "entity": "switch.myrtle_feeder_3" + } + ], + "title": "Feeders" + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.pet_room_1" + }, + { + "entity": "light.pet_room_2_wiz", + "name": "Pet room 2" + }, + { + "entity": "light.pet_room_3" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "path": "patio", + "title": "patio", + "subview": true, + "badges": [], + "cards": [ + { + "type": "media-control", + "entity": "media_player.patio_shield" + }, + { + "entity": "light.patio_lights", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "show_color_temp_control": false + }, + { + "entity": "light.led_strip", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "entities": [ + { + "entity": "light.led_strip" + }, + { + "entity": "group.all_patio_lights" + } + ], + "title": "Patio Lights", + "type": "entities" + }, + { + "type": "entities", + "entities": [ + "button.turn_on_patio" + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_adapt_brightness_patio_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_patio_lights" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_patio_lights" + }, + { + "entity": "switch.adaptive_lighting_patio_lights" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.patio_speaker_bar" + }, + { + "entity": "switch.patio_tv" + }, + { + "entity": "switch.patio_shield" + }, + { + "entity": "switch.patio_entertainment_usb_1", + "name": "USB 1" + } + ], + "title": "Patio entertainment " + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.tv_cover" + }, + { + "entity": "input_button.reset_patio_tv" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Map", + "path": "map", + "panel": true, + "type": "panel", + "subview": true, + "badges": [], + "cards": [ + { + "type": "map", + "entities": [ + { + "entity": "person.brian" + }, + { + "entity": "person.jess" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "subview": true, + "title": "Den", + "path": "den", + "icon": "mdi:weight-lifter", + "badges": [], + "cards": [ + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "switch.den_leds", + "show_state": false + }, + { + "entity": "light.den_lights", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.den1" + }, + { + "entity": "light.den2" + }, + { + "entity": "light.den3" + }, + { + "entity": "light.den4" + }, + { + "entity": "light.den5" + }, + { + "entity": "light.den6" + }, + { + "entity": "light.den7" + }, + { + "entity": "light.den8" + }, + { + "entity": "light.den9" + }, + { + "entity": "light.den10" + }, + { + "entity": "light.den11" + }, + { + "entity": "light.den12" + }, + { + "entity": "light.den13" + }, + { + "entity": "light.den14" + } + ], + "title": "Den lights", + "state_color": true + }, + { + "type": "entities", + "entities": [ + "switch.den_wax" + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_adapt_brightness_den_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_den_lights" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_den_lights" + }, + { + "entity": "switch.adaptive_lighting_den_lights" + } + ] + }, + { + "type": "media-control", + "entity": "media_player.android_tv_gym_ccwgtv_3ddbrew_com" + } + ] + }, + { + "theme": "Backend-selected", + "title": "Living room ", + "path": "living-room", + "subview": true, + "icon": "mdi:theater", + "badges": [], + "cards": [ + { + "type": "custom:tabbed-card", + "options": {}, + "tabs": [ + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:mushroom-light-card", + "entity": "light.couch_lamps", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.living_room_fan_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "fill_container": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.living_room_led_strip", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.tv_leds", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + "switch.living_rm_leds" + ] + } + ] + }, + "attributes": { + "label": "Lights" + } + }, + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "glance", + "show_name": true, + "show_icon": true, + "show_state": true, + "entities": [ + { + "entity": "binary_sensor.seeedstudio_mmwave_kit_aa97d4_presence_information" + }, + { + "entity": "sensor.seeedstudio_mmwave_kit_aa97d4_motion_information" + } + ], + "columns": 3 + }, + { + "type": "entities", + "entities": [ + "switch.living_room_wax_warmer", + "sensor.living_room_media_players" + ] + } + ] + }, + "attributes": { + "label": "Misc" + } + }, + { + "card": { + "type": "entities", + "entities": [ + "switch.adaptive_lighting_adapt_brightness_living_room", + "switch.adaptive_lighting_adapt_color_living_room", + "switch.adaptive_lighting_sleep_mode_living_room", + "switch.adaptive_lighting_living_room", + "script.1594599280540" + ] + }, + "attributes": { + "label": "Lighting Control" + } + }, + { + "card": { + "type": "entities", + "entities": [ + { + "entity": "sensor.naz_tee_cpu_load_average_1_min" + }, + { + "entity": "sensor.naz_tee_cpu_load_average_5_min" + }, + { + "entity": "sensor.naz_tee_cpu_load_average_15_min" + }, + "sensor.naz_tee_volume_1_total_size", + { + "entity": "sensor.naz_tee_volume_1_status", + "name": "Status" + }, + { + "entity": "sensor.naz_tee_volume_1_used_space", + "name": "Used space" + }, + { + "entity": "sensor.naz_tee_volume_1_volume_used", + "name": "Volume used" + }, + { + "entity": "sensor.portainer_endpoints_naz", + "name": "Running Containers" + } + ] + }, + "attributes": { + "label": "Nerd" + } + } + ] + }, + { + "type": "media-control", + "entity": "media_player.android_tv_living_room_shield_3ddbrew_com" + }, + { + "type": "thermostat", + "entity": "climate.living_room" + } + ] + }, + { + "theme": "Backend-selected", + "title": "Kitchen", + "path": "kitchen", + "subview": true, + "icon": "mdi:fridge", + "badges": [], + "cards": [ + { + "type": "custom:googletimers-card", + "entity": "sensor.kitchen_display_timers", + "alarms_entity": "sensor.kitchen_display_alarms", + "title": "Kitchen" + }, + { + "entity": "light.kitchen_fan_lights", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": true, + "collapsible_controls": true + }, + { + "entity": "light.kitchen_can_lights", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "entity": "light.edison_east", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "entity": "light.edison_west", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "entity": "light.kitchen_sink", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "type": "media-control", + "entity": "media_player.kitchen_display" + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.kitchen_motion_override" + }, + { + "entity": "sensor.kitchen_media_players", + "secondary_info": "last-changed", + "name": "Kitchen status" + }, + { + "entity": "input_number.pause_motion_lights_kitchen" + }, + { + "entity": "button.pause_motion_lights_kitchen" + }, + { + "entity": "sensor.motion_shutoff_timer_kitchen" + } + ] + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_kitchen_1" + }, + { + "entity": "binary_sensor.motion_sensor_kitchen_2" + }, + { + "entity": "binary_sensor.motion_sensor_kitchen_3" + }, + { + "entity": "binary_sensor.seeedstudio_mmwave_kit_aa8d94_presence_information" + }, + { + "entity": "input_boolean.kitchen_motion_override" + }, + { + "entity": "binary_sensor.kitchen_motion_sensors" + } + ], + "columns": 3 + }, + { + "type": "entities", + "entities": [ + "switch.kitchen_wax" + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.fridge_contact" + }, + { + "entity": "binary_sensor.refrigerator_contact", + "name": "Fridge door" + }, + { + "entity": "binary_sensor.fridge_water_detection_sensor_water_leak", + "name": "Fridge water detection" + } + ] + }, + { + "type": "entities", + "entities": [ + "sensor.kitchen_display_timers" + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_adapt_brightness_kitchen_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_kitchen_lights" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_kitchen_lights" + }, + { + "entity": "switch.adaptive_lighting_kitchen_lights" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Dining Room", + "path": "dining-room", + "icon": "mdi:silverware", + "subview": true, + "badges": [], + "cards": [ + { + "entity": "light.dining_table", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "entity": "light.entryway", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "switch.dining_room_lamps" + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "switch.dining_room_ent" + }, + { + "entity": "light.flow_lights", + "icon": "mdi:led-strip", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "media-control", + "entity": "media_player.android_tv_dining_shield_3ddbrew_com" + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.dining_motion_override" + }, + { + "entity": "sensor.dining_room_media_players", + "name": "Dining room status", + "secondary_info": "last-changed" + }, + { + "entity": "input_number.pause_motion_lights_dining" + }, + { + "entity": "button.pause_motion_lights_dining" + }, + { + "entity": "sensor.motion_shutoff_timer_dining" + } + ] + }, + { + "type": "glance", + "entities": [ + { + "entity": "group.table_lights" + }, + { + "entity": "group.entryway_lights" + } + ] + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_dining_room" + }, + { + "entity": "binary_sensor.motion_sensor_dining_room_west" + }, + { + "entity": "input_boolean.dining_motion_override" + } + ], + "columns": 3 + }, + { + "type": "entities", + "entities": [ + "switch.dining_room_dog_water" + ], + "title": "Dining room dog water" + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_adapt_brightness_dining_room_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_dining_room_lights" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_dining_room_lights" + }, + { + "entity": "switch.adaptive_lighting_dining_room_lights" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Office", + "path": "office", + "icon": "mdi:office-building-cog", + "subview": true, + "badges": [], + "cards": [ + { + "type": "custom:tabbed-card", + "options": {}, + "tabs": [ + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:mushroom-light-card", + "entity": "light.office_overhead_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.desk_lamp", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "fill_container": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.office_led_strip", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.dog_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + } + ] + }, + "attributes": { + "label": "Lights" + } + }, + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:fold-entity-row", + "head": { + "type": "custom:mushroom-fan-card", + "entity": "fan.office_fan", + "icon_animation": true, + "fill_container": true, + "show_percentage_control": true, + "collapsible_controls": true + }, + "entities": [ + "sensor.office_fan_timer", + "input_number.office_fan_speed", + "input_number.office_fan_time", + "button.office_fan" + ] + } + ] + }, + "attributes": { + "label": "Fan" + } + }, + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "glance", + "show_name": true, + "show_icon": true, + "show_state": true, + "entities": [ + { + "entity": "input_boolean.office_motion_override" + }, + { + "entity": "binary_sensor.motion_sensor_desk" + }, + { + "entity": "binary_sensor.motion_sensor_office" + }, + { + "entity": "binary_sensor.seeedstudio_mmwave_kit_aab818_presence_information" + }, + { + "entity": "sensor.seeedstudio_mmwave_kit_aab818_motion_information" + }, + { + "entity": "binary_sensor.q_sensor_motion_detection" + } + ], + "columns": 3 + }, + { + "type": "entities", + "entities": [ + "switch.office_wax" + ] + } + ] + }, + "attributes": { + "label": "Misc" + } + }, + { + "card": { + "type": "conditional", + "conditions": [], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "timer.motion_shutoff_timer_office", + "state": "active" + } + ], + "card": { + "type": "custom:timer-bar-card", + "entities": [ + "timer.motion_shutoff_timer_office" + ] + } + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.office_motion_override" + }, + { + "entity": "sensor.office_media_players", + "name": "Office status", + "secondary_info": "last-changed" + }, + { + "entity": "sensor.laptop_state" + } + ], + "title": "Lighting Controls", + "show_header_toggle": false + }, + { + "type": "custom:mushroom-number-card", + "entity": "input_number.pause_motion_lights_office", + "fill_container": false + }, + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "entity": "button.pause_motion_lights_office", + "color": "auto", + "name": "Pause Motion", + "styles": { + "card": [ + { + "height": "50px" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "button.press", + "target": { + "entity_id": "button.pause_motion_lights_office" + } + } + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "script.1594924637072", + "name": "Nighty Night", + "secondary_info": "last-triggered" + }, + { + "entity": "script.google_home_retire", + "name": "Retire", + "secondary_info": "last-triggered", + "icon": "mdi:bed" + }, + { + "entity": "script.1594590169013", + "name": "Good Morning", + "secondary_info": "last-triggered" + }, + { + "entity": "input_boolean.disable_mobile_alarms" + } + ] + }, + { + "type": "entities", + "entities": [ + "switch.adaptive_lighting_adapt_brightness_office_lights", + "switch.adaptive_lighting_adapt_color_office_lights", + "switch.adaptive_lighting_sleep_mode_office_lights", + "switch.adaptive_lighting_office_lights" + ] + } + ] + } + }, + "attributes": { + "label": "Lighting Control" + } + }, + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + "media_player.ytube_music_player", + "switch.finger_button", + "sensor.gluetun_vpn_address" + ] + }, + { + "type": "gauge", + "entity": "sensor.speedtest_download", + "needle": true, + "max": 1024, + "severity": { + "green": 750, + "yellow": 350, + "red": 0 + } + }, + { + "type": "picture", + "image": "/local/img/log_viewer2.gif", + "tap_action": { + "action": "navigate", + "navigation_path": "/lovelace/logs" + } + } + ] + }, + "attributes": { + "label": "Nerd" + } + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Outside", + "path": "outside", + "subview": true, + "icon": "mdi:border-outside", + "badges": [], + "cards": [ + { + "entity": "light.front_porch_light", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "entity": "light.driveway", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": false, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_garage" + }, + { + "entity": "binary_sensor.motion_sensor_front_door" + }, + { + "entity": "input_boolean.outdoor_motion_override" + } + ] + }, + { + "show_state": true, + "show_name": true, + "camera_view": "auto", + "type": "picture-entity", + "entity": "camera.front_door_doorbell", + "camera_image": "camera.front_door_doorbell" + }, + { + "type": "entities", + "entities": [ + { + "entity": "binary_sensor.gate_sensor_door" + }, + { + "entity": "binary_sensor.large_shed_door" + }, + { + "entity": "binary_sensor.small_shed_door" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Stairway", + "path": "stairway", + "subview": true, + "icon": "mdi:stairs", + "badges": [], + "cards": [ + { + "entity": "light.stairway_lights", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": true, + "collapsible_controls": true + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_stairway_1" + }, + { + "entity": "binary_sensor.motion_sensor_stairway_2" + }, + { + "entity": "input_boolean.stairway_motion_override" + } + ], + "columns": 3 + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_adapt_brightness_stairway" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_stairway" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_stairway" + }, + { + "entity": "switch.adaptive_lighting_stairway" + } + ] + } + ] + }, + { + "theme": "Backend-selected", + "title": "Laundry", + "path": "laundry", + "icon": "mdi:tumble-dryer", + "subview": true, + "badges": [], + "cards": [ + { + "entity": "light.laundry_room_light", + "type": "custom:mushroom-light-card", + "show_brightness_control": true, + "use_light_color": false, + "show_color_control": true, + "collapsible_controls": true + }, + { + "show_name": true, + "show_icon": true, + "show_state": true, + "type": "glance", + "entities": [ + { + "entity": "binary_sensor.motion_sensor_laundry_room_1" + }, + { + "entity": "binary_sensor.motion_sensor_laundry_room_2" + }, + { + "entity": "input_boolean.laundry_motion_override" + } + ], + "columns": 3 + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_laundry_lights", + "name": "Circadian " + } + ] + } + ] + }, + { + "title": "extra bedroom", + "path": "extra-bedroom", + "subview": true, + "badges": [], + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "light.extra_bedroom_fan_lights" + } + ] + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.extra_bedroom_lamps", + "fill_container": true, + "secondary_info": "last-changed", + "use_light_color": true, + "show_brightness_control": true, + "show_color_control": true, + "show_color_temp_control": true, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.exrtra_bedroom_motion_override" + }, + { + "entity": "binary_sensor.motion_sensor_extra_bedroom" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "type": "custom:fold-entity-row", + "head": { + "type": "custom:mushroom-fan-card", + "entity": "fan.extra_bedroom_fan", + "icon_animation": true, + "fill_container": true, + "show_percentage_control": true, + "collapsible_controls": true + }, + "entities": [ + "sensor.extra_bedroom_fan_timer", + "input_number.extra_bedroom_fan_speed", + "input_number.extra_bedroom_fan_time", + "button.extra_bedroom_fan" + ] + } + ] + }, + { + "type": "media-control", + "entity": "media_player.android_tv_extra_bedroom_chromecast_3ddbrew_com" + } + ] + }, + { + "title": "Android", + "path": "android", + "icon": "mdi:android", + "subview": true, + "badges": [], + "cards": [ + { + "type": "conditional", + "conditions": [ + { + "entity": "binary_sensor.coffee_table_combined", + "state": "on" + } + ], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "entity": "sensor.volcano_bluetooth_status", + "name": "VOLCANO", + "show_state": true, + "show_icon": true, + "icon": "mdi:cloud", + "state_display": "[[[\n if (entity.state.toLowerCase() === 'connected') {\n const temp = states['sensor.volcano_current_temperature_f'].state;\n const hrs = states['sensor.volcano_hours_of_operation'].state;\n return temp + '\u00b0F \u2022 ' + hrs + ' hrs';\n }\n return entity.state;\n]]]\n", + "styles": { + "card": [ + { + "background": "[[[\n if (entity.state.toLowerCase() === 'connected')\n return 'linear-gradient(135deg, rgba(139,0,0,0.9) 0%, rgba(50,0,0,0.95) 100%)';\n return 'linear-gradient(135deg, rgba(50,50,50,0.9) 0%, rgba(30,30,30,0.95) 100%)';\n]]]\n" + }, + { + "border-radius": "12px" + }, + { + "padding": "20px" + }, + { + "box-shadow": "[[[\n if (entity.state.toLowerCase() === 'connected')\n return '0 0 30px rgba(255,50,50,0.6), inset 0 0 20px rgba(255,100,100,0.2)';\n return '0 4px 8px rgba(0,0,0,0.3)';\n]]]\n" + } + ], + "icon": [ + { + "color": "[[[\n if (entity.state.toLowerCase() === 'connected')\n return 'rgb(255,100,100)';\n return 'rgb(150,150,150)';\n]]]\n" + }, + { + "filter": "[[[\n if (entity.state.toLowerCase() === 'connected')\n return 'drop-shadow(0 0 10px rgba(255,50,50,0.8))';\n return 'none';\n]]]\n" + }, + { + "width": "40px" + } + ], + "name": [ + { + "font-size": "24px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ], + "state": [ + { + "font-size": "14px" + }, + { + "color": "rgba(255,255,255,0.7)" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "input_boolean.toggle", + "target": { + "entity_id": "input_boolean.volcano_card_expanded" + } + }, + "hold_action": { + "action": "call-service", + "service": "script.volcano_connection_toggle" + } + }, + { + "type": "conditional", + "conditions": [ + { + "entity": "input_boolean.volcano_card_expanded", + "state": "on" + } + ], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "entity": "sensor.volcano_current_temperature_f", + "name": "Current", + "show_state": true, + "show_icon": true, + "icon": "mdi:thermometer", + "state_display": "[[[\n return entity.state + '\u00b0F';\n]]]\n", + "styles": { + "card": [ + { + "background": "rgba(40,40,40,0.9)" + }, + { + "border-radius": "12px" + }, + { + "padding": "15px" + } + ], + "icon": [ + { + "color": "[[[\n const temp = parseInt(entity.state);\n if (temp >= 380) return 'rgb(255,50,50)';\n if (temp >= 360) return 'rgb(255,150,50)';\n if (temp >= 340) return 'rgb(255,200,50)';\n return 'rgb(100,150,255)';\n]]]\n" + }, + { + "width": "35px" + } + ], + "name": [ + { + "font-size": "12px" + }, + { + "color": "rgba(255,255,255,0.6)" + } + ], + "state": [ + { + "font-size": "28px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + } + }, + { + "type": "custom:button-card", + "entity": "sensor.volcano_hours_of_operation", + "name": "Hours", + "show_state": true, + "show_icon": true, + "icon": "mdi:clock-outline", + "state_display": "[[[\n return entity.state + ' hrs';\n]]]\n", + "styles": { + "card": [ + { + "background": "rgba(40,40,40,0.9)" + }, + { + "border-radius": "12px" + }, + { + "padding": "15px" + } + ], + "icon": [ + { + "color": "rgb(180,180,180)" + }, + { + "width": "35px" + } + ], + "name": [ + { + "font-size": "12px" + }, + { + "color": "rgba(255,255,255,0.6)" + } + ], + "state": [ + { + "font-size": "28px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + } + } + ] + }, + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "entity": "sensor.volcano_heat_status", + "name": "HEAT", + "show_state": false, + "show_icon": true, + "icon": "mdi:fire", + "styles": { + "card": [ + { + "background": "[[[\n if (entity.state === 'ON')\n return 'linear-gradient(135deg, rgba(200,50,0,0.9) 0%, rgba(100,20,0,0.95) 100%)';\n return 'rgba(50,50,50,0.9)';\n]]]\n" + }, + { + "border-radius": "12px" + }, + { + "padding": "20px" + }, + { + "box-shadow": "[[[\n if (entity.state === 'ON')\n return '0 0 25px rgba(255,100,0,0.6), inset 0 0 15px rgba(255,150,50,0.2)';\n return '0 2px 4px rgba(0,0,0,0.3)';\n]]]\n" + } + ], + "icon": [ + { + "color": "[[[\n if (entity.state === 'ON')\n return 'rgb(255,200,100)';\n return 'rgb(150,150,150)';\n]]]\n" + }, + { + "filter": "[[[\n if (entity.state === 'ON')\n return 'drop-shadow(0 0 15px rgba(255,150,0,0.9))';\n return 'none';\n]]]\n" + }, + { + "width": "40px" + }, + { + "animation": "[[[\n if (entity.state === 'ON')\n return 'pulse 2s ease-in-out infinite';\n return 'none';\n]]]\n" + } + ], + "name": [ + { + "font-size": "14px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_heat_toggle" + } + }, + { + "type": "custom:button-card", + "entity": "input_boolean.volcano_pump_actual_state", + "name": "FAN", + "show_state": false, + "show_icon": true, + "icon": "mdi:fan", + "styles": { + "card": [ + { + "background": "[[[\n if (entity.state === 'on')\n return 'linear-gradient(135deg, rgba(0,120,200,0.9) 0%, rgba(0,50,100,0.95) 100%)';\n return 'rgba(50,50,50,0.9)';\n]]]\n" + }, + { + "border-radius": "12px" + }, + { + "padding": "20px" + }, + { + "box-shadow": "[[[\n if (entity.state === 'on')\n return '0 0 25px rgba(50,150,255,0.6), inset 0 0 15px rgba(100,180,255,0.2)';\n return '0 2px 4px rgba(0,0,0,0.3)';\n]]]\n" + } + ], + "icon": [ + { + "color": "[[[\n if (entity.state === 'on')\n return 'rgb(150,220,255)';\n return 'rgb(150,150,150)';\n]]]\n" + }, + { + "filter": "[[[\n if (entity.state === 'on')\n return 'drop-shadow(0 0 15px rgba(100,180,255,0.9))';\n return 'none';\n]]]\n" + }, + { + "width": "40px" + }, + { + "animation": "[[[\n if (entity.state === 'on')\n return 'spin 1s linear infinite';\n return 'none';\n]]]\n" + } + ], + "name": [ + { + "font-size": "14px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_fan_toggle" + } + } + ] + }, + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "name": "\u2212", + "show_icon": true, + "icon": "mdi:minus", + "styles": { + "card": [ + { + "background": "rgba(50,50,50,0.9)" + }, + { + "border-radius": "12px" + }, + { + "padding": "15px" + }, + { + "transition": "all 0.2s ease" + } + ], + "icon": [ + { + "color": "rgb(100,180,255)" + }, + { + "width": "30px" + } + ], + "name": [ + { + "font-size": "24px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_temp_down" + }, + "hold_action": { + "action": "call-service", + "service": "script.volcano_temp_down", + "repeat": 300 + } + }, + { + "type": "custom:button-card", + "name": "+", + "show_icon": true, + "icon": "mdi:plus", + "styles": { + "card": [ + { + "background": "rgba(50,50,50,0.9)" + }, + { + "border-radius": "12px" + }, + { + "padding": "15px" + }, + { + "transition": "all 0.2s ease" + } + ], + "icon": [ + { + "color": "rgb(255,150,100)" + }, + { + "width": "30px" + } + ], + "name": [ + { + "font-size": "24px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_temp_up" + }, + "hold_action": { + "action": "call-service", + "service": "script.volcano_temp_up", + "repeat": 300 + } + } + ] + }, + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "name": "355\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_355f" + } + }, + { + "type": "custom:button-card", + "name": "360\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_360f" + } + }, + { + "type": "custom:button-card", + "name": "365\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_365f" + } + }, + { + "type": "custom:button-card", + "name": "370\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_370f" + } + } + ] + }, + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "name": "375\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_375f" + } + }, + { + "type": "custom:button-card", + "name": "380\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_380f" + } + }, + { + "type": "custom:button-card", + "name": "385\u00b0F", + "styles": { + "card": [ + { + "background": "rgba(60,60,60,0.9)" + }, + { + "border-radius": "10px" + }, + { + "padding": "12px 8px" + } + ], + "name": [ + { + "font-size": "13px" + }, + { + "font-weight": "bold" + }, + { + "color": "white" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.volcano_preset_385f" + } + } + ] + } + ] + } + } + ] + } + }, + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "input_boolean.vacation_mode", + "state": "on" + } + ], + "card": { + "type": "custom:button-card", + "entity": "input_boolean.vacation_mode", + "tap_action": { + "action": "call-service", + "service": "button.press", + "data": { + "entity_id": "button.vacation_mode" + }, + "show_state": true + } + } + }, + { + "show_name": true, + "show_icon": true, + "entity": "cover.garage_door", + "hold_action": { + "action": "more-info" + }, + "tap_action": { + "action": "toggle" + }, + "type": "button" + }, + { + "type": "custom:mushroom-chips-card", + "alignment": "center", + "chips": [ + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.living_room_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.couch_lamps', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Living Room: {% set light_count = 0 %} {% if is_state('light.living_room_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.couch_lamps', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.living_room_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.bedroom_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.jess_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.brians_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.bed_lights_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Bedroom: {% set light_count = 0 %} {% if is_state('light.bedroom_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.jess_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.brians_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.bed_lights_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.bedroom_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.den_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Den: {% set light_count = 0 %} {% if is_state('light.den_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.den_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.office_overhead_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.desk_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.office_led_strip', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Office: {% set light_count = 0 %} {% if is_state('light.office_overhead_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.desk_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.office_led_strip', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.office_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.kitchen_can_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_east', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_west', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_sink', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Kitchen: {% set light_count = 0 %} {% if is_state('light.kitchen_can_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_east', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_west', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.kitchen_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.stairway_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Stairway: {% set light_count = 0 %} {% if is_state('light.stairway_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.stairway_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.laundry_room_light', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Laundry: {% set light_count = 0 %} {% if is_state('light.laundry_room_light', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.laundry_room_quick_lights", + "target": {} + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/a-2/laundry" + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.entryway', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_1', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_4', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_5', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_6', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Dining: {% set light_count = 0 %} {% if is_state('light.entryway', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_1', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_4', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_5', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_6', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.dining_room_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.extra_bedroom_1_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_2_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Extra: {% set light_count = 0 %} {% if is_state('light.extra_bedroom_1_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_2_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.extra_bedroom_quick_lights", + "target": {} + } + } + ], + "visibility": [ + { + "condition": "state", + "entity": "sun.sun", + "state": "above_horizon" + } + ] + }, + { + "type": "custom:mushroom-chips-card", + "alignment": "center", + "chips": [ + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.stairway_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_1', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_4', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_5', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_6', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.entryway', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_west', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_east', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_can_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_sink', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}amber{% else %}grey{% endif %}", + "content": "Main Floor: {% set light_count = 0 %} {% if is_state('light.stairway_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_1', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_4', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_5', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.dining_table_6', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.entryway', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_west', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.edison_east', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_can_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.kitchen_sink', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}{{ light_count }} light{% if light_count > 1 %}s{% endif %} on{% else %}All lights off{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.main_floor_quick_lights_2", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.living_room_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.couch_lamps', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.living_room_led_strip', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.tv_leds', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Living Room: {% set light_count = 0 %} {% if is_state('light.living_room_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.couch_lamps', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.living_room_led_strip', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.tv_leds', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.living_room_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.bedroom_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.jess_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.brians_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.bed_lights_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Bedroom: {% set light_count = 0 %} {% if is_state('light.bedroom_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.jess_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.brians_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.bed_lights_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.bedroom_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.den_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Den: {% set light_count = 0 %} {% if is_state('light.den_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.den_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.office_overhead_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.desk_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.office_led_strip', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Office: {% set light_count = 0 %} {% if is_state('light.office_overhead_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.desk_lamp', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.office_led_strip', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.office_quick_lights", + "target": {} + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.laundry_room_light', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Laundry: {% set light_count = 0 %} {% if is_state('light.laundry_room_light', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.laundry_room_quick_lights", + "target": {} + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/a-2/laundry" + } + }, + { + "type": "template", + "icon": "mdi:lightbulb", + "icon_color": "{% set light_count = 0 %} {% if is_state('light.extra_bedroom_1_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_2_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_fan_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n amber\n{% else %}\n grey\n{% endif %}", + "content": "Extra: {% set light_count = 0 %} {% if is_state('light.extra_bedroom_1_3', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_2_2', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if is_state('light.extra_bedroom_lights', 'on') %}{% set light_count = light_count + 1 %}{% endif %} {% if light_count > 0 %}\n {{ light_count }} light{% if light_count > 1 %}s{% endif %} on\n{% else %}\n All lights off\n{% endif %}", + "tap_action": { + "action": "perform-action", + "perform_action": "script.extra_bedroom_quick_lights", + "target": {} + } + } + ], + "visibility": [ + { + "condition": "state", + "entity": "sun.sun", + "state": "below_horizon" + } + ] + }, + { + "type": "entities", + "entities": [ + "switch.garage_door" + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.bedroom_fan_lights" + }, + { + "entity": "light.bedroom_lamps" + }, + { + "entity": "button.pause_motion_lights_bedroom" + } + ] + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.bedroom_all_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.bedroom_fan_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "type": "entities", + "entities": [ + { + "entity": "light.brians_lamp" + }, + { + "entity": "light.jess_lamp" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.auto_wakeup_override" + }, + { + "entity": "sensor.bedroom_media_players", + "name": "Bedroom status", + "secondary_info": "last-changed" + }, + { + "entity": "input_boolean.bedroom_motion_override" + }, + { + "entity": "switch.adaptive_lighting_bedroom_lights" + }, + { + "entity": "input_number.pause_motion_bedroom" + }, + { + "entity": "button.pause_motion_lights_bedroom" + }, + { + "entity": "button.pause_motion_lights_bedroom_xxx", + "icon": "mdi:liquid-spot" + }, + { + "entity": "sensor.motion_shutoff_timer_bedroom" + } + ], + "title": "Lighting Controls", + "show_header_toggle": false + }, + { + "type": "thermostat", + "entity": "climate.living_room", + "features": [ + { + "type": "climate-hvac-modes", + "hvac_modes": [ + "heat", + "cool", + "heat_cool", + "off" + ] + }, + { + "type": "climate-preset-modes", + "style": "dropdown", + "preset_modes": [ + "none", + "eco" + ] + } + ] + }, + { + "type": "thermostat", + "entity": "climate.entire_house", + "features": [ + { + "type": "climate-hvac-modes", + "hvac_modes": [ + "heat", + "cool", + "heat_cool", + "off" + ] + }, + { + "type": "climate-preset-modes", + "style": "dropdown", + "preset_modes": [ + "none", + "eco" + ] + } + ] + } + ] + }, + { + "title": "Bathrooms", + "path": "bathrooms", + "icon": "mdi:paper-roll", + "subview": true, + "badges": [], + "cards": [ + { + "type": "custom:layout-card", + "layout_type": "masonry", + "layout": {}, + "cards": [ + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "light.bathroom", + "name": "Upstairs Bathroom ", + "hold_action": { + "action": "more-info" + } + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.upstairs_bathroom_lightswitch", + "secondary_info": "last-changed", + "name": "Light", + "icon": "mdi:light-flood-down" + }, + { + "entity": "switch.upstairs_bathroom_fan", + "secondary_info": "last-changed", + "name": "Fan", + "icon": "mdi:fan-alert" + }, + { + "entity": "switch.adaptive_lighting_adapt_brightness_upstairs_bathroom" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_upstairs_bathroom" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_upstairs_bathroom" + }, + { + "entity": "switch.adaptive_lighting_upstairs_bathroom" + } + ] + } + ] + }, + { + "type": "custom:layout-card", + "layout_type": "masonry", + "layout": {}, + "cards": [ + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "toggle" + }, + "entity": "light.downstairs_bathroom_lights", + "name": "Downstairs Bathroom ", + "hold_action": { + "action": "more-info" + } + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.downstairs_bathroom_lightswitch", + "secondary_info": "last-changed", + "icon": "mdi:track-light" + }, + { + "entity": "switch.downstairs_bathroom_fan", + "icon": "mdi:fan", + "secondary_info": "last-changed" + }, + { + "entity": "switch.adaptive_lighting_adapt_brightness_downstairs_bathroom" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_downstairs_bathroom" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_downstairs_bathroom" + }, + { + "entity": "switch.adaptive_lighting_downstairs_bathroom" + } + ] + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.bedroom_bathroom_light", + "secondary_info": "last-changed" + }, + { + "entity": "switch.bedroom_bathroom_fan", + "name": "Fan", + "icon": "mdi:fan-chevron-up", + "secondary_info": "last-changed" + } + ], + "title": "Bedroom Bathroom" + } + ] + }, + { + "title": "Logs", + "path": "logs", + "icon": "mdi:math-log", + "type": "custom:masonry-layout", + "layout": { + "width": 800, + "max_cols": 3 + }, + "subview": true, + "badges": [], + "cards": [ + { + "type": "iframe", + "url": "/local/display_delete_log.html", + "aspect_ratio": "25%" + }, + { + "type": "iframe", + "url": "/local/display_autoscan_log.html", + "aspect_ratio": "42.5%" + }, + { + "type": "custom:flex-table-card", + "title": "Books Currently Reading", + "entities": { + "include": "sensor.currently_reading_books" + }, + "sort_by": "x.date_started+", + "columns": [ + { + "name": "Title", + "data": "books", + "modify": "x.title" + }, + { + "name": "Author", + "data": "books", + "modify": "x.author" + }, + { + "name": "Start Date", + "data": "books", + "modify": "x.date_started" + }, + { + "name": "Pages", + "data": "books", + "modify": "x.pages" + } + ] + }, + { + "type": "custom:flex-table-card", + "title": "Books Summary", + "entities": { + "include": "sensor.books_summary" + }, + "columns": [ + { + "name": "Total Pages", + "data": "attributes", + "modify": "x.total_pages" + }, + { + "name": "Average Days to Read", + "data": "attributes", + "modify": "x.average_days_to_read" + }, + { + "name": "Average Book Length", + "data": "attributes", + "modify": "x.average_book_length" + }, + { + "name": "Average Daily Pages Read", + "data": "attributes", + "modify": "x.average_daily_pages_read" + }, + { + "name": "Last Updated", + "data": "attributes", + "modify": "x.last_updated" + } + ] + }, + { + "type": "custom:flex-table-card", + "title": "Audiobooks Summary", + "entities": { + "include": "sensor.audiobooks_summary" + }, + "columns": [ + { + "name": "Total Pages", + "data": "attributes", + "modify": "x.total_pages" + }, + { + "name": "Average Days to Read", + "data": "attributes", + "modify": "x.average_days_to_read" + }, + { + "name": "Average Book Length", + "data": "attributes", + "modify": "x.average_book_length" + }, + { + "name": "Average Daily Pages Read", + "data": "attributes", + "modify": "x.average_daily_pages_read" + }, + { + "name": "Last Updated", + "data": "attributes", + "modify": "x.last_updated" + } + ] + }, + { + "type": "custom:flex-table-card", + "title": "Non-audiobooks Summary", + "entities": { + "include": "sensor.non_audiobooks_summary" + }, + "columns": [ + { + "name": "Total Pages", + "data": "attributes", + "modify": "x.total_pages" + }, + { + "name": "Average Days to Read", + "data": "attributes", + "modify": "x.average_days_to_read" + }, + { + "name": "Average Book Length", + "data": "attributes", + "modify": "x.average_book_length" + }, + { + "name": "Average Daily Pages Read", + "data": "attributes", + "modify": "x.average_daily_pages_read" + }, + { + "name": "Last Updated", + "data": "attributes", + "modify": "x.last_updated" + } + ] + } + ] + }, + { + "title": "old shit", + "path": "old-shit", + "subview": true, + "icon": "mdi:emoticon-poop", + "badges": [], + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.auto_wakeup_override" + }, + { + "entity": "sensor.bedroom_media_players", + "name": "Bedroom status", + "secondary_info": "last-changed" + }, + { + "entity": "input_boolean.bedroom_motion_override" + }, + { + "entity": "input_number.pause_motion_bedroom" + }, + { + "entity": "button.pause_motion_lights_bedroom" + }, + { + "entity": "button.pause_motion_lights_bedroom_xxx", + "icon": "mdi:liquid-spot" + }, + { + "entity": "sensor.motion_shutoff_timer_bedroom" + }, + { + "entity": "script.bedroom_100" + }, + { + "entity": "switch.adaptive_lighting_bedroom_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_brightness_bedroom_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_bedroom_lights" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_bedroom_lights" + } + ], + "title": "Lighting Controls", + "show_header_toggle": false + } + ] + }, + { + "title": "Maynard", + "path": "maynard", + "subview": true, + "type": "sections", + "sections": [ + { + "type": "grid", + "cards": [ + { + "type": "heading", + "heading": "Controls" + }, + { + "type": "custom:tabbed-card", + "options": {}, + "tabs": [ + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "gauge", + "entity": "sensor.maynard_environmental_humidity", + "needle": true + }, + { + "type": "gauge", + "entity": "sensor.maynard_environmental_temperature", + "needle": true + } + ] + }, + "attributes": { + "label": "Environmental" + } + }, + { + "card": { + "type": "entities", + "entities": [ + { + "entity": "light.maynard_powerstrip_2_l1", + "icon": "mdi:led-strip" + }, + { + "entity": "light.maynard_powerstrip_uv_b_cold" + }, + { + "entity": "light.maynard_uv_b" + } + ] + }, + "attributes": { + "label": "Lights" + } + }, + { + "card": { + "type": "entities", + "entities": [ + { + "entity": "switch.maynard_heat_bulb" + } + ] + }, + "attributes": { + "label": "Heat" + } + }, + { + "card": { + "type": "entities", + "entities": [ + { + "entity": "switch.maynard_pump" + } + ] + }, + "attributes": { + "label": "Water" + } + } + ] + } + ] + } + ] + }, + { + "title": "Bedroom", + "path": "bedroom", + "type": "sections", + "max_columns": 4, + "subview": true, + "sections": [ + { + "type": "grid", + "cards": [ + { + "type": "custom:tabbed-card", + "options": {}, + "tabs": [ + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:mushroom-light-card", + "entity": "light.bedroom_all_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.bedroom_lamps", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true, + "fill_container": true, + "show_color_temp_control": true + }, + { + "type": "custom:mushroom-light-card", + "entity": "light.bedroom_fan_lights", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "icon": "mdi:led-strip-variant", + "type": "custom:mushroom-light-card", + "entity": "light.bed_lights_2", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "icon": "mdi:led-strip-variant", + "type": "custom:mushroom-light-card", + "entity": "light.brians_lamp", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + }, + { + "icon": "mdi:led-strip-variant", + "type": "custom:mushroom-light-card", + "entity": "light.jess_lamp", + "show_brightness_control": true, + "use_light_color": true, + "show_color_control": true, + "collapsible_controls": true + } + ] + }, + "attributes": { + "label": "Lights" + } + }, + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "fan.brians_fan" + }, + { + "entity": "fan.jess_nightstand_fan" + }, + { + "entity": "fan.bedroom_fan" + } + ], + "show_header_toggle": true, + "title": "fans" + }, + { + "type": "custom:fold-entity-row", + "head": { + "type": "custom:mushroom-fan-card", + "entity": "fan.bedroom_fan", + "icon_animation": true, + "fill_container": true, + "show_percentage_control": true, + "collapsible_controls": true + }, + "entities": [ + "sensor.bedroom_fan_timer", + "input_number.bedroom_fan_speed", + "input_number.bedroom_fan_time", + "button.bedroom_fan" + ] + } + ] + }, + "attributes": { + "label": "Fans" + } + }, + { + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "switch.brians_nightstand_brians_nightstand_1" + }, + { + "entity": "switch.jess_nightstand_noise" + } + ], + "show_header_toggle": true, + "title": "Noise Machines" + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.jess_nightstand_extra" + }, + { + "entity": "switch.upstairs_wax" + } + ], + "show_header_toggle": false + }, + { + "type": "glance", + "show_name": true, + "show_icon": true, + "show_state": true, + "entities": [ + { + "entity": "binary_sensor.motion_sensor_bedroom" + }, + { + "entity": "binary_sensor.motion_sensor_bedroom_2" + }, + { + "entity": "input_boolean.bedroom_motion_override" + }, + { + "entity": "binary_sensor.seeedstudio_mmwave_kit_aac65c_presence_information" + }, + { + "entity": "sensor.seeedstudio_mmwave_kit_aac65c_motion_information" + } + ], + "columns": 3 + } + ] + }, + "attributes": { + "label": "Noise/Misc" + } + }, + { + "card": { + "type": "conditional", + "conditions": [], + "card": { + "type": "vertical-stack", + "cards": [ + { + "type": "conditional", + "conditions": [ + { + "condition": "state", + "entity": "timer.motion_shutoff_timer_bedroom", + "state": "active" + } + ], + "card": { + "type": "custom:timer-bar-card", + "entities": [ + "timer.motion_shutoff_timer_bedroom" + ] + } + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.auto_wakeup_override" + }, + { + "entity": "sensor.bedroom_media_players", + "name": "Bedroom status", + "secondary_info": "last-changed" + }, + { + "entity": "input_boolean.bedroom_motion_override" + } + ], + "title": "Lighting Controls", + "show_header_toggle": false + }, + { + "type": "custom:mushroom-number-card", + "entity": "input_number.pause_motion_bedroom", + "fill_container": false + }, + { + "type": "horizontal-stack", + "cards": [ + { + "type": "custom:button-card", + "entity": "button.pause_motion_lights_bedroom", + "color": "auto", + "name": "Pause Motion", + "styles": { + "card": [ + { + "height": "50px" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "button.press", + "target": { + "entity_id": "button.pause_motion_lights_bedroom" + } + } + }, + { + "type": "custom:button-card", + "entity": "button.pause_motion_lights_bedroom_xxx", + "color_type": "card", + "color": "auto", + "name": "XXX", + "styles": { + "card": [ + { + "height": "50px" + } + ], + "tap_action": { + "action": "call-service", + "service": "button.press" + }, + "target": { + "entity_id": "button.pause_motion_lights_bedroom_xxx" + } + } + }, + { + "type": "custom:button-card", + "entity": "script.bedroom_100", + "color_type": "card", + "color": "auto", + "name": "100% on", + "styles": { + "card": [ + { + "height": "50px" + } + ] + }, + "tap_action": { + "action": "call-service", + "service": "script.turn_on", + "target": { + "entity_id": "script.bedroom_100" + } + } + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "script.1594924637072", + "name": "Nighty Night", + "secondary_info": "last-triggered" + }, + { + "entity": "script.google_home_retire", + "name": "Retire", + "secondary_info": "last-triggered", + "icon": "mdi:bed" + }, + { + "entity": "script.1594590169013", + "name": "Good Morning", + "secondary_info": "last-triggered" + }, + { + "entity": "input_boolean.disable_mobile_alarms" + } + ] + }, + { + "type": "entities", + "entities": [ + { + "entity": "switch.adaptive_lighting_bedroom_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_brightness_bedroom_lights" + }, + { + "entity": "switch.adaptive_lighting_adapt_color_bedroom_lights" + }, + { + "entity": "switch.adaptive_lighting_sleep_mode_bedroom_lights" + } + ] + } + ] + } + }, + "attributes": { + "label": "Lighting Control" + } + } + ] + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.taken_medication", + "secondary_info": "last-changed" + }, + { + "entity": "input_boolean.cancel_bp" + } + ] + } + ] + } + ] + } + ], + "icon": "mdi:cannabis", + "cards": [] + }, + { + "title": "Finance", + "path": "finance", + "icon": "mdi:cash-100", + "subview": true, + "cards": [], + "type": "sections", + "sections": [ + { + "type": "grid", + "cards": [ + { + "type": "history-graph", + "title": "Account Balances", + "entities": [ + { + "entity": "sensor.fireflyiii_chase_asset_account", + "name": "Chase Asset Account" + }, + { + "entity": "sensor.fireflyiii_chase_savings_account_brian_asset_account", + "name": "Chase Savings Account" + } + ], + "hours_to_show": 24, + "refresh_interval": 300 + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "sensor", + "entity": "sensor.fireflyiii_chase_asset_account", + "name": "Chase Asset Account", + "graph": "line", + "hours_to_show": 24, + "detail": 1 + }, + { + "type": "sensor", + "entity": "sensor.fireflyiii_chase_savings_account_brian_asset_account", + "name": "Chase Savings Account", + "graph": "line", + "hours_to_show": 24, + "detail": 1 + } + ] + } + ] + }, + { + "type": "grid", + "cards": [ + { + "initial_view": "listWeek", + "type": "calendar", + "entities": [ + "calendar.fireflyiii_bills", + "calendar.bills" + ], + "title": "Bills" + } + ] + } + ] + }, + { + "title": "mail", + "path": "mail", + "icon": "mdi:card-account-mail-outline", + "subview": true, + "cards": [ + { + "type": "custom:config-template-card", + "variables": { + "url": "states['sensor.mail_image_url'].state" + }, + "entities": [ + "sensor.mail_image_url", + "sensor.mail_usps_mail", + "input_boolean.mail_seen" + ], + "card": { + "type": "picture", + "image": "${url}" + }, + "hold_action": { + "action": "call-service", + "service": "input_boolean.turn_on", + "target": { + "entity_id": "input_boolean.mail_seen" + } + } + }, + { + "type": "entities", + "entities": [ + "input_boolean.mail_seen" + ] + } + ], + "badges": [ + { + "type": "entity", + "entity": "sensor.mail_amazon_packages" + }, + { + "type": "entity", + "entity": "sensor.mail_dhl_packages" + }, + { + "type": "entity", + "entity": "sensor.mail_fedex_packages" + }, + { + "type": "entity", + "entity": "sensor.mail_ups_packages" + }, + { + "type": "entity", + "entity": "sensor.mail_usps_packages" + } + ] + }, + { + "type": "sections", + "max_columns": 4, + "title": "test", + "path": "test", + "sections": [ + { + "type": "grid", + "cards": [ + { + "type": "heading", + "heading_style": "title" + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "fire-dom-event", + "local_conditional_card": { + "action": "toggle", + "ids": [ + "den-card" + ] + } + }, + "icon": "mdi:eye-circle", + "name": "Den", + "grid_options": { + "columns": 3, + "rows": 2 + } + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "icon": "mdi:eye-circle", + "name": "Dining Room", + "grid_options": { + "columns": 3, + "rows": 2 + }, + "tap_action": { + "action": "fire-dom-event", + "local_conditional_card": { + "action": "toggle", + "ids": [ + "dining-room-card" + ] + } + } + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "fire-dom-event", + "local_conditional_card": { + "action": "toggle", + "ids": [ + "living-room-card" + ] + } + }, + "icon": "mdi:eye-circle", + "name": "Living Room", + "grid_options": { + "columns": 3, + "rows": 2 + } + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "fire-dom-event", + "local_conditional_card": { + "action": "toggle", + "ids": [ + "kitchen-card" + ] + } + }, + "icon": "mdi:eye-circle", + "name": "Kitchen", + "grid_options": { + "columns": 3, + "rows": 2 + } + }, + { + "show_name": true, + "show_icon": true, + "type": "button", + "tap_action": { + "action": "fire-dom-event", + "local_conditional_card": { + "action": "toggle", + "ids": [ + "bedroom-card" + ] + } + }, + "icon": "mdi:eye-circle", + "name": "Bedroom", + "grid_options": { + "columns": 3, + "rows": 2 + } + } + ] + }, + { + "type": "grid", + "cards": [ + { + "type": "heading", + "heading_style": "title" + }, + { + "type": "custom:local-conditional-card", + "default": "show", + "id": "den-card", + "persist_state": true, + "card": { + "camera_view": "auto", + "type": "picture-glance", + "title": "Den", + "entities": [ + { + "entity": "light.den_lights" + }, + { + "entity": "switch.den_leds" + } + ], + "camera_image": "camera.dogs_sub", + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/den" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/den" + }, + "aspect_ratio": "4x2" + } + }, + { + "type": "custom:local-conditional-card", + "default": "show", + "id": "dining-room-card", + "persist_state": true, + "card": { + "camera_view": "live", + "type": "picture-glance", + "title": "Dining Room", + "entities": [ + { + "entity": "light.dining_table" + }, + { + "entity": "light.entryway" + }, + { + "entity": "binary_sensor.dining_room_motion_sensors" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/dining-room" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/dining-room" + }, + "camera_image": "camera.front_entryway_snapshots_clear", + "aspect_ratio": "4x2" + } + }, + { + "type": "custom:local-conditional-card", + "default": "show", + "id": "living-room-card", + "persist_state": true, + "card": { + "camera_view": "auto", + "type": "picture-glance", + "title": "Living Room", + "image": "/local/img/living-room.jpg", + "entities": [ + { + "entity": "light.living_room_fan_lights" + }, + { + "entity": "light.couch_lamps" + }, + { + "entity": "light.living_room_led_strip" + }, + { + "entity": "light.tv_leds" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/living-room" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/living-room" + }, + "aspect_ratio": "4x2" + } + }, + { + "type": "custom:local-conditional-card", + "default": "show", + "id": "kitchen-card", + "persist_state": true, + "card": { + "camera_view": "auto", + "type": "picture-glance", + "title": "Kitchen", + "image": "/local/img/kitchen.jpg", + "entities": [ + { + "entity": "light.kitchen_fan_lights" + }, + { + "entity": "light.kitchen_can_lights" + }, + { + "entity": "light.kitchen_sink" + }, + { + "entity": "light.edison_east" + }, + { + "entity": "light.edison_west" + }, + { + "entity": "binary_sensor.kitchen_motion_sensors" + }, + { + "entity": "binary_sensor.fridge_contact" + }, + { + "entity": "sensor.kitchen_display_timers" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/kitchen" + }, + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/kitchen" + }, + "aspect_ratio": "4x2" + } + }, + { + "type": "custom:local-conditional-card", + "default": "show", + "id": "bedroom-card", + "persist_state": true, + "card": { + "camera_view": "auto", + "type": "picture-glance", + "entities": [ + { + "entity": "light.bedroom_all_lights" + }, + { + "entity": "light.bed_lights_2" + } + ], + "tap_action": { + "action": "navigate", + "navigation_path": "/touch-lights/bedroom" + }, + "title": "Bedroom", + "image": "/local/img/bachelor-bedroom.jpeg", + "hold_action": { + "action": "navigate", + "navigation_path": "/lovelace/bedroom" + }, + "aspect_ratio": "4x2" + } + } + ] + }, + { + "type": "grid", + "cards": [ + { + "type": "heading", + "heading": "New section" + } + ] + }, + { + "type": "grid", + "cards": [ + { + "type": "heading", + "heading": "Ernie Dock" + }, + { + "type": "tile", + "entity": "binary_sensor.ernie_dock_clean_water_box" + }, + { + "type": "tile", + "entity": "binary_sensor.ernie_dock_dirty_water_box" + }, + { + "type": "tile", + "entity": "sensor.ernie_dock_dock_error" + }, + { + "type": "tile", + "entity": "binary_sensor.ernie_dock_mop_drying" + }, + { + "type": "tile", + "entity": "sensor.ernie_dock_mop_drying_remaining_time" + }, + { + "type": "tile", + "entity": "sensor.ernie_dock_strainer_time_left" + } + ] + } + ], + "badges": [] + } + ] +} \ No newline at end of file