Move config to a subfolder

This commit is contained in:
2020-03-20 02:08:56 +02:00
parent badd728c82
commit 69bf7ac509
54 changed files with 5 additions and 89 deletions
+111
View File
@@ -0,0 +1,111 @@
title: Home
path: default_view
icon: "mdi:home"
badges: []
cards:
# Column 1: Active Controls
- type: vertical-stack
cards:
- type: glance
title: Lights
show_header_toggle: false
entities:
- entity: light.living_room_main_lights
name: Living room
tap_action:
action: call-service
service: light.toggle
service_data:
entity_id: light.living_room_main_lights
- entity: light.pc
tap_action:
action: call-service
service: light.toggle
service_data:
entity_id: light.pc
- entity: light.bedside_light
tap_action:
action: call-service
service: light.toggle
service_data:
entity_id: light.bedside_light
- type: entities
title: Devices
show_header_toggle: false
entities:
- switch.camera
- media_player.living_room_tv
- media_player.nvidia_shield
- fan.philips_airpurifier
- type: custom:config-template-card
entities:
- input_select.sonos_leader
card:
type: custom:decluttering-card
template: sonos_media_player
variables:
- player: ${states['input_select.sonos_leader'].state}
- type: entities
title: Manual Overrides
show_header_toggle: false
entities:
- input_select.sonos_leader
- input_boolean.speech_notifications
- input_boolean.guest_mode
- input_boolean.domestina
- input_boolean.sleep_mode
- input_boolean.georgi_home
# Column 2: Sensors
- type: vertical-stack
cards:
- type: entities
title: Sensors
show_header_toggle: false
entities:
- binary_sensor.front_door_on_off_wrapper
- binary_sensor.living_room_right_window_on_off_wrapper
- binary_sensor.bedroom_right_window_on_off_wrapper
- type: entities
title: Presence
show_header_toggle: false
entities:
- binary_sensor.georgi_home
- device_tracker.carbon
- device_tracker.tile_1bcb2b3021b9f96b
- type: entities
title: Misc Badges
show_header_toggle: false
entities:
- sun.sun
- sensor.carbon_battery_level
- sensor.carbon_steps
- binary_sensor.updater
# Column 3: Misc
- type: vertical-stack
cards:
- type: "custom:weather-card"
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: "custom:aftership-card"
entity: sensor.aftership
title: Packages
- type: "custom:travel-time-card"
title: Travel time
columns:
- name
- duration
- distance
entities:
- sensor.home_to_work
- sensor.work_to_home
+105
View File
@@ -0,0 +1,105 @@
title: Living Room
path: living-room
icon: "mdi:sofa"
badges: []
cards:
- type: vertical-stack
cards:
- type: entities
title: Lights
show_header_toggle: false
entities:
- type: custom:slider-entity-row
entity: light.living_room_all_lights
name: All lights
toggle: true
step: 5
- type: custom:fold-entity-row
head:
entity: light.living_room_main_lights
name: Main lights
entities:
- type: custom:slider-entity-row
entity: light.living_room_main_lights
name: Brightness
hide_state: true
step: 5
- type: custom:slider-entity-row
entity: light.living_room_main_lights
name: Temperature
attribute: color_temp
hide_state: true
min: 153
max: 500
step: 5
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.living_room_1
- fade: switch.living_room_1_light_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.living_room_2
- fade: switch.living_room_2_light_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.living_room_3
- fade: switch.living_room_3_light_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.living_room_4
- fade: switch.living_room_4_light_fade
- type: custom:fold-entity-row
head:
type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.pc
- fade: switch.pc_light_fade
entities:
- type: custom:slider-entity-row
entity: light.pc
name: Brightness
hide_state: true
step: 5
- type: custom:decluttering-card
template: sonos_media_player
variables:
- player: media_player.living_room
- type: "custom:mini-media-player"
entity: media_player.living_room_tv
- type: "custom:mini-media-player"
entity: media_player.playstation_4
- type: vertical-stack
cards:
- type: glance
title: Window
show_icon: true
show_name: false
show_state: true
entities:
- binary_sensor.living_room_right_window_on_off_wrapper
- sensor.living_room_right_window_power
- type: vertical-stack
cards:
- type: picture-entity
aspect_ratio: 50%
entity: camera.amcrest_camera
show_name: true
show_state: true
- type: entities
title: Camera Controls
show_header_toggle: false
entities:
- switch.camera
- binary_sensor.amcrest_camera_online
- binary_sensor.amcrest_camera_motion_detected
+107
View File
@@ -0,0 +1,107 @@
title: Master Bedroom
path: master-bedroom
icon: "mdi:bed-empty"
badges: []
cards:
- type: vertical-stack
cards:
- type: entities
title: Lights
entities:
- entity: light.bedside_light
show_header_toggle: false
- type: custom:decluttering-card
template: sonos_media_player
variables:
- player: media_player.master_bedroom
- type: vertical-stack
cards:
- type: glance
title: Window
show_name: false
entities:
- binary_sensor.bedroom_right_window_on_off_wrapper
- sensor.bedroom_right_window_power
- type: "custom:mini-graph-card"
animate: true
line_width: 3
points_per_hour: 1
show:
average: true
extrema: true
entities:
- entity: sensor.bedroom_weather_temperature
name: Temperature
- type: horizontal-stack
cards:
- type: "custom:mini-graph-card"
name: Humidity
font_size: 75
icon: "mdi:water"
line_color: green
line_width: 8
entities:
- sensor.bedroom_weather_humidity
- type: "custom:mini-graph-card"
name: Pressure
entities:
- sensor.bedroom_weather_pressure
font_size: 75
line_color: var(--accent-color)
line_width: 8
- type: "custom:mini-graph-card"
name: Air Quality
font_size: 75
icon: "mdi:weather-windy"
line_color: "#e74c3c"
line_width: 8
entities:
- sensor.purifier_air_quality
- type: vertical-stack
cards:
- type: entities
title: Air Purifier
show_header_toggle: false
entities:
- entity: fan.philips_airpurifier
name: Purifier Working
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sensor.purifier_air_quality
name: Sensors
icon: mdi:air-purifier
open: true
entities:
- sensor.purifier_air_quality
- sensor.purifier_allergens
- sensor.purifier_temperature
- sensor.purifier_humidity
- sensor.purifier_water_level
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sensor.purifier_speed
name: Mode
entities:
- sensor.purifier_speed
- sensor.purifier_mode
- sensor.purifier_brightness
- sensor.purifier_target_humidity
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sensor.purifier_pre_filter
name: Filters
entities:
- sensor.purifier_pre_filter
- sensor.purifier_hepa_filter
- sensor.purifier_carbon_filter
- sensor.purifier_wick_filter
+9
View File
@@ -0,0 +1,9 @@
title: Kitchen
path: kitchen
icon: "mdi:chef-hat"
badges: []
cards:
- type: custom:decluttering-card
template: sonos_media_player
variables:
- player: media_player.kitchen
+9
View File
@@ -0,0 +1,9 @@
title: Bathroom
path: bathroom
icon: "mdi:shower"
badges: []
cards:
- type: custom:decluttering-card
template: sonos_media_player
variables:
- player: media_player.bathroom
+61
View File
@@ -0,0 +1,61 @@
title: Media
path: media
panel: false
icon: mdi:play-circle-outline
badges: []
cards:
- type: entities
style: |
ha-icon {
color: red;
}
title: Youtube controls
icon: mdi:youtube
show_header_toggle: false
entities:
- entity: input_text.youtube_download_url
type: "custom:text-input-row"
- entity: input_text.youtube_download_name
type: "custom:text-input-row"
- type: horizontal-stack
cards:
- type: entity-button
entity: script.youtube_download_selected
name: Download
icon: mdi:download
icon_height: 48px
tap_action:
action: call-service
service: script.youtube_download_selected
- type: entity-button
entity: script.youtube_download_and_play
name: Download & Play
icon: mdi:youtube-tv
icon_height: 48px
tap_action:
action: call-service
service: script.youtube_download_and_play
- type: custom:config-template-card
entities:
- sensor.philip_defranco
- sensor.available_pds
card:
type: vertical-stack
cards:
- type: picture-entity
entity: sensor.philip_defranco
image: "${states['sensor.philip_defranco'].attributes.entity_picture}"
name: "Play the latest PDS"
show_state: false
tap_action:
action: call-service
service: script.youtube_play_latest_pds
- type: custom:text-element
text: "${states['sensor.philip_defranco'].state}"
- type: custom:text-element
text: "Available:"
- type: custom:text-element
text: "${states['sensor.available_pds'].state.split(',')}"
+124
View File
@@ -0,0 +1,124 @@
title: System
path: system
icon: "mdi:cogs"
badges: []
cards:
- type: entities
title: Automations
show_header_toggle: false
entities:
- automation.youtube_download_latest_pds
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: binary_sensor.georgi_home
name: Presence
open: true
entities:
- input_boolean.routine_welcome_home
- automation.presence_arrival_detection
- automation.presence_coming_home
- automation.presence_leaving_home
- automation.routine_coming_home_left_work
- automation.presence_leaving_work
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sun.sun
name: Lighting
icon: mdi:lightbulb
open: true
entities:
- automation.lighting_turn_on_all_lights_after_sunset
- automation.lighting_turn_off_all_lights_after_sunrise
- automation.lighting_master_bedroom_toggle_bedside_light_on_bedisde_switch_single_click
- automation.lighting_living_room_turn_all_lights_on_on_magic_cube_flip_90
- automation.lighting_living_room_turn_all_lights_off_on_magic_cube_flip_180
- automation.lighting_sync_tasmota_states_on_start_up
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sun.sun
name: Music
icon: mdi:music-note
open: true
entities:
- automation.music_play_pause_on_magic_cube_knock
- automation.music_volume_down_on_magic_cube_rotate_left
- automation.music_volume_up_on_magic_cube_rotate_right
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: input_boolean.sleep_mode
open: true
entities:
- automation.routine_bedtime_toggle_on_bedside_switch_hold
- automation.sleep_mode_enable
- automation.sleep_mode_disable
- automation.sleep_mode_toggle_on_bedside_switch_double_click
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: input_boolean.guest_mode
open: true
entities:
- automation.guest_mode_enable
- automation.guest_mode_disable
- automation.guest_mode_enable_from_telegram
- automation.guest_mode_disable_from_telegram
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: input_boolean.domestina
open: true
entities:
- automation.domestina_automate_start
- automation.domestina_start
- automation.domestina_automate_end
- automation.domestina_end
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sun.sun
name: Security
icon: mdi:shield-home
open: true
entities:
- automation.security_door_opened_while_away
- automation.camera_turn_off_on_startup
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sun.sun
icon: mdi:cogs
name: System
open: true
entities:
- automation.system_announce_start
- automation.system_telegram_announce_status
- automation.speech_telegram_action_do_nothing
- type: entities
title: Batteries
show_header_toggle: false
entities:
- type: custom:battery-entity
entity: sensor.front_door_power
- type: custom:battery-entity
entity: sensor.living_room_right_window_power
- type: custom:battery-entity
entity: sensor.bedroom_right_window_power
- type: custom:battery-entity
entity: sensor.bedroom_weather_power
- type: custom:battery-entity
entity: sensor.cube_power
- type: custom:battery-entity
entity: sensor.master_bedroom_bedside_switch_power
+87
View File
@@ -0,0 +1,87 @@
title: COVID-19
path: covid-19
panel: false
icon: "mdi:biohazard"
badges: []
cards:
- type: vertical-stack
cards:
- type: glance
title: COVID-19 Worldwide
show_name: true
columns: 4
entities:
- entity: sensor.worldwide_coronavirus_confirmed
name: Confirmed
icon: "mdi:emoticon-confused-outline"
- entity: sensor.worldwide_coronavirus_current
name: Current
icon: "mdi:emoticon-sad-outline"
- entity: sensor.worldwide_coronavirus_deaths
name: Deaths
icon: "mdi:emoticon-cry-outline"
- entity: sensor.worldwide_coronavirus_recovered
name: Recovered
icon: "mdi:emoticon-cool-outline"
- type: "custom:mini-graph-card"
animate: true
icon: mdi:emoticon-confused
line_width: 3
line_color:
- var(--paper-orange-400)
- var(--paper-green-400)
- var(--accent-color)
hours_to_show: 168
points_per_hour: 0.04
entities:
- entity: sensor.worldwide_coronavirus_deaths
index: 0
name: Deaths
- entity: sensor.worldwide_coronavirus_recovered
index: 1
name: Recovered
- entity: sensor.worldwide_coronavirus_current
index: 2
name: Current
- type: vertical-stack
cards:
- type: glance
title: COVID-19 Bulgaria
show_name: true
columns: 4
entities:
- entity: sensor.bulgaria_coronavirus_confirmed
name: Confirmed
icon: "mdi:emoticon-confused-outline"
- entity: sensor.bulgaria_coronavirus_current
name: Current
icon: "mdi:emoticon-sad-outline"
- entity: sensor.bulgaria_coronavirus_deaths
name: Deaths
icon: "mdi:emoticon-cry-outline"
- entity: sensor.bulgaria_coronavirus_recovered
name: Recovered
icon: "mdi:emoticon-cool-outline"
- type: "custom:mini-graph-card"
animate: true
icon: mdi:emoticon-confused
line_width: 3
line_color:
- var(--accent-color)
- var(--paper-orange-400)
- var(--paper-green-400)
hours_to_show: 168
points_per_hour: 0.04
entities:
- entity: sensor.bulgaria_coronavirus_current
index: 0
name: Current
- entity: sensor.bulgaria_coronavirus_deaths
index: 1
name: Deaths
- entity: sensor.bulgaria_coronavirus_recovered
index: 2
name: Recovered
+98
View File
@@ -0,0 +1,98 @@
title: test
path: test
badges: []
cards:
- type: entities
entities:
- entity: sensor.cube_analog_input
- entity: sensor.cube_multistate_input
- entity: sensor.cube_power
- entity: sensor.carbon_activity
- entity: sensor.carbon_last_update_trigger
- type: "custom:light-entity-card"
brightness: true
brightness_icon: weather-sunny
color_picker: true
color_temp: true
color_wheel: true
effects_list: true
entity: light.pc
full_width_sliders: false
group: false
persist_features: false
show_slider_percent: false
smooth_color_wheel: true
temperature_icon: thermometer
white_icon: file-word-box
white_value: true
- type: "custom:light-entity-card"
brightness: true
brightness_icon: weather-sunny
color_picker: true
color_temp: true
color_wheel: true
effects_list: true
entity: light.bedside_light
full_width_sliders: false
group: false
show_slider_percent: true
smooth_color_wheel: true
temperature_icon: thermometer
white_icon: file-word-box
white_value: true
- type: "custom:mini-graph-card"
animate: true
entities:
- entity: sensor.purifier_temperature
index: 0
name: Purifier Temperature
- entity: sensor.bedroom_weather_temperature
index: 1
name: Weather Temperature
line_color:
- "#e74c3c"
- var(--accent-color)
line_width: 3
points_per_hour: 1
hours_to_show: 72
- type: "custom:mini-graph-card"
animate: true
entities:
- entity: sensor.purifier_humidity
index: 0
name: Purifier humidity
- entity: sensor.bedroom_weather_humidity
index: 1
name: Weather humidity
line_color:
- "#e74c3c"
- var(--accent-color)
line_width: 3
points_per_hour: 1
hours_to_show: 72
- type: entities
entities:
- binary_sensor.lumi_lumi_vibration_aq1_b8c6c402_ias_zone
- type: horizontal-stack
cards:
- type: button
tap_action:
action: call-service
service: script.alarm_start
name: start
icon: mdi:home-alert
- type: button
tap_action:
action: call-service
service: script.alarm_stop
name: stop
icon: mdi:home
- type: custom:gui-sandbox
+12
View File
@@ -0,0 +1,12 @@
light_with_fade_and_switch:
card:
type: custom:multiple-entity-row
entity: "[[light]]"
show_state: false
entities:
- entity: "[[fade]]"
name: Fade
toggle: true
- entity: "[[light]]"
name: Switch
toggle: true
@@ -0,0 +1,23 @@
sonos_media_player:
card:
type: custom:mini-media-player
artwork: cover
entity: "[[player]]"
speaker_group:
sync_volume: true
entities:
- entity_id: media_player.master_bedroom
name: Master Bedroom
- entity_id: media_player.living_room
name: Livingroom
- entity_id: media_player.kitchen
name: Kitchen
- entity_id: media_player.bathroom
name: Bathroom
hide:
power: true
icon: true
shuffle: false
idle_view:
when_idle: true
when_standby: true