Skip to content

Instantly share code, notes, and snippets.

@redford-jones
Created September 29, 2022 15:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save redford-jones/bea2d5925f2ddf1b892eb698d6f0affd to your computer and use it in GitHub Desktop.
Save redford-jones/bea2d5925f2ddf1b892eb698d6f0affd to your computer and use it in GitHub Desktop.
wallpanel_screensaver:
enabled: true
debug: false
hide_toolbar: true
hide_sidebar: false
fullscreen: true
idle_time: 60
fade_in_time: 5
crossfade_time: 3
display_time: 15
screensaver_tint: 25
display_tint: 50
keep_screen_on_time: 0
black_screen_after_time: 0
weather_entity: weather.home
image_url: ''
image_fit: cover
info_update_interval: 30
info_position_update_interval: 30
info_position_crossfade_time: 3
style:
wallpanel-screensaver-info-date:
font-size: 8vh
font-weight: 600
color: '#ffffff'
text-shadow: >-
-2px -2px 0 #000000, 2px -2px 0 #000000, -2px 2px 0 #000000, 2px 2px 0
#000000
wallpanel-screensaver-info-time:
font-size: 15vh
font-weight: 1200
color: '#ffffff'
text-shadow: >-
-2.5px -2.5px 0 #000000, 2.5px -2.5px 0 #000000, -2.5px 2.5px 0 #000000,
2.5px 2.5px 0 #000000
wallpanel-screensaver-info-weather:
font-size: 5vh
font-weight: 400
color: '#ffffff'
text-shadow: >-
-1.5px -1.5px 0 #000000, 1.5px -1.5px 0 #000000, -1.5px 1.5px 0 #000000,
1.5px 1.5px 0 #000000
display: inline
vertical-align: top
position: relative
left: '-36px'
weather-temperature-icon:
width: 64px
height: 64px
vertical-align: middle
position: relative
left: 12px
weather-state-icon:
width: 64px
height: 64px
vertical-align: middle
info_template: ' <div id="wallpanel-screensaver-info-weather"> <table> <tr> <th><img id="weather-temperature-icon" src="{{ filesParentPath }}/weather-icons/thermometer.svg"/></th> <th>{{ states[config.weather_entity].attributes.temperature }}°&ensp;</th> <th><img id="weather-state-icon" src="{{ filesParentPath }}/weather-icons/{{ states[config.weather_entity].state }}-sun-{{ states["sun.sun"].state.replace("_", "-"); }}.svg"/></th> <th>{{ states[config.weather_entity].state.replace(/(^|\s)[A-Za-zÀ-ÖØ-öø-ÿ]/g, c => c.toUpperCase()) }}</th> </tr> </table> </div> <div id="wallpanel-screensaver-info-time">{{ (new Date()).toLocaleTimeString(undefined, {hour: "2-digit", minute:"2-digit", hour12: config.hour_12}) }}</div> <div id="wallpanel-screensaver-info-date">{{ (new Date()).toLocaleDateString(undefined, {weekday: "short", year: "numeric", month: "short", day: "numeric"}) }}</div>'
kiosk_mode:
hide_header: true
views:
- theme: noctis
title: Home
type: panel
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: entity
entity: alarm_control_panel.ring_alarm
use_entity_picture: false
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
icon: ''
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
- type: entity
entity: sensor.persons_home
icon: mdi:account
alignment: center
- type: custom:swipe-card
parameters:
loop: true
slidesPerView: 1
spaceBetween: 1
navigation:
nextEl: .swiper-button-next
prevEl: .swiper-button-prev
cards:
- type: weather-forecast
show_current: true
show_forecast: true
entity: weather.home
secondary_info_attribute: wind_speed
name: Shrewsbury
- type: custom:digital-clock
timeFormat: HH:MM:ss
dateFormat: cccc d MMMM
style: |
ha-card {
overflow: hidden !important;
box-shadow: none !important;
padding-top: 90px !important;
}
- show_name: false
show_icon: true
type: button
entity: switch.router
icon: phu:alexa-logo
icon_height: 140px
tap_action:
action: call-service
service: script.start_nspanel_alexa
data: {}
target: {}
hold_action:
action: none
style: |
ha-card {
overflow: hidden !important;
box-shadow: none !important;
padding-top: 50px !important;
}
- type: custom:mini-graph-card
name: Temperatures
hours_to_show: 168
entities:
- entity: sensor.average_temperature
name: Indoor
color_thresholds:
- value: 18
color: '#2cae60'
- value: 17
color: '#f1c40f'
- value: 16
color: '#2980b9'
- entity: sensor.openweathermap_temperature
name: Outdoor
- entity: switch.central_heating_temperature_setpoint_hold
name: Heating
color: black
show_line: false
show_points: false
show_legend: false
y_axis: secondary
smoothing: true
line_width: 1
state_map:
- value: 'off'
label: 'Off'
- value: 'on'
label: Heating
- square: false
columns: 4
type: grid
cards:
- show_name: true
show_icon: false
type: button
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/lights
entity: sensor.lights_on_count
name: Lights
theme: kibibit
style: |
ha-card {
margin-left: 10px;
height: 110px !important;
}
hold_action:
action: none
- show_name: true
show_icon: false
type: button
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/skylights
entity: sensor.persons_home
theme: kibibit
hold_action:
action: none
name: Skylights
- show_name: true
show_icon: false
type: button
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/music
entity: sensor.persons_home
name: Music
theme: kibibit
hold_action:
action: none
- show_name: true
show_icon: false
type: button
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/fans
entity: sensor.persons_home
name: Fans
theme: kibibit
style: |
ha-card {
margin-right: 10px;
height: 110px !important;
}
hold_action:
action: none
- type: horizontal-stack
style: |
#root > hui-horizontal-stack-card {
overflow: hidden !important;
width: 90% !important;
padding: 0px !important;
margin-left: 30px;
margin-bottom: 15px;
}
cards:
- type: custom:mushroom-entity-card
style: |
ha-card {
background: transparent !important;
overflow: hidden !important;
box-shadow: none !important;
}
entity: sensor.home_safety
icon_color: green
vertical: true
primary_info: none
secondary_info: none
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/security
hold_action:
action: none
- type: custom:mushroom-entity-card
style: |
ha-card {
background: transparent !important;
overflow: hidden !important;
box-shadow: none !important;
}
entity: climate.central_heating
vertical: true
primary_info: none
secondary_info: none
icon: mdi:fire
icon_color: deep-orange
hold_action:
action: none
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: custom:mushroom-entity-card
style: |
ha-card {
background: transparent !important;
overflow: hidden !important;
box-shadow: none !important;
}
entity: sensor.events_count
vertical: true
primary_info: none
secondary_info: none
icon: mdi:calendar-month
icon_color: blue
hold_action:
action: none
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/home-feed
- type: custom:mushroom-entity-card
style: |
ha-card {
background: transparent !important;
overflow: hidden !important;
box-shadow: none !important;
}
entity: sun.sun
vertical: true
primary_info: none
secondary_info: none
icon: mdi:cog
icon_color: orange
hold_action:
action: none
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/settings
- theme: noctis
path: alarm
type: panel
title: Alarm
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
- type: entity
entity: sensor.persons_home
icon: mdi:account
alignment: center
- type: alarm-panel
style: |
ha-card {
padding-bottom: 50px!important;
}
states:
- arm_home
- arm_away
entity: alarm_control_panel.ring_alarm
name: Alarm
- theme: noctis
title: Lights
path: lights
type: panel
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: alarm-control-panel
entity: alarm_control_panel.ring_alarm
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
hold_action:
action: none
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
alignment: center
- type: custom:mushroom-title-card
title: Ground Floor Lights
- type: custom:swipe-card
parameters:
loop: true
slidesPerView: 1
spaceBetween: 1
navigation:
nextEl: .swiper-button-next
prevEl: .swiper-button-prev
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: ''
subtitle: Living Room
- square: false
columns: 2
type: grid
cards:
- type: custom:mushroom-light-card
entity: light.living_room_dimmer_right
layout: vertical
name: Left Dimmer
fill_container: true
use_light_color: true
collapsible_controls: false
show_brightness_control: false
hold_action:
action: more-info
- type: custom:mushroom-light-card
entity: light.living_room_dimmer_left
name: Right Dimmer
layout: vertical
fill_container: true
hold_action:
action: more-info
use_light_color: true
- type: custom:mushroom-light-card
entity: light.mood_lights_2
name: Mood Lights
layout: vertical
fill_container: true
use_light_color: true
hold_action:
action: more-info
- type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: ''
subtitle: Kitchen
- square: false
columns: 2
type: grid
cards:
- type: custom:mushroom-light-card
entity: light.kitchen
layout: vertical
name: Dimmer
fill_container: true
use_light_color: true
collapsible_controls: false
show_brightness_control: false
hold_action:
action: more-info
- type: custom:mushroom-light-card
entity: light.kitchen_counter
layout: vertical
name: Counter Lights
fill_container: true
use_light_color: true
collapsible_controls: false
show_brightness_control: false
hold_action:
action: more-info
- theme: noctis
path: music
type: panel
title: Music
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: alarm-control-panel
entity: alarm_control_panel.ring_alarm
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
hold_action:
action: none
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
alignment: center
- type: custom:mushroom-title-card
title: Sonos
- type: custom:mini-media-player
style: |
ha-card {
padding-bottom: 40px!important;
}
entity: media_player.office_2
speaker_group:
platform: sonos
show_group_count: true
expanded: true
entities:
- entity_id: media_player.office_2
name: Sonos Office
- entity_id: media_player.sonos_lbeam
name: Sonos Living Room
- entity_id: media_player.kitchen
name: Sonos Kitchen
artwork: none
source: full
info: scroll
sound_mode: icon
toggle_power: true
group: false
shortcuts:
columns: 1
buttons:
- icon: mdi:play-box-multiple-outline
type: service
id: browser_mod.popup
data:
title: Media Browser
hide_header: false
large: false
card:
type: iframe
url: /media-browser
aspect_ratio: 200%
name: Master controller
- theme: noctis
title: Skylights
path: skylights
type: panel
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: alarm-control-panel
entity: alarm_control_panel.ring_alarm
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
hold_action:
action: none
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
alignment: center
- type: custom:mushroom-title-card
title: Skylights
- type: vertical-stack
cards:
- type: custom:mushroom-cover-card
entity: cover.right_blind_2
style: |
ha-card {
margin-bottom: 10px!important;
}
fill_container: true
layout: vertical
show_buttons_control: true
show_position_control: true
name: Right Skylight
- type: custom:mushroom-cover-card
entity: cover.left_blind_2
name: Left Skylight
layout: vertical
fill_container: true
show_position_control: true
show_buttons_control: true
icon: ''
- theme: noctis
path: heating
title: Heating
type: panel
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
- type: alarm-control-panel
entity: alarm_control_panel.ring_alarm
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
hold_action:
action: none
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
alignment: center
- type: custom:mushroom-title-card
title: Heating
- type: custom:mushroom-climate-card
entity: climate.central_heating
layout: vertical
fill_container: true
hvac_modes:
- auto
- 'off'
show_temperature_control: true
collapsible_controls: false
- type: entities
style: |
ha-card {
box-shadow: var(--box-shadow);
padding: 12px !important;
padding-bottom: 40px!important
}
.state {
font-size: 14px !important;
font-weight: bold;
}
.name{
font-weight: bolder;
font-size: 12px !important;
filter: opacity(40%);
color: var(--primary-text-color) !important;
}
.attribute{
font-size: 12px !important;
font-weight: bolder;
filter: opacity(40%);
color: var(--primary-text-color) !important;
}
span{
font-size: 14px !important;
font-weight: bold;
}
entities:
- type: custom:multiple-entity-row
toggle: true
entity: input_boolean.emergency_boost_switch
icon: mdi:timer
entities:
- entity: sensor.average_temperature
name: Currently
- type: custom:slider-entity-row
entity: input_number.emergency_boost_minutes
name: hide_state
full_row: true
- type: conditional
row:
type: custom:timer-bar-card
entity: timer.heating_boost
name: Time remaining
conditions:
- entity: timer.heating_boost
state_not: idle
- theme: noctis
title: Home Feed
path: home-feed
type: panel
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: alarm-control-panel
entity: alarm_control_panel.ring_alarm
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
hold_action:
action: none
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
alignment: center
- type: custom:mushroom-title-card
title: Family Calendars
- type: custom:atomic-calendar-revive
entities:
- entity: calendar.calendar_redford_jones
icon: mdi:home
eventCalName: Rob
- entity: calendar.shrewsbury_town_redford_jones
color: blue
eventCalName: STFC
- entity: calendar.ellie_s_rota_redford_jones
eventCalName: Rota
color: green
- entity: calendar.sydney_s_calendar_redford_jones
eventCalName: Sydney
color: pink
- entity: calendar.ellie_s_calendar_redford_jones
eventCalName: Ellie
color: green
- entity: calendar.recycling_calendar_redford_jones
eventCalName: Recycling
color: grey
- entity: calendar.united_kingdom_holidays_redford_jones
eventCalName: Bank Holidays
firstDayOfWeek: 1
maxDaysToShow: 7
refreshInterval: 60
showRelativeTime: true
sortByStartTime: true
showMonth: true
showWeekDay: true
hideDuplicates: true
showEventIcon: true
showNoEventsForToday: false
showFullDayProgress: false
disableLocationLink: false
showCurrentEventLine: false
showHiddenText: false
disableEventLink: true
eventTitleSize: 120
locationTextSize: 80
eventCalNameSize: 100
enableModeChange: true
defaultMode: Event
showProgressBar: true
- theme: noctis
title: Security
path: security
type: panel
badges: []
cards:
- type: vertical-stack
cards:
- type: custom:mushroom-chips-card
chips:
- type: action
icon: mdi:home
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/0
- type: entity
entity: climate.central_heating
use_entity_picture: false
hold_action:
action: more-info
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/heating
- type: alarm-control-panel
entity: alarm_control_panel.ring_alarm
tap_action:
action: navigate
navigation_path: /lovelace-nspanel/alarm
hold_action:
action: none
- type: entity
entity: sensor.smart_meter_power
icon: mdi:lightning-bolt
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/power
- type: entity
entity: sensor.lights_on_count
icon: mdi:lightbulb-multiple-outline
icon_color: amber
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/lights
- type: entity
entity: sensor.fans_on_count
icon: mdi:fan
icon_color: light-blue
tap_action:
action: navigate
navigation_path: /lovelace-minimalist/fans
- type: entity
entity: sensor.doors_open_count
alignment: center
- type: custom:mushroom-title-card
title: Security
subtitle: Cameras
- type: custom:swipe-card
parameters:
loop: true
slidesPerView: 1
spaceBetween: 1
navigation:
nextEl: .swiper-button-next
prevEl: .swiper-button-prev
cards:
- camera_view: auto
type: picture-glance
entities:
- entity: binary_sensor.front_door
- entity: binary_sensor.front_door_motion_2
- entity: binary_sensor.front_door_ding_2
camera_image: camera.front_door_snapshot
title: Front Door
entity: camera.front_door_snapshot
- camera_view: auto
type: picture-glance
title: Living Room
camera_image: camera.living_room_snapshot
entity: camera.living_room_snapshot
entities:
- entity: binary_sensor.living_room_presence
- camera_view: auto
type: picture-glance
title: Kitchen
camera_image: camera.kitchen_snapshot
entity: camera.kitchen_snapshot
entities:
- entity: binary_sensor.kitchen_presence
- entity: binary_sensor.utility
- camera_view: auto
type: picture-glance
title: Office
camera_image: camera.office_snapshot
entity: camera.office_snapshot
entities:
- entity: binary_sensor.office_presence_1
- entity: binary_sensor.office_window
- camera_view: auto
type: picture-glance
title: Hallway
camera_image: camera.hallway_snapshot
entity: camera.hallway_snapshot
entities:
- entity: binary_sensor.hallway_occupancy_lower
- entity: binary_sensor.hallway
title: Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment