Skip to content

Instantly share code, notes, and snippets.

@simonjgreen
Created March 26, 2023 07:40
Show Gist options
  • Save simonjgreen/13b30e7a6955522cd505bf9ef8b8cd57 to your computer and use it in GitHub Desktop.
Save simonjgreen/13b30e7a6955522cd505bf9ef8b8cd57 to your computer and use it in GitHub Desktop.
title: Home
views:
- theme: Backend-selected
path: default_view
title: Basics
icon: mdi:home
badges: []
cards:
- type: entities
title: Main House Lights
state_color: true
entities:
- type: conditional
conditions:
- entity: binary_sensor.breakfast_time
state: 'on'
row:
type: button
icon: mdi:weather-sunset-up
name: Wake Up Lights
tap_action:
action: call-service
service: automation.trigger
data: {}
target:
entity_id: automation.wakey_wakey_family
confirmation:
text: Are you sure it's wake up time?
action_name: Lights Up!
- type: conditional
conditions:
- entity: light.willows_bedroom
state: 'on'
- entity: binary_sensor.children_lights_out
state: 'on'
row:
type: button
icon: mdi:power
name: Willow's Light Transition
action_name: Toggle light
tap_action:
action: call-service
service: light.toggle
data:
entity_id: light.willows_bedroom
transition: 10
confirmation:
text: Lights out for Willow?
- type: conditional
conditions:
- entity: light.lilys_bedroom
state: 'on'
- entity: binary_sensor.children_lights_out
state: 'on'
row:
type: button
icon: mdi:power
name: Lily's Light Transition
action_name: Toggle light
tap_action:
action: call-service
service: light.toggle
data:
entity_id: light.lilys_bedroom
transition: 10
confirmation:
text: Lights out for Willow?
- type: section
label: Ground Floor
- entity: light.kitchen
name: Kitchen
icon: mdi:countertop
- entity: light.dining_room
name: Dining
icon: mdi:table-chair
- entity: light.living_room
name: Living Room
icon: mdi:sofa
- entity: light.hall
name: Hall
- entity: light.childrens_tv_room
name: TV Room
icon: mdi:television
- entity: light.downstairs_toilet
name: Toilet
icon: mdi:toilet
- entity: light.utility_room
name: Utility
icon: mdi:washing-machine
- type: section
label: First Floor
- entity: light.willows_bedroom
name: Willow
icon: mdi:bed
- entity: light.lilys_bedroom
name: Lily
icon: mdi:bed
- entity: light.master_bedroom
icon: mdi:bed-double
name: Master
- entity: light.first_floor_landing
icon: mdi:walk
name: Landing
- entity: light.playroom
icon: mdi:bed
name: Playroom
- entity: light.family_bathroom
icon: mdi:shower
- type: section
label: Second Floor
- entity: light.rachels_office
name: Rachel
icon: mdi:chair-rolling
- entity: light.spare_bedroom
name: Spare
icon: mdi:bed-double
- entity: light.spare_bedroom_en_suite
icon: mdi:shower
- entity: light.second_floor_landing
name: Landing
icon: mdi:walk
- type: entities
entities:
- entity: light.car_port
name: Car Port
icon: mdi:car
- entity: light.garden_back_corner
name: Back Garden Corner
icon: mdi:outdoor-lamp
- entity: light.porch
name: Porch
icon: mdi:door
- entity: light.front_gate
- entity: light.summer_house_lamp
icon: mdi:greenhouse
- entity: light.dimmable_light_106
- entity: light.dimmable_light_105
- entity: light.dimmable_light_107
title: Outside Lights
state_color: true
- type: entities
entities:
- entity: switch.on_off_plug_in_unit_112
name: Lava Lamp
- entity: switch.christmas_tree
name: Christmas Tree
title: Other Devices
- type: map
entities:
- entity: device_tracker.rachel_s_pixel_5
- entity: device_tracker.pixel_7_pro
- entity: device_tracker.willows_iphone
hours_to_show: 3
default_zoom: 16
- type: conditional
conditions:
- entity: climate.e8eb1b11d33d_climate
state: heat
card:
type: entities
entities:
- entity: climate.e8eb1b11d33d_climate
name: Grill Setpoint
- entity: climate.traeger_468d_probe_p0
name: Probe
- entity: sensor.e8eb1b11d33d_pellet_level
name: Pellets
title: Traeger
- type: vertical-stack
cards:
- type: entities
entities:
- entity: binary_sensor.front_door_door_open
secondary_info: last-changed
name: Front Door
- type: horizontal-stack
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: lock.unlock
data: {}
target:
device_id: cdb78a4c81332e5bd313b5d6784fc084
confirmation:
text: Unlock front door?
name: Unlock
icon: mdi:lock-open
hold_action:
action: none
- show_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: lock.lock
data: {}
target:
device_id: cdb78a4c81332e5bd313b5d6784fc084
name: Lock
icon: mdi:lock
hold_action:
action: none
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.gate_toggle
name: Toggle Front Gate
hold_action:
action: none
- type: entities
entities:
- entity: climate.wiser_living_room
name: Living Room
- entity: climate.wiser_children_s_tv_room
name: TV Room
- entity: climate.wiser_kitchen_dining_room
name: Kitchen & Dining Room
- entity: climate.wiser_master_bedroom
name: Master Bedroom
- entity: climate.wiser_willow_s_bedroom
name: Willow's Bedroom
- entity: climate.wiser_lily_s_bedroom
name: Lily's Bedroom
- entity: climate.wiser_rachel_s_office
name: Rachel's Office
- entity: climate.annex_thermostat
name: Annex
icon: mdi:radiator-disabled
- entity: sensor.temperature_44
name: Shed
secondary_info: none
- entity: sensor.summer_house_temperature
name: Summer House
title: Temperatures
show_header_toggle: false
state_color: true
- theme: Backend-selected
title: Annex
path: annex
icon: mdi:home-floor-a
badges: []
cards:
- type: media-control
entity: media_player.annex
- type: entities
title: Lighting
entities:
- entity: light.annex
name: Ceiling
icon: mdi:spotlight-beam
- entity: light.annex_hex_panels
icon: mdi:hexagon-multiple
name: Hexagons
- entity: light.annex_triangles
icon: mdi:triangle
name: Triangles
- entity: light.annex_tv_backlight
icon: mdi:led-strip-variant
name: TV Backlight
- entity: light.annex_desk_corner_lamp
icon: mdi:floor-lamp-torchiere
name: Desk Corner
- entity: light.annex_kitchen_lamp
icon: mdi:floor-lamp-torchiere
name: Kitchen Corner
- entity: light.annex_table_lamp
icon: mdi:lamp
name: Side Table
- entity: light.annex_desk
name: Desk
icon: mdi:lamp
- entity: light.annex_bathroom
name: Bathroom
icon: mdi:shower
- type: vertical-stack
cards:
- type: thermostat
entity: climate.annex_thermostat
name: Thermostat
- show_name: true
show_icon: true
type: button
entity: switch.annex_fan_heater
name: Fan Heater
tap_action:
action: toggle
show_state: true
hold_action:
action: more-info
- type: entities
entities:
- entity: switch.on_off_light_120
name: Annex Extractor Fan
icon: mdi:fan
- show_name: true
show_icon: true
show_state: true
type: glance
title: Energy
entities:
- entity: sensor.annex_inverter_ac_output_total_power
name: Annex Solar
- entity: sensor.annex_radiator_power
name: Annex Heating
state_color: true
columns: 2
- theme: Backend-selected
title: Extras
path: extras
icon: mdi:camera-control
badges: []
cards:
- type: picture-elements
title: Living Room
elements:
- type: state-icon
entity: light.living_room_1
style:
top: 80%
left: 70%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_2
style:
top: 80%
left: 30%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_8
style:
top: 60%
left: 70%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_7
style:
top: 60%
left: 30%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_5
style:
top: 40%
left: 70%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_4
style:
top: 40%
left: 30%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_6
style:
top: 20%
left: 70%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: light.living_room_3
style:
top: 20%
left: 30%
tap_action:
action: toggle
icon: mdi:light-recessed
- type: state-icon
entity: switch.on_off_plug_in_unit_112
style:
top: 7%
left: 55%
tap_action:
action: toggle
icon: mdi:lava-lamp
- type: state-label
entity: climate.wiser_living_room
attribute: current_temperature
suffix: °C
style:
top: 25%
left: 50%
color: black
tap_action:
action: more-info
- type: service-button
service: scene.turn_on
service_data:
entity_id: scene.tv_time
title: Active TV Mode
style:
top: 87%
left: 50%
- type: service-button
service: light.toggle
service_data:
entity_id: light.living_room
transition: 10
white: 255
brightness: 255
title: Toggle All
style:
top: 94%
left: 50%
image: local/LivingRoom.png
- type: entity-filter
entities:
- entity: sensor.brown_bin_presence_estimated_distance
icon: mdi:trash-can-outline
name: Brown Bin
- entity: sensor.green_bin_1_estimated_distance
name: Green Bin 1
icon: mdi:trash-can-outline
- entity: sensor.green_bin_2_presence_estimated_distance
name: Green Bin 2
icon: mdi:trash-can-outline
- entity: sensor.grey_bin_presence_estimated_distance
name: Grey Bin
icon: mdi:trash-can-outline
state_filter:
- operator: <
value: 40
card:
type: glance
title: Visible Bins
- type: entities
entities:
- scene.christmas_mode
- switch.terrarium_light
title: Others
- type: vertical-stack
cards:
- show_current: true
show_forecast: false
type: weather-forecast
entity: weather.met_office_the_vyne_3_hourly
name: Home
- type: custom:hourly-weather
entity: weather.met_office_the_vyne_3_hourly
num_segments: '12'
label_spacing: '2'
icons: true
show_wind: 'true'
show_precipitation_amounts: true
name: ' '
- show_current: false
show_forecast: true
type: weather-forecast
entity: weather.home
- theme: Backend-selected
title: Live Energy
path: live-energy
icon: mdi:lightning-bolt
badges: []
cards:
- type: entities
entities:
- entity: sensor.myenergi_mulberry_house_power_import
name: Grid Import
icon: mdi:home-import-outline
secondary_info: last-changed
- entity: sensor.all_solar_generation
secondary_info: last-updated
name: Solar Generation
- entity: sensor.myenergi_zappi_20142166_power_ct_internal_load
name: Car Charger
secondary_info: last-changed
icon: mdi:car-electric-outline
- entity: sensor.cooker_11_1min
name: Aga
icon: mdi:stove
secondary_info: last-changed
- entity: sensor.underfloor_heating_4_1min
secondary_info: last-changed
name: Kitchen Underfloor
icon: mdi:heating-coil
- entity: sensor.kitchen_sockets_6_1min
name: Kitchen Sockets
secondary_info: last-changed
icon: mdi:countertop
- entity: sensor.myenergi_annex_water_power_ct_internal_load
name: Annex Water
icon: mdi:water-boiler
secondary_info: last-updated
- entity: sensor.myenergi_house_hot_water_power_ct_internal_load
name: House Water
icon: mdi:water-boiler
secondary_info: last-updated
- entity: sensor.annex_radiator_power
secondary_info: last-changed
name: Annex Radiator
icon: mdi:radiator
- entity: sensor.myenergi_mulberry_house_power_export
icon: mdi:home-export-outline
name: Grid Export
secondary_info: last-changed
title: Live Energy
state_color: false
show_header_toggle: true
header:
type: graph
entity: sensor.myenergi_mulberry_house_home_consumption
detail: 2
- type: horizontal-stack
title: Solar Generation Forecast
cards:
- type: gauge
entity: sensor.forecast_solar_generation_today
name: Today
max: 65
min: 0
severity:
green: 20
yellow: 10
red: 0
needle: false
- type: gauge
entity: sensor.forecast_solar_generation_tomorrow
name: Tomorrow
needle: false
max: 65
min: 0
severity:
green: 20
yellow: 10
red: 0
- type: energy-distribution
title: Energy Distribution
- type: entities
entities:
- entity: button.wiser_boost_hot_water
name: Boost Hot Water
- entity: button.wiser_cancel_hot_water_overrides
name: Cancel Hot Water Overrides
- entity: sensor.wiser_hot_water
name: Hot Water Status
secondary_info: last-changed
header:
type: graph
entity: sensor.wiser_lts_heating_demand_channel_1
detail: 1
title: Heating
- type: entities
entities:
- entity: select.myenergi_zappi_20142166_charge_mode
name: Charge Mode
- entity: sensor.myenergi_zappi_20142166_charge_added_session
- entity: sensor.myenergi_zappi_20142166_energy_used_today
name: Energy used today
- entity: sensor.myenergi_zappi_20142166_internal_load_ct1
name: Load now
- entity: sensor.myenergi_zappi_20142166_plug_status
name: Plug status
- entity: sensor.myenergi_zappi_20142166_status
name: Zappi status
- type: button
name: Boost Car Charge
icon: mdi:battery-charging
tap_action:
action: call-service
confirmation:
text: Boost car charger?
service: myenergi.myenergi_boost
data:
amount: 60
target:
device_id: 2da095616d10715685fcb5c1b84328df
state_color: false
header:
type: graph
entity: sensor.zappi_car_charger_10_1min
detail: 2
title: Car Charging
- type: vertical-stack
title: EcoFlow Stack
cards:
- type: gauge
entity: sensor.delta_pro_240015_battery
name: Overall
needle: true
severity:
green: 50
yellow: 25
red: 0
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.delta_pro_240015_main_battery
name: Main
needle: true
severity:
green: 50
yellow: 25
red: 0
- type: gauge
entity: sensor.delta_pro_240015_extra1_battery
needle: true
name: Extra 1
severity:
green: 50
yellow: 25
red: 0
- type: gauge
entity: sensor.delta_pro_240015_extra2_battery
name: Extra 2
needle: true
severity:
green: 50
yellow: 25
red: 0
- type: entities
entities:
- entity: switch.delta_pro_240015_ac_charge
name: AC Charging
- entity: number.delta_pro_240015_ac_charge_speed
name: Rate Limit
- entity: switch.delta_pro_240015_ac_output
name: AC Output
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.delta_pro_240015_ac_input
max: 2900
name: AC Input
- type: gauge
entity: sensor.delta_pro_240015_ac_output_loss
max: 4500
name: AC Output+Loss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment