Move config out of subfolder

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent addfa33f6f
commit 1ae0c6d0b8
221 changed files with 0 additions and 0 deletions
@@ -0,0 +1,58 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #2982c4
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 1
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Bathroom
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.bathroom_weather_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.bathroom_weather_humidity
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Devices
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: media_player.bathroom
name: Sonos
- type: custom:button-card
template: v3_button
entity: binary_sensor.sonos_is_bathroom_grouped
name: Sonos Grouped
tap_action:
action: call-service
service: "[[[ return entity.state == 'on' ? 'script.sonos_bathroom_unjoin' : 'script.sonos_bathroom_join' ]]]"
- !include ../popup_cards.yaml
@@ -0,0 +1,165 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #9489d1
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 2
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Bedroom
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.bedroom_weather_temperature
state_display: "[[[return entity.state.split(' ')[0] + '°']]]"
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.bedroom_weather_humidity
- type: custom:button-card
template: v3_badge
entity: sensor.purifier_air_quality
state_display: "[[[return entity.state.split(' ')[0] + ' pm2.5']]]"
variables:
state_size: "11px"
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.bedroom_left_window
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.bedroom_right_window
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.bedroom_door
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Scenes
- type: custom:decluttering-card
template: v3_horizontal_stack_card
variables:
- cards:
- type: custom:button-card
template: v3_scene
entity: scene.bedroom_neon
name: Neon
variables:
scene_color_1: rgb(255, 0, 190)
scene_color_2: rgb(0, 255, 190)
- type: custom:button-card
template: v3_scene
entity: scene.bedroom_ambient_neon
name: Ambient neon
variables:
scene_color_1: rgb(255, 0, 190)
scene_color_2: rgb(0, 255, 190)
- type: custom:button-card
template: v3_scene
entity: scene.bedroom_default
name: Regular
variables:
scene_color_1: rgb(254, 255, 209)
- type: custom:button-card
template: v3_scene
entity: scene.bedroom_ambient_default
name: Ambient regular
variables:
scene_color_1: rgb(254, 255, 209)
- type: custom:button-card
template: v3_scene
entity: scene.bedroom_pink
name: Pink
variables:
scene_color_1: rgb(255, 92, 38)
scene_color_2: rgb(255, 0, 190)
- type: custom:button-card
template: v3_scene
entity: scene.bedroom_ambient_pink
name: Ambient pink
variables:
scene_color_1: rgb(255, 92, 38)
scene_color_2: rgb(255, 0, 190)
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Lights
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.master_bedroom
name: All
- type: custom:button-card
template: v3_button_light
entity: light.master_bedroom_main
name: Main
- type: custom:button-card
template: v3_button_light
entity: light.bedside
name: Bedside
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Devices
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: media_player.master_bedroom
name: Sonos
- type: custom:button-card
template: v3_button_purifier
entity: fan.philips_airpurifier
name: Air Purifier
- type: custom:button-card
template: v3_button_radiator
entity: climate.bedroom_radiator_mode
name: Radiator
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: input_select.bedroom_mode
name: Mode
tap_action:
action: call-service
service: script.toggle_bedroom_mode
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Camera
- type: picture-glance
camera_image: camera.bedroom_hd
entities:
- switch.tapo_bedroom
- !include ../popup_cards.yaml
@@ -0,0 +1,78 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #0040A0
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 1
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Guest Bedroom
- type: horizontal-stack
cards:
# - type: custom:button-card
# template: v3_button_person
# entity: input_boolean.player_2_home
# styles:
# card:
# - background-image: url("/local/images/people/milena.jpg")
- type: custom:button-card
template: v3_badge_temp
entity: sensor.guest_bedroom_weather_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.guest_bedroom_weather_humidity
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Controls
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.tradfri_large
name: Night stand
- type: custom:button-card
template: v3_button
entity: input_select.guest_bedroom_mode
icon: mdi:bed
name: Mode
tap_action:
action: call-service
service: input_select.select_next
service_data:
entity_id: input_select.guest_bedroom_mode
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Devices
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: sensor.mercury_temperature
name: Mercury
icon: mdi:nas
- !include ../popup_cards.yaml
@@ -0,0 +1,71 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #b1633e
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 1
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Hallway
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.hallway_weather_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.hallway_weather_humidity
- type: custom:button-card
template: v3_badge_icon
entity: group.hallway_motion
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.hallway_motion_occupancy
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.hallway_motion_2_occupancy
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.front_door
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Lights
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.hallway
name: All
- type: custom:button-card
template: v3_button_light
entity: light.hallway_main
name: Main
- type: custom:button-card
template: v3_button_light
entity: light.hallway_entrance
name: Entrance
- !include ../popup_cards.yaml
@@ -0,0 +1,108 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #bacd8c
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 2
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Kitchen
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.kitchen_weather_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.kitchen_weather_humidity
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.kitchen_motion_occupancy
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.kitchen_window
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.kitchen_door
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Lights
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.kitchen
name: All
- type: custom:button-card
template: v3_button_light
entity: light.kitchen_main
name: Main
- type: custom:button-card
template: v3_button_light
entity: light.kitchen_secondary
name: Secondary
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Devices
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: media_player.kitchen
name: Sonos
- type: custom:button-card
template: v3_button
entity: binary_sensor.sonos_is_kitchen_grouped
name: Sonos Grouped
tap_action:
action: call-service
service: "[[[ return entity.state == 'on' ? 'script.sonos_kitchen_unjoin' : 'script.sonos_kitchen_join' ]]]"
- type: custom:button-card
template: v3_button_radiator
entity: climate.kitchen_radiator_mode
name: Radiator
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: vacuum.vacuum
name: Vacuum
- type: custom:button-card
template: v3_button_brita_water
# - type: custom:button-card
# template: v3_button_power
# entity: switch.kitchen_outlet
# name: Outlet
# variables:
# power_sensor: sensor.kitchen_outlet_electric_consumption_w
- !include ../popup_cards.yaml
@@ -0,0 +1,180 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #6b8988
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 2
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Living room
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.multisensor_6_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.multisensor_6_relative_humidity
- type: custom:button-card
template: v3_badge
entity: sensor.aqara_tvoc_voc
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_person
entity: input_boolean.georgi_home
styles:
card:
- background-image: url("/local/images/people/georgi.jpg")
- type: custom:button-card
template: v3_button_person
entity: input_boolean.player_2_home
styles:
card:
- background-image: url("/local/images/people/maya.jpg")
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.toshiba_ac_conditions_met
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.living_room_right_window
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Scenes
- type: custom:decluttering-card
template: v3_horizontal_stack_card
variables:
- cards:
- type: custom:button-card
template: v3_scene
entity: scene.living_room_ambient_neon
name: Neon
variables:
scene_color_1: rgba(255, 0, 190, 1)
scene_color_2: rgba(0, 255, 190, 1)
- type: custom:button-card
template: v3_scene
entity: scene.living_room_ambient_default
name: Warm
variables:
scene_color_1: rgba(240, 240, 190, 1)
scene_color_2: rgba(255, 210, 170, 1)
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Lights
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.living_room
name: All
- type: custom:button-card
template: v3_button_light
entity: light.living_room_main
name: Main
- type: custom:button-card
template: v3_button_light
entity: light.pc
name: PC
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.living_room_ambient
name: Ambient
- type: custom:button-card
template: v3_button_light
entity: light.living_room_ambient_main
name: Ambient Main
- type: custom:button-card
template: v3_button
entity: light.light_lohas_2
name: Ambient 2nd
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: "Devices"
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: media_player.living_room
name: Sonos
- type: custom:button-card
template: v3_button_tv
entity: media_player.living_room_tv
name: TV
- type: custom:button-card
template: v3_button
entity: switch.cadmium
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_cover
entity: cover.living_room
name: Blinds
tap_action:
action: call-service
service: script.toggle_living_room_cover
- type: custom:button-card
template: v3_button_radiator
entity: climate.living_room_radiator_mode
name: Radiator
- type: custom:button-card
template: v3_button_ac
entity: climate.toshiba_ac
name: AC
tap_action:
action: call-service
service: script.toshiba_ac_toggle
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: sensor.printer_status
name: Printer
- type: custom:button-card
template: v3_button_power
entity: switch.desk_outlet
name: Desk Outlet
variables:
power_sensor: sensor.desk_outlet_power
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Camera
- type: picture-glance
camera_image: camera.mercury_amcrest_1
entities: []
- !include ../popup_cards.yaml
@@ -0,0 +1,158 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #6A737A
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 2
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Preferences
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge
entity: binary_sensor.someone_home
- type: custom:button-card
template: v3_badge
entity: binary_sensor.someone_sleeping
- type: custom:button-card
template: v3_badge
entity: sensor.house_mode
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Toggles
- type: horizontal-stack
cards:
- type: custom:button-card
template: [v3_button, with_state_indicator]
entity: input_boolean.alarm_enabled
state_display: >-
[[[
if (entity.state === 'off') { return 'Off'; }
const time = states['input_datetime.alarm_time'].state;
return time.split(':').slice(0, -1).join(':');
]]]
name: Alarm
variables:
state_indicator_id: automation.alarm_set_time
- type: custom:button-card
template: v3_button
entity: input_boolean.speech_notifications
name: Speech
- type: custom:button-card
template: v3_button
entity: input_boolean.simulation_mode
name: Simulation
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
name: Guests
entity: input_boolean.guest_mode
- type: custom:button-card
template: v3_button
entity: input_boolean.guest_bedroom
name: G. Bedroom Occupied
- type: custom:button-card
template: v3_button
entity: input_select.guest_bedroom_mode
name: G. Bedroom
tap_action:
action: call-service
service: input_select.select_next
service_data:
entity_id: input_select.guest_bedroom_mode
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: binary_sensor.pi_hole_enabled
name: Pi-Hole
icon: mdi:pi-hole
- type: custom:button-card
template: v3_button
entity: switch.mercury_home_mode
name: Mercury
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Media
- type: entities
entities:
- input_boolean.coming_home_play_music
- type: divider
- input_number.bathroom_high_volume
- input_number.wake_up_volume
- input_text.wake_up_spotify_playlist
- type: divider
- automation.tv_plex_setup_house_for_plex
- automation.tv_plex_restore_house_after_plex
- light.browser_hallway
- light.browser_kitchen
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Climate
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: input_boolean.heating_enabled
name: Central Heating
- type: custom:button-card
template: v3_button
entity: input_boolean.ac_heating
name: AC Heating
- type: custom:button-card
template: v3_button
entity: script.turn_on_all_radiators
name: Turn On Radiators
- type: entities
show_header_toggle: false
entities:
- input_number.radiators_temperature
- type: divider
- input_number.toshiba_heat_temp
- input_number.toshiba_cool_temp
- input_number.toshiba_trigger_temp
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Preferences Milena
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: input_number.guest_bedroom_light_temp
- !include ../popup_cards.yaml
@@ -0,0 +1,63 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #0040A0
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 2
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: 🐍 Terrarium
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.terrarium_weather_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.terrarium_weather_humidity
- type: custom:button-card
template: v3_badge_icon
entity: binary_sensor.terrarium_cam_motion
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Climate
- type: custom:decluttering-card
template: climate_card
variables:
- main_entity: sensor.terrarium_weather_humidity
- main_name: Humidity
- left_entity: sensor.terrarium_weather_temperature
- left_name: Temperature
- right_entity: sensor.terrarium_weather_pressure
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Camera
- type: picture-glance
camera_image: camera.terrarium_cam_sd
entities:
- camera.terrarium_cam_hd
- !include ../popup_cards.yaml