Skip to content

Instantly share code, notes, and snippets.

@Landrash
Created March 6, 2019 20:52
Show Gist options
  • Save Landrash/4e85d92b15ece7a620eddce7ee26e3c6 to your computer and use it in GitHub Desktop.
Save Landrash/4e85d92b15ece7a620eddce7ee26e3c6 to your computer and use it in GitHub Desktop.
Lovelace Landrash 20190306
views:
- path: default_view
icon: 'mdi:home'
title: Home
- type: horizontal-stack
badges: []
cards:
- type: vertical-stack
cards:
cards:
- hold_action:
action: more-info
show_info: false
entity: light.tradfri_bulb_e14_ws_opal_400lm
type: light
tap_action:
action: toggle
- hold_action:
action: more-info
show_info: false
entity: light.tradfri_bulb_e14_ws_opal_400lm_2
type: light
tap_action:
action: toggle
- entities:
- type: section
label: Sovrummet
- name: Nattlampa
entity: light.rgb_christmas_tree
- type: section
label: Trappa
- entity: light.hallway_stair_light
- type: section
label: Kontor
- entity: light.office_ceiling_light
- entity: switch.office_tools
- type: section
label: Lokes Rum
- entity: light.second_bedroom_decorative_light
- entity: light.second_bedroom_ceiling_light
- type: section
label: Garderob
- entity: light.tradfri_bulb_e27_w_opal_1000lm
type: entities
show_header_toggle: false
title: Övervåningen
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- hold_action:
action: more-info
show_info: false
entity: light.tradfri_bulb_e27_ws_opal_980lm_4
type: light
tap_action:
action: toggle
- hold_action:
action: more-info
show_info: false
entity: light.tradfri_bulb_e27_ws_opal_980lm_5
type: light
tap_action:
action: toggle
- entities:
- type: section
label: Hall
- entity: light.tradfri_bulb_e27_ws_clear_950lm_5
- type: section
label: Nedre Badrum
- entity: light.fibaro_system_fgd212_dimmer_2_level
- type: section
label: Tvättstuga
- entity: light.floalt_panel_ws_60x60
- type: section
label: Under Trappan
- entity: light.under_stair_light
type: entities
show_header_toggle: false
title: Bottenvåning
- type: 'custom:compact-custom-header'
- entities:
- type: section
label: Altan
- entity: light.outside_porch_wall
- name: Dekorationsbelysning
entity: light.back_decorative_light
- type: section
label: Framsida
- entity: light.front_decorative_light
- type: section
label: Boden
- entity: light.shed_inner
- entity: light.shed_outer
type: entities
show_header_toggle: false
title: Utomhus
background: var(--background-image)
- path: household
icon: 'mdi:human-greeting'
title: Household
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: group.family
type: entity-button
- name: Fredrik
entity: group.person_landrash
type: entity-button
- name: Jenny
entity: group.person_jojo
type: entity-button
- hours_to_show: 24
type: history-graph
entities:
- group.family
- group.person_landrash
- group.person_jojo
- type: map
entities:
- entity: device_tracker.google_maps_105177297270781888222
- entity: device_tracker.google_maps_111139059226501305048
- type: 'custom:compact-custom-header'
- entity: alarm_control_panel.ha_alarm
type: alarm-panel
states:
- arm_home
- arm_away
badges: []
background: var(--background-image)
- cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- hold_action:
action: more-info
show_info: false
entity: vacuum.xiaomi_vacuum_cleaner
type: entity-button
tap_action:
action: toggle
- type: entities
entities:
- secondary_info: last-changed
entity: vacuum.xiaomi_vacuum_cleaner
- entity: input_select.vacuum_room
show_header_toggle: false
- image: >-
http://10.0.200.101/api/remote/map?drawCharger=true&returnImage=true
type: picture
- type: 'custom:compact-custom-header'
icon: 'mdi:robot-vacuum'
badges: []
title: Robot
background: var(--background-image)
- path: sensors
icon: 'mdi:gauge'
title: Sensors
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: sensor.climate_entry_temperature
graph: line
type: sensor
- name: Nedre Badrum
entity: sensor.fibaro_system_fgms001_motion_sensor_temperature
graph: line
type: sensor
- type: horizontal-stack
cards:
- entity: sensor.climate_livingroom_temperature
graph: line
type: sensor
- entity: sensor.climate_kitchen_temperature
graph: line
type: sensor
- type: horizontal-stack
cards:
- name: Sovrummet
entity: sensor.climate_master_bedroom_temperature
graph: line
type: sensor
- entity: sensor.climate_second_bedroom_temperature
graph: line
type: sensor
- type: horizontal-stack
cards:
- entity: sensor.climate_third_bedroom_temperature
graph: line
type: sensor
- name: Övre Badrum
entity: sensor.climate_bathroom_upstairs_temperature
graph: line
type: sensor
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: sensor.climate_entry_humidity
graph: line
type: sensor
- type: horizontal-stack
cards:
- entity: sensor.climate_livingroom_humidity
graph: line
type: sensor
- entity: sensor.climate_kitchen_humidity
graph: line
type: sensor
- type: horizontal-stack
cards:
- name: Sovrummet
entity: sensor.climate_master_bedroom_humidity
graph: line
type: sensor
- entity: sensor.climate_second_bedroom_humidity
graph: line
type: sensor
- type: horizontal-stack
cards:
- entity: sensor.climate_third_bedroom_humidity
graph: line
type: sensor
- name: Övre Badrum
entity: sensor.climate_bathroom_upstairs_humidity
graph: line
type: sensor
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: sensor.climate_entry_pressure
graph: line
type: sensor
- name: Övre Badrum
entity: sensor.climate_bathroom_upstairs_pressure
graph: line
type: sensor
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entities:
- secondary_info: last-changed
entity: binary_sensor.fibaro_system_fgms001_motion_sensor
- secondary_info: last-changed
entity: binary_sensor.motion_sensor_office
type: entities
show_header_toggle: false
title: Motion
- type: horizontal-stack
cards:
- type: history-graph
entities:
- entity: binary_sensor.fibaro_system_fgms001_motion_sensor
- entity: binary_sensor.motion_sensor_office
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entities:
- secondary_info: last-changed
entity: binary_sensor.fire_alarm_living_room
- secondary_info: last-changed
entity: binary_sensor.laundry_room_water_leak
- secondary_info: last-changed
entity: binary_sensor.kitchen_water_leak
type: entities
show_header_toggle: false
title: Alarms
- type: horizontal-stack
cards:
- type: history-graph
entities:
- entity: binary_sensor.fire_alarm_living_room
- entity: binary_sensor.laundry_room_water_leak
- entity: binary_sensor.kitchen_water_leak
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entities:
- secondary_info: last-changed
entity: binary_sensor.front_decorative_light_button
- secondary_info: last-changed
entity: sensor.xiaomi_cube
type: entities
show_header_toggle: false
title: Interfaces
- type: horizontal-stack
cards:
- type: history-graph
entities:
- entity: binary_sensor.front_decorative_light_button
- entity: sensor.xiaomi_cube
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: sensor.fibaro_system_fgms001_motion_sensor_luminance
graph: line
type: sensor
- type: horizontal-stack
cards:
- entity: sensor.plantmonitor1_light_intensity
graph: line
type: sensor
- entity: sensor.plantmonitor2_light_intensity
graph: line
type: sensor
- type: horizontal-stack
cards:
- name: Sovrummet
entity: sensor.plantmonitor3_light_intensity
graph: line
type: sensor
- entity: sensor.plantmonitor4_light_intensity
graph: line
type: sensor
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: sensor.fibaro_system_fgwpe_f_wall_plug_power
graph: line
type: sensor
- entity: sensor.fibaro_system_fgd212_dimmer_2_power
graph: line
type: sensor
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: climate.danfoss_z_thermostat_014g0013_heating_1
type: thermostat
- entity: climate.danfoss_z_thermostat_014g0013_heating_1_2
type: thermostat
- type: horizontal-stack
cards:
- entity: climate.danfoss_z_thermostat_014g0013_heating_1_3
type: thermostat
- hold_action:
action: more-info
entity: switch.fibaro_system_fgwpe_f_wall_plug_switch
type: entity-button
tap_action:
action: toggle
- type: horizontal-stack
cards:
- hours_to_show: 96
entity: sensor.floor_water_circulation_incoming
graph: line
type: sensor
- hours_to_show: 96
entity: sensor.floor_water_circulation_return
graph: line
type: sensor
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entities:
- secondary_info: last-changed
entity: binary_sensor.front_door_contact
- secondary_info: last-changed
entity: binary_sensor.patio_door_contact
- secondary_info: last-changed
entity: binary_sensor.under_stair_contact
type: entities
show_header_toggle: false
title: Alarms
- type: horizontal-stack
cards:
- type: history-graph
entities:
- entity: binary_sensor.front_door_contact
- entity: binary_sensor.patio_door_contact
- entity: binary_sensor.under_stair_contact
- type: 'custom:compact-custom-header'
badges: []
background: var(--background-image)
- path: network
icon: 'mdi:switch'
title: Network
cards:
- columns: 3
type: glance
entities:
- sensor.date
- sensor.time
- binary_sensor.workday_sensor
- sensor.uptime
- sensor.ha_startup_time
- sensor.ha_version
- sensor.ha_github_version
- sensor.ha_pypi_version
- sensor.rpi_power_status
title: System
- type: vertical-stack
cards:
- columns: 3
type: glance
entities:
- entity: binary_sensor.net_tradfrigateway
- entity: binary_sensor.net_google_home_mini_kitchen
- entity: binary_sensor.net_google_home_mini_office
- entity: binary_sensor.net_chromecast_living_room
- entity: binary_sensor.net_chromecast_master_bedroom
- entity: binary_sensor.net_kodi_master_bedroom
- entity: binary_sensor.xiaomi_miio_vacuum
- entity: binary_sensor.rgb_christmas_tree_status
- entity: binary_sensor.water_temperature_status
- entity: binary_sensor.front_decorative_light_status
title: Network Devices
- hours_to_show: 72
type: history-graph
entities:
- binary_sensor.net_google_home_mini_kitchen
- binary_sensor.net_google_home_mini_office
- binary_sensor.net_chromecast_living_room
- binary_sensor.net_chromecast_master_bedroom
- binary_sensor.net_kodi_master_bedroom
- binary_sensor.xiaomi_miio_vacuum
- binary_sensor.rgb_christmas_tree_status
- binary_sensor.water_temperature_status
- binary_sensor.front_decorative_light_status
title: Wireless
- hours_to_show: 72
type: history-graph
entities:
- binary_sensor.net_tradfrigateway
title: Wired
- type: vertical-stack
cards:
- columns: 3
type: glance
entities:
- entity: zwave.fibaro_system_fgwpe_f_wall_plug
- entity: zwave.fibaro_system_fgms001_motion_sensor
- entity: zwave.fibaro_system_fgd212_dimmer_2
- entity: zwave.z_wave_me_zme_uzb1_usb_stick
- entity: zwave.danfoss_z_thermostat_014g0013
- entity: zwave.danfoss_z_thermostat_014g0013_2
- entity: zwave.danfoss_z_thermostat_014g0013_3
title: Z-Wave devices
- hours_to_show: 72
type: history-graph
entities:
- entity: zwave.fibaro_system_fgwpe_f_wall_plug
- entity: zwave.fibaro_system_fgms001_motion_sensor
- entity: zwave.fibaro_system_fgd212_dimmer_2
- entity: zwave.z_wave_me_zme_uzb1_usb_stick
- entity: zwave.danfoss_z_thermostat_014g0013
- entity: zwave.danfoss_z_thermostat_014g0013_2
- entity: zwave.danfoss_z_thermostat_014g0013_3
- entities:
- sensor.pi_hole_ads_blocked_today
- sensor.pi_hole_ads_percentage_blocked_today
- sensor.pi_hole_dns_queries_cached
- sensor.pi_hole_dns_queries_forwarded
- sensor.pi_hole_dns_queries_today
- sensor.pi_hole_dns_unique_domains
- sensor.pi_hole_domains_blocked
- sensor.pi_hole_dns_unique_clients
- sensor.pi_hole_seen_clients
type: entities
show_header_toggle: false
title: Pi-hole
- type: vertical-stack
cards:
- entities:
- entity: sensor.bridge_state
- entity: input_boolean.zigbee_permit_join
- entity: timer.zigbee_permit_join
- entity: switch.zigbee2mqtt_allow_joining
- entity: input_select.zigbee2mqtt_log_level
columns: 3
type: entities
show_header_toggle: false
title: Zigbee
- hours_to_show: 24
type: history-graph
entities:
- sensor.bridge_state
- type: 'custom:compact-custom-header'
badges: []
background: var(--background-image)
- path: media
icon: 'mdi:play-circle-outline'
title: Media
cards:
- type: 'custom:compact-custom-header'
- conditions:
- entity: media_player.master_bedroom_tv
state_not: 'off'
- entity: media_player.master_bedroom_tv
state_not: unavailable
type: conditional
card:
entity: media_player.master_bedroom_tv
type: media-control
- conditions:
- entity: media_player.kodi_master_bedroom_host
state_not: 'off'
- entity: media_player.kodi_master_bedroom_host
state_not: unavailable
type: conditional
card:
entity: media_player.kodi_master_bedroom_host
type: media-control
- conditions:
- entity: media_player.koks_hogtalare
state_not: 'off'
- entity: media_player.koks_hogtalare
state_not: unavailable
type: conditional
card:
entity: media_player.koks_hogtalare
type: media-control
- conditions:
- entity: media_player.kontor
state_not: 'off'
- entity: media_player.kontor
state_not: unavailable
type: conditional
card:
entity: media_player.kontor
type: media-control
- conditions:
- entity: media_player.living_room_tv
state_not: 'off'
- entity: media_player.living_room_tv
state_not: unavailable
type: conditional
card:
entity: media_player.living_room_tv
type: media-control
- entities:
- entity: input_select.chromecast_radio_station
- entity: input_text.custom_station
- entity: input_select.chromecast_radio_speakers
- entity: input_number.volume_radio
- entity: script.play_chromecast_radio
- entity: script.stop_chromecast_radio
type: entities
show_header_toggle: false
title: Radio
badges: []
background: var(--background-image)
- path: automation
icon: 'mdi:settings'
title: Automation
cards:
- type: vertical-stack
cards:
- show_header_toggle: false
type: horizontal-stack
cards:
- entity: input_boolean.automation
type: entity-button
- entity: input_boolean.time
type: entity-button
- entity: input_boolean.motion
type: entity-button
- entity: automation.forward_persistent_notifications
type: entity-button
- entity: automation.startup_notification
type: entity-button
- entity: automation.update_notification
type: entity-button
title: Automation Override
- entities:
- type: section
label: Glömda Lampor
- entity: automation.lights_forgotten_time_night_off
- entity: input_datetime.lights_forgotten_time_night_off
- entity: automation.lights_forgotten_time_morning_off
- entity: input_datetime.lights_forgotten_time_morning_off
type: entities
show_header_toggle: false
title: Överskridning
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: input_boolean.automation
type: entity-button
- entity: input_boolean.time
type: entity-button
- entities:
- type: section
label: Utomhus
- entity: automation.lights_exterior_time_night_off
- entity: input_datetime.lights_exterior_time_night_off
- entity: automation.lights_exterior_time_night_on
- entity: input_datetime.lights_exterior_time_morning_on
- type: section
label: Dekoration
- entity: automation.lights_inside_decorative_time_off
- entity: automation.lights_outside_decorative_time_off
- entity: input_datetime.lights_decorative_time_off
- entity: automation.lights_inside_decorative_time_on
- entity: automation.lights_outside_decorative_time_on
- entity: input_datetime.lights_decorative_time_on
- entity: input_datetime.lights_decorative_time_off
- type: section
label: Sovrum
- entity: automation.lights_master_bedroom_time_night_on
- entity: input_datetime.lights_master_bedroom_time_night_off
- entity: automation.lights_master_bedroom_time_night_off
- entity: input_datetime.lights_master_bedroom_time_night_on
- name: Nightlight
entity: automation.light_night_light_master_bedroom_time_night_off
icon: 'mdi:lightbulb'
- type: section
label: Kök
- entity: automation.lights_kitchen_time_night_on
- entity: input_datetime.lights_kitchen_time_morning_on
- entity: automation.lights_kitchen_time_night_off
- entity: input_datetime.lights_kitchen_time_night_off
type: entities
show_header_toggle: false
title: Tids Styrd Belysning
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- entity: input_boolean.automation
type: entity-button
- entity: input_boolean.motion
type: entity-button
- entities:
- type: section
label: Kontor
- entity: automation.motion_in_the_office_turn_on_light
- entity: automation.motion_in_the_office_turn_off_light
- type: section
label: Nedre Badrum
- entity: automation.motion_in_the_entry_bathroom_turn_on_light
- entity: automation.motion_in_the_entry_bathroom_turn_off_light
- type: section
label: Boden Inre
- entity: automation.motion_in_the_shed_inner_turn_on_light
- entity: automation.motion_in_the_shed_inner_turn_off_light
- type: section
label: Boden Yttre
- entity: automation.motion_in_the_shed_outer_turn_on_light
- entity: automation.motion_in_the_shed_outer_turn_off_light
type: entities
show_header_toggle: false
title: Rörelse Styrd Belysning
- entities:
- input_boolean.low_batteries
- input_number.battery_alert_threshold_min
- input_number.battery_alert_threshold_max
- input_text.delete_battery_sensor
- input_text.notifier_name
- input_select.notifier_format
- automation.battery_persistent_notification
- automation.battery_persistent_notification_clear
- automation.battery_notification_default
- automation.battery_sensor_from_attributes
- automation.update_battery_status_group_members
- automation.delete_battery_sensor
type: entities
show_header_toggle: false
title: Battery Alert
- entities:
- entity: input_boolean.zigbee_permit_join
- entity: timer.zigbee_permit_join
- entity: sensor.bridge_state
- entity: switch.zigbee2mqtt_allow_joining
- entity: automation.enable_zigbee_joining
- entity: automation.disable_zigbee_joining
- entity: automation.disable_zigbee_joining_by_timer
- entity: input_select.zigbee2mqtt_log_level
- entity: automation.zigbee2mqtt_log_level
type: entities
show_header_toggle: false
title: Zigbee
- entities:
- entity: input_boolean.occupancy
- entity: sensor.home_occupancy_confidence
- entity: sensor.second_floor_landrash
- entity: automation.occupancy_on
- entity: automation.occupancy_off
type: entities
show_header_toggle: false
title: Monitor Bluetooth
- type: 'custom:compact-custom-header'
badges: []
background: var(--background-image)
- path: weather
icon: 'mdi:weather-partlycloudy'
title: Weather
cards:
- entities:
- sun.sun
- sensor.season
- sensor.nextsunrise
- sensor.nextsunset
- sensor.moon
type: entities
show_header_toggle: false
title: General
- entity: weather.dark_sky
type: weather-forecast
- name: Smhi
entity: weather.smhi_home
type: weather-forecast
- entities:
- binary_sensor.protection_window
- sensor.current_ozone_level
- sensor.current_uv_index
- sensor.current_uv_level
- sensor.max_uv_index
- sensor.skin_type_1_safe_exposure_time
- sensor.skin_type_2_safe_exposure_time
- sensor.skin_type_3_safe_exposure_time
- sensor.skin_type_4_safe_exposure_time
- sensor.skin_type_5_safe_exposure_time
- sensor.skin_type_6_safe_exposure_time
type: entities
show_header_toggle: false
title: Open UV
- entities:
- entity: sensor.pollenkoll_stockholm
type: entities
show_header_toggle: false
title: Pollenkoll
- type: 'custom:compact-custom-header'
badges: []
background: var(--background-image)
resources:
- type: module
url: >-
/local/custom-lovelace/compact-custom-header/compact-custom-header.js?v=0.0.1
title: Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment