Permalink
Branch: master
Find file Copy path
b752a15 Feb 16, 2019
root oops
0 contributors

Users who have contributed to this file

executable file 355 lines (344 sloc) 13.9 KB
title: Home info
icon: mdi:home-heart
panel: true
path: home-info
cards:
- type: vertical-stack
cards:
- type: custom:compact-custom-header
- type: custom:layout-card
layout: vertical
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
## Air cleaner
- type: custom:button-card
entity: script.air_cleaner_quiet
icon: mdi:fan-off
name: AC bed
# size: 50%
color: rgb(220,220,220)
color_off: rgb(220,220,220)
- type: custom:button-card
entity: script.air_cleaner_auto
icon: mdi:fan
name: AC bed
# size: 50%
color: rgb(220,220,220)
color_off: rgb(220,220,220)
- type: custom:button-card
entity: script.air_cleaner_turbo
icon: mdi:run-fast
name: AC bed
# size: 50%
color: rgb(220,220,220)
color_off: rgb(220,220,220)
- type: custom:button-card
entity: script.ac_off
icon: mdi:fan-off
name: AC
# size: 50%
color: rgb(220,220,220)
color_off: rgb(220,220,220)
- type: custom:button-card
entity: script.ac_on
icon: mdi:fan
name: AC
# size: 50%
color: rgb(220,220,220)
color_off: rgb(220,220,220)
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
show:
icon: false
entities:
- sensor.temperature_bedroom
height: 75
color_thresholds:
- value: 0
color: "#CCE5FF"
- value: 10
color: "#66B2FF"
- value: 18
color: "#0080FF"
- value: 20
color: "#87c087"
- value: 21
color: "#389638"
- value: 24
color: "#FF9932"
- value: 25
color: "#FF8000"
- value: 26
color: "#ff0000"
- type: custom:mini-graph-card
show:
icon: false
entities:
- sensor.temperature_stefan
height: 75
color_thresholds:
- value: 0
color: "#CCE5FF"
- value: 10
color: "#66B2FF"
- value: 18
color: "#0080FF"
- value: 20
color: "#87c087"
- value: 21
color: "#389638"
- value: 24
color: "#FF9932"
- value: 25
color: "#FF8000"
- value: 26
color: "#ff0000"
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
show:
icon: false
entities:
- sensor.temperature_passage
height: 75
color_thresholds:
- value: 0
color: "#CCE5FF"
- value: 10
color: "#66B2FF"
- value: 18
color: "#0080FF"
- value: 20
color: "#87c087"
- value: 21
color: "#389638"
- value: 24
color: "#FF9932"
- value: 25
color: "#FF8000"
- value: 26
color: "#ff0000"
- type: custom:mini-graph-card
show:
icon: false
entities:
- sensor.temperature_downstairs_bathroom
height: 75
color_thresholds:
- value: 0
color: "#CCE5FF"
- value: 10
color: "#66B2FF"
- value: 18
color: "#0080FF"
- value: 20
color: "#87c087"
- value: 21
color: "#389638"
- value: 24
color: "#FF9932"
- value: 25
color: "#FF8000"
- value: 26
color: "#ff0000"
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
show:
icon: false
fill: fade
entities:
- sensor.temperature_storage
# height: 75
color_thresholds:
- value: -5
color: "#66B2FF"
- value: 3
color: "#87c087"
- value: 5
color: "#389638"
- type: custom:mini-graph-card
show:
icon: false
entities:
- sensor.refrigerator
height: 75
color_thresholds:
- value: -5
color: "#66B2FF"
- value: 0
color: "#ff0000"
- value: 2
color: "#66B2FF"
- value: 3
color: "#0080FF"
- value: 4
color: "#389638"
- value: 7
color: "#FF9932"
- value: 8
color: "#ff0000"
- type: glance
show_header_toggle: false
column_width: calc(100% / 4)
entities:
- entity: input_boolean.vacation_mode
name: Vacation
- input_boolean.cleaning_day
- input_boolean.guest_mode
- entity: input_boolean.isa_mode
name: Isa Mode
tap_action:
action: toggle
- break
- type: vertical-stack
cards:
- type: alarm-panel
entity: alarm_control_panel.house
states:
- arm_home
- arm_away
- arm_night
- type: entities
entities:
- type: custom:fold-entity-row
head:
type: section
label: Security
group_config:
secondary_info: last-changed
items:
- sensor.front_door
- sensor.back_door
- sensor.yard_door
- sensor.balcony_door
- sensor.dining_area_window
- sensor.bedroom_window
- binary_sensor.bedroom_door
- sensor.passage_movement
- sensor.upstairs_hallway_movement
- binary_sensor.stefans_room_motion
- sensor.ring_front_door_last_motion
- type: custom:fold-entity-row
head:
type: section
label: Presence
group_config:
secondary_info: last-changed
items:
- entity: sensor.presence_isa
name: Isa presence
secondary_info: last-changed
icon: mdi:map-marker-circle
- entity: device_tracker.isabellas_iphone_x
name: Isa ios
icon: mdi:apple
secondary_info: last-changed
- entity: device_tracker.isabellas_iphone_x_wifi
name: Isa Wifi
icon: mdi:wifi
secondary_info: last-changed
- entity: sensor.isabellas_iphone_x_bt
name: Isa bt
icon: mdi:bluetooth
secondary_info: last-changed
- entity: proximity.home_isa
name: Proximity to home
- entity: proximity.home_isa
type: custom:state-attribute-element
attribute: dir_of_travel
prefix: "Direction of travel: "
- type: divider
- entity: sensor.presence_stefan
name: Stefan presence
icon: mdi:map-marker-circle
secondary_info: last-changed
- entity: device_tracker.stefan_iphone_7
name: Stefan ios
icon: mdi:apple
secondary_info: last-changed
- entity: device_tracker.stefan_iphone_7_wifi
name: Stefan Wifi
icon: mdi:wifi
secondary_info: last-changed
- entity: sensor.stefan_iphone_7_bt
name: Stefan bt
icon: mdi:bluetooth
secondary_info: last-changed
- entity: proximity.home_stefan
name: Proximity to home
- entity: proximity.home_stefan
type: custom:state-attribute-element
attribute: dir_of_travel
prefix: "Direction of travel: "
- type: divider
- entity: sensor.unlocked_by
name: Front door last unlocked by
secondary_info: last-changed
- entity: sensor.monitor
name: Monitor status
secondary_info: last-changed
- break
- type: vertical-stack
cards:
- type: glance
entities:
- sensor.pollen_bjork
- sensor.pollen_gras
- sensor.pollen_grabo
- type: custom:swipe-card
cards:
- type: history-graph
title: Temperatures 48h
hours_to_show: 48
entities:
- sensor.temperature_bedroom
- sensor.temperature_passage
- sensor.temperature_downstairs_bathroom
- sensor.temperature_stefan
- type: history-graph
title: Temperatures 7 Days
hours_to_show: 168
entities:
- sensor.temperature_bedroom
- sensor.temperature_passage
- sensor.temperature_downstairs_bathroom
- sensor.temperature_stefan
- type: history-graph
title: Light 24 Hours
hours_to_show: 24
entities:
- sensor.passage_pir_luminance
- sensor.upstairs_hallway_pir_luminance
# - type: custom:slideshow-card
# fill: true
# arrow_color: White
# auto_play: false
# cards:
# - type: history-graph
# title: Temperatures 48h
# hours_to_show: 48
# entities:
# - sensor.temperature_bedroom
# - sensor.temperature_passage
# - sensor.temperature_downstairs_bathroom
# - sensor.temperature_stefan
# - type: history-graph
# title: Temperatures 7 Days
# hours_to_show: 168
# entities:
# - sensor.temperature_bedroom
# - sensor.temperature_passage
# - sensor.temperature_downstairs_bathroom
# - sensor.temperature_stefan
# - type: history-graph
# title: Light 24 Hours
# hours_to_show: 24
# entities:
# - sensor.passage_pir_luminance
# - sensor.upstairs_hallway_pir_luminance
- !include bike_card.yaml