Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- title: SWAKES
- kiosk_mode:
- kiosk: true
- sidebar:
- digitalClock: true
- twelveHourVersion: true
- date: true
- width:
- mobile: 0
- tablet: 20
- desktop: 20
- breakpoints:
- mobile: 768
- tablet: 1024
- sidebarMenu:
- - action: navigate
- navigation_path: /lovelace-sidebar/main
- name: Home
- active: true
- - action: navigate
- navigation_path: /lovelace-sidebar/lights
- name: Lights
- - action: navigate
- navigation_path: /lovelace-sidebar/security
- name: Security
- - action: navigate
- navigation_path: /lovelace-sidebar/media
- name: Media
- style: |
- :host {
- --sidebar-background: #2b374e;
- --sidebar-text-color: #FFF;
- --face-color: #FFF;
- --face-border-color: #FFF;
- --clock-hands-color: #2b374e;
- --clock-seconds-hand-color: #FF4B3E;
- --clock-middle-background: #FFF;
- --clock-middle-border: #000;
- text-align: center;
- }
- .digitalClock {
- text-align: center;
- padding-bottom: 1px;
- padding-top: 20px;
- font-size:60px!important;
- line-height: 60px;
- }
- .date {
- text-align: center;
- padding-bottom: 1px;
- font-size:30px!important;
- line-height: 60px;
- }
- bottomCard:
- type: vertical-stack
- cardOptions:
- cards:
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: 'custom:button-card'
- entity: light.sam_s_fire_screen
- icon: 'mdi:monitor-lock'
- show_icon: true
- show_state: false
- name: false
- show_name: false
- styles:
- icon:
- - width: 50%
- - color: white
- card:
- - padding-top: 20px
- - type: 'custom:button-card'
- entity: switch.sonoff_1000ae39fc_2
- icon: 'mdi:restart'
- show_icon: true
- show_state: false
- name: false
- show_name: false
- styles:
- icon:
- - width: 50%
- - color: white
- card:
- - padding-top: 20px
- - type: horizontal-stack
- cards:
- - type: 'custom:slider-entity-row'
- entity: light.sam_s_fire_screen
- full_row: true
- cardStyle: |
- :host {
- width: 100%;
- background-color:#FFF;
- }
- views:
- - title: main
- path: main
- badges: []
- cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - height: 35px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- - type: weather-forecast
- entity: weather.home
- show_forecast: false
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 5px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- - type: 'custom:atomic-calendar-revive'
- entities:
- - entity: calendar.calendar_google
- firstDayOfWeek: 1
- showDate: false
- hideFinishedEvents: true
- showLocation: true
- showRelativeTime: true
- showLastCalendarWeek: false
- disableCalEventLink: true
- disableCalLocationLink: true
- dimFinishedEvents: true
- maxDaysToShow: 3
- showWeekDay: true
- showMonth: false
- showCurrentEventLine: false
- showProgressBar: false
- disableCalLink: true
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 5px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- - entities:
- - entity: sensor.general
- type: glance
- - entities:
- - entity: sensor.recycling_2
- icon: 'mdi:recycle'
- type: glance
- - entities:
- - entity: sensor.garden
- icon: 'mdi:sprout'
- type: glance
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - height: 35px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - entities:
- - entity: sensor.multi_sensor_2
- name: Hallway
- - entity: sensor.living_room_temperature
- name: Bedroom
- - entity: sensor.temperature_23
- name: Office
- icon: 'mdi:home-floor-2'
- name: Second Floor
- height: 50
- type: 'custom:mini-graph-card'
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 5px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: 'custom:mod-card'
- card:
- type: 'custom:thermostat-card'
- entity: climate.hallway
- small_i: false
- chevron_size: 50
- title: Nest
- no_card: true
- style:
- thermostat-card$: |
- svg.dial {
- --thermostat-off-fill: var(--card-background-color);
- }
- div.dialog {
- background-color: #13274a;
- }
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- - title: Lights
- path: lights
- badges: []
- cards:
- - cards:
- - cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - height: 100px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- - entity: light.master_lights
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- hold_action:
- action: more-info
- icon: 'mdi:ceiling-light'
- name: Ceiling
- state:
- - icon: 'mdi:ceiling-light'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:ceiling-light'
- operator: default
- styles:
- card:
- - height: 100px
- - animation: mymove 10s infinite
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 5px
- type: 'custom:button-card'
- - entity: light.living_room
- icon: 'mdi:wall-sconce-flat'
- name: Ensuite
- state:
- - icon: 'mdi:wall-sconce-flat'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:wall-sconce-flat'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 5px
- type: 'custom:button-card'
- - entity: light.living_room
- icon: 'mdi:wardrobe-outline'
- name: Wardrobe
- state:
- - icon: 'mdi:wardrobe-outline'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:wardrobe-outline'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 25px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- - entity: switch.sonoff_1000ae39fc_2
- icon: 'mdi:desk-lamp'
- name: Left Lamp
- state:
- - icon: 'mdi:desk-lamp'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:desk-lamp'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 5px
- type: 'custom:button-card'
- - entity: switch.sonoff_1000ae39fc_2
- icon: 'mdi:desk-lamp'
- name: Right Lamp
- state:
- - icon: 'mdi:desk-lamp'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:desk-lamp'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 25px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- - entity: light.master_bedside_sam_rgb_light
- hold_action:
- action: more-info
- icon: 'mdi:led-strip-variant'
- name: Left RGB
- state:
- - icon: 'mdi:led-strip-variant'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:led-strip-variant'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 5px
- type: 'custom:button-card'
- - entity: light.master_bedside_sam_rgb_light
- icon: 'mdi:led-strip-variant'
- name: Right RGB
- state:
- - icon: 'mdi:led-strip-variant'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: 'off'
- - color: white
- icon: 'mdi:led-strip-variant'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - padding: 5px 0px
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- type: vertical-stack
- type: vertical-stack
- - cards:
- - cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - height: 100px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: group.all_house_lights
- name: All Lights
- show_name: true
- state:
- - icon: 'mdi:home'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - font-size: 15px
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home'
- operator: default
- styles:
- card:
- - height: 100px
- name:
- - font-size: 15px
- icon:
- - width: 30%
- - color_type: blank-card
- styles:
- card:
- - width: 20px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: group.all_ground_lights
- name: Ground Floor
- show_name: true
- state:
- - icon: 'mdi:home-floor-g'
- styles:
- card:
- - height: 100px
- name:
- - font-size: 15px
- - opacity: 0.5
- icon:
- - width: 30%
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-g'
- operator: default
- styles:
- card:
- - height: 100px
- name:
- - font-size: 15px
- icon:
- - width: 30%
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 25px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: group.all_first_lights
- name: First Floor
- show_name: true
- state:
- - icon: 'mdi:home-floor-1'
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- - opacity: 0.5
- name:
- - font-size: 15px
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-1'
- operator: default
- styles:
- card:
- - height: 100px
- name:
- - font-size: 15px
- icon:
- - width: 30%
- - color_type: blank-card
- styles:
- card:
- - width: 20px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: group.all_second_lights
- name: Second Floor
- show_name: true
- state:
- - icon: 'mdi:home-floor-2'
- styles:
- card:
- - height: 100px
- name:
- - font-size: 15px
- - opacity: 0.5
- icon:
- - width: 30%
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-2'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 30%
- name:
- - font-size: 15px
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 25px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: automation.new_daytime_on
- name: Hallway Timing<br>Automation
- show_name: false
- state:
- - icon: 'mdi:clock-digital'
- styles:
- card:
- - height: 100px
- icon:
- - width: 40%
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:clock-digital'
- operator: default
- styles:
- card:
- - height: 100px
- - animation: mymove 10s infinite
- icon:
- - width: 40%
- - color_type: blank-card
- styles:
- card:
- - width: 20px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: group.new_daytime
- name: Hallway Timing<br>Automation
- show_name: false
- tap_action:
- action: call-service
- service: automation.turn_on
- service_data:
- entity_id:
- - automation.ikea_ceiling_ground_floor
- - automation.ikea_ceiling_first_floor
- - automation.kitchen_corner_pir
- - automation.kitchen_sink_pir
- - automation.ikea_ceiling_kitchen_lights_off
- - automation.ikea_ceiling_kitchen_lights_on
- state:
- - icon: 'mdi:weather-sunny'
- styles:
- card:
- - height: 100px
- icon:
- - width: 40%
- - opacity: 0.5
- value: 'off'
- - color: white
- icon: 'mdi:weather-sunny'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 40%
- - color_type: blank-card
- styles:
- card:
- - width: 20px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: group.new_daytime
- name: Hallway Timing<br>Automation
- show_name: false
- tap_action:
- action: call-service
- service: automation.turn_off
- service_data:
- entity_id:
- - automation.ikea_ceiling_ground_floor
- - automation.ikea_ceiling_first_floor
- - automation.kitchen_corner_pir
- - automation.kitchen_sink_pir
- - automation.ikea_ceiling_kitchen_lights_off
- - automation.ikea_ceiling_kitchen_lights_on
- state:
- - icon: 'mdi:weather-night'
- styles:
- card:
- - height: 100px
- icon:
- - width: 40%
- value: 'off'
- - color: white
- icon: 'mdi:weather-night'
- operator: default
- styles:
- card:
- - height: 100px
- icon:
- - width: 40%
- - opacity: 0.5
- - color_type: blank-card
- styles:
- card:
- - width: 15px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- type: vertical-stack
- type: vertical-stack
- - title: security
- path: security
- icon: 'mdi:shield-home'
- badges: []
- cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - height: 10px
- type: 'custom:button-card'
- - cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - entity: light.living_room
- icon: 'mdi:home-lock'
- lock:
- duration: 10
- enabled: true
- unlock: hold
- name: Activate
- aspect_ratio: 3/2
- state:
- - icon: 'mdi:home-lock'
- styles:
- icon:
- - width: 40%
- name:
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- - padding-bottom: 5px
- value: 'off'
- - color: white
- icon: 'mdi:home-lock'
- operator: default
- styles:
- icon:
- - width: 40%
- name:
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- - padding-bottom: 5px
- type: 'custom:button-card'
- - entity: switch.office_lamp
- icon: 'mdi:home-lock-open'
- lock:
- duration: 10
- enabled: true
- unlock: hold
- name: Disarm
- aspect_ratio: 3/2
- state:
- - icon: 'mdi:home-lock-open'
- styles:
- icon:
- - width: 40%
- name:
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- - padding-bottom: 5px
- value: 'off'
- - color: white
- icon: 'mdi:home-lock-open'
- operator: default
- styles:
- icon:
- - width: 40%
- name:
- - font-size: 15px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- - padding-bottom: 5px
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - color_type: icon
- entity: group.first_door_sensors
- icon: 'mdi:home'
- styles:
- name:
- - font-size: 80%
- icon:
- - height: 30px
- - color: white
- layout: vertical
- name: Home
- aspect_ratio: 4/3
- type: 'custom:button-card'
- - icon: 'mdi:weather-night'
- name: Night
- color_type: icon
- styles:
- name:
- - font-size: 80%
- icon:
- - height: 30px
- - color: white
- entity: group.first_door_sensors
- layout: vertical
- aspect_ratio: 4/3
- type: 'custom:button-card'
- - icon: 'mdi:volume-mute'
- name: Silent
- color_type: icon
- styles:
- name:
- - font-size: 80%
- icon:
- - height: 30px
- - color: white
- entity: group.first_door_sensors
- layout: vertical
- aspect_ratio: 4/3
- type: 'custom:button-card'
- - icon: 'mdi:alarm-bell'
- name: Panic
- color_type: icon
- styles:
- name:
- - font-size: 80%
- icon:
- - height: 30px
- - color: white
- entity: group.first_door_sensors
- layout: vertical
- aspect_ratio: 4/3
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - color_type: icon
- entity: group.ground_front_back_sensors
- icon: 'mdi:home-floor-g'
- layout: vertical
- show_name: false
- aspect_ratio: 21/9
- state:
- - icon: 'mdi:home-floor-g'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-g'
- operator: default
- styles:
- card:
- - background-color: 'rgba(207, 0, 15, 0.8)'
- type: 'custom:button-card'
- - color_type: icon
- entity: group.first_door_sensors
- icon: 'mdi:home-floor-1'
- layout: vertical
- show_name: false
- aspect_ratio: 21/9
- state:
- - icon: 'mdi:home-floor-1'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-1'
- operator: default
- styles:
- card:
- - background-color: 'rgba(245, 229, 27, 0.8)'
- type: 'custom:button-card'
- - color_type: icon
- entity: group.second_door_sensors
- icon: 'mdi:home-floor-2'
- layout: vertical
- show_name: false
- aspect_ratio: 21/9
- state:
- - icon: 'mdi:home-floor-2'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:home-floor-2'
- operator: default
- styles:
- card:
- - background-color: 'rgba(245, 229, 27, 0.8)'
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - color_type: icon
- entity: group.all_door_sensors
- icon: 'mdi:door-closed'
- layout: vertical
- show_name: false
- aspect_ratio: 3/2
- state:
- - icon: 'mdi:door-closed'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:door-closed'
- operator: default
- styles:
- card:
- - background-color: 'rgba(245, 229, 27, 0.8)'
- type: 'custom:button-card'
- - color_type: icon
- entity: group.pir_sensor_check
- icon: 'mdi:motion-sensor'
- layout: vertical
- show_name: false
- aspect_ratio: 3/2
- state:
- - icon: 'mdi:motion-sensor'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:motion-sensord'
- operator: default
- styles:
- card:
- - background-color: 'rgba(245, 229, 27, 0.8)'
- type: 'custom:button-card'
- - color_type: icon
- entity: group.pir_sensor_check
- icon: 'mdi:cctv'
- layout: vertical
- show_name: false
- aspect_ratio: 3/2
- state:
- - icon: 'mdi:cctv'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:cctv'
- operator: default
- styles:
- card:
- - background-color: 'rgba(245, 229, 27, 0.8)'
- type: 'custom:button-card'
- - color_type: icon
- entity: group.pir_sensor_check
- icon: 'mdi:lan'
- layout: vertical
- show_name: false
- aspect_ratio: 3/2
- state:
- - icon: 'mdi:lan'
- styles:
- card:
- - background-color: 'rgba(0, 255, 0, 0.2)'
- icon: null
- value: 'off'
- - color: white
- icon: 'mdi:lan'
- operator: default
- styles:
- card:
- - background-color: 'rgba(245, 229, 27, 0.8)'
- type: 'custom:button-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- - cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - cards:
- - card:
- show_icon: false
- type: entities
- filter:
- include:
- - entity_id: binary_sensor.window_door_sensor
- options:
- secondary_info: last-changed
- - entity_id: binary_sensor.window_door_sensor_2
- options:
- secondary_info: last-changed
- - entity_id: binary_sensor.openclose_22
- options:
- secondary_info: last-changed
- sort:
- count: 2
- method: last_changed
- type: 'custom:auto-entities'
- title: false
- type: 'custom:vertical-stack-in-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - cards:
- - card:
- type: entities
- filter:
- include:
- - entity_id: binary_sensor.living_room_tv_cabinet_pir_sensor
- options:
- secondary_info: last-changed
- - entity_id: binary_sensor.first_hallway_motion
- options:
- secondary_info: last-changed
- sort:
- count: 2
- method: last_changed
- type: 'custom:auto-entities'
- title: false
- type: 'custom:vertical-stack-in-card'
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- type: vertical-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - height: 10px
- type: 'custom:button-card'
- - cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- - entity: camera.uvc_g3_front
- show_name: false
- show_state: false
- type: picture-entity
- camera_image: camera.uvc_g3_front
- camera_view: live
- aspect_ratio: 48%
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 9px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- - entity: camera.swk_cr_uniuvc2
- show_name: false
- show_state: false
- type: picture-entity
- aspect_ratio: 48%
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 9px
- type: 'custom:button-card'
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: 'custom:button-card'
- - entity: camera.swk_cr_uniuvc3
- show_name: false
- show_state: false
- type: picture-entity
- aspect_ratio: 48%
- camera_view: live
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- type: vertical-stack
- - title: media
- path: media
- badges: []
- cards:
- - cards:
- - content: >
- # <img width="30" height="30" src='/local/googlehome.png'
- style='vertical-align:middle' /> Speakers
- style:
- .: |
- ha-card {
- background-color: transparent !important;
- box-shadow: none !important;
- }
- ha-markdown:
- $: |
- h1 {
- font-size: 25px;
- # font-weight: bold;
- text-align: center;
- letter-spacing: '-0.01em';
- }
- type: markdown
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: entities
- show_icon: false
- entities:
- - input_select.speaker_select
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: 'custom:state-switch'
- entity: input_select.speaker_select
- states:
- Kitchen:
- type: vertical-stack
- cards:
- - artwork: cover
- entity: media_player.googlehome4654
- hide:
- power_state: false
- source: true
- volume: false
- icon: 'mdi:google-home'
- name: Kitchen Speaker
- tts:
- platform: google
- type: 'custom:mini-media-player'
- Living Room:
- type: vertical-stack
- cards:
- - artwork: cover
- entity: media_player.living_room_speaker
- hide:
- power_state: true
- source: true
- volume: false
- icon: 'mdi:google-home'
- name: Living Room Speaker
- tts:
- platform: google
- type: 'custom:mini-media-player'
- Master Bedroom:
- type: vertical-stack
- cards:
- - artwork: cover
- entity: media_player.master_bedroom_speaker
- hide:
- power_state: true
- source: true
- volume: false
- icon: 'mdi:google-home'
- name: Master Bedroom Speaker
- tts:
- platform: google
- type: 'custom:mini-media-player'
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - content: >
- # <img width="30" height="30" src='/local/gochca.png'
- style='vertical-align:middle' /> Chromecasts
- style:
- .: |
- ha-card {
- background-color: transparent !important;
- box-shadow: none !important;
- }
- ha-markdown:
- $: |
- h1 {
- font-size: 25px;
- # font-weight: bold;
- text-align: center;
- letter-spacing: '-0.01em';
- }
- type: markdown
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: entities
- show_icon: false
- entities:
- - input_select.chromecast_select
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: 'custom:state-switch'
- entity: input_select.chromecast_select
- states:
- Snug:
- type: vertical-stack
- cards:
- - artwork: cover
- entity: media_player.snug_tv
- hide:
- power_state: true
- source: true
- volume: false
- icon: 'mdi:cast-connected'
- name: Snug
- type: 'custom:mini-media-player'
- Living Room:
- type: vertical-stack
- cards:
- - artwork: cover
- entity: media_player.master_bedroom_tv
- hide:
- power_state: true
- source: true
- volume: false
- icon: 'mdi:cast-connected'
- name: Living Room
- type: 'custom:mini-media-player'
- Master Bedroom:
- type: vertical-stack
- cards:
- - artwork: cover
- entity: media_player.master_bedroom_tv
- hide:
- power_state: true
- source: true
- volume: false
- icon: 'mdi:cast-connected'
- name: Master Bedroom
- type: 'custom:mini-media-player'
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: vertical-stack
- - cards:
- - content: >
- # <img width="30" height="30" src='/local/ukradio.png'
- style='vertical-align:middle' /> Radio
- style:
- .: |
- ha-card {
- background-color: transparent !important;
- box-shadow: none !important;
- }
- ha-markdown:
- $: |
- h1 {
- font-size: 25px;
- # font-weight: bold;
- text-align: center;
- letter-spacing: '-0.01em';
- }
- type: markdown
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - entities:
- - entity: input_select.radio_station
- icon: 'mdi:radio'
- - entity: input_select.googlehome_radio
- - action_name: Play
- entity: script.radio
- icon: 'mdi:play'
- name: Start Listening
- title: false
- type: entities
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- - color_type: blank-card
- styles:
- card:
- - height: 20px
- type: 'custom:button-card'
- - cards:
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: light.wled
- entity_picture: /local/gochca.png
- show_icon: false
- show_entity_picture: true
- name: Chromecast
- styles:
- card:
- - height: 120px
- icon:
- - width: 30%
- name:
- - padding-bottom: 15px
- - font-size: 14px
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.front_door_lamp_timer'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- - type: 'custom:button-card'
- entity: light.wled
- entity_picture: /local/googlehome.png
- show_icon: false
- show_entity_picture: true
- name: Google Home Mini
- styles:
- card:
- - height: 120px
- icon:
- - width: 30%
- name:
- - padding-bottom: 15px
- - font-size: 14px
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.front_door_lamp_timer'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- - cards:
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- - type: 'custom:button-card'
- entity: light.wled
- entity_picture: /local/tvv.png
- show_icon: false
- show_entity_picture: true
- name: Bedroom TV
- styles:
- card:
- - height: 120px
- icon:
- - width: 30%
- name:
- - padding-bottom: 15px
- - font-size: 14px
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.front_door_lamp_timer'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- - type: 'custom:button-card'
- entity: light.wled
- entity_picture: /local/ps.png
- show_icon: false
- show_entity_picture: true
- name: Playstation 4
- styles:
- card:
- - height: 120px
- icon:
- - width: 30%
- name:
- - padding-bottom: 15px
- - font-size: 14px
- custom_fields:
- notification:
- - background-color: |
- [[[
- if (states['automation.front_door_lamp_timer'].state == 'on')
- return "green";
- return "#AD5C5C";
- ]]]
- - border-radius: 20%
- - position: absolute
- - left: 10%
- - top: 91%
- - opacity: 0.5
- - height: 4px
- - width: 80%
- custom_fields:
- notification: |
- [[[
- return `<ha-icon
- icon="mdi:robot"
- style="display: block; width: 1px; height: 1px; color: white; margin: auto; position: relative;">
- </ha-icon>`
- ]]]
- - color_type: blank-card
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- type: vertical-stack
- type: vertical-stack
Add Comment
Please, Sign In to add comment