Add new popup cards

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent 5e1e12bad9
commit 0af54c6d90
17 changed files with 758 additions and 699 deletions
-1
View File
@@ -1,6 +1,5 @@
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
popup_cards: !include lovelace/popup_cards.yaml
kiosk_mode:
hide_overflow: true
-1
View File
@@ -1,6 +1,5 @@
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
popup_cards: !include lovelace/popup_cards.yaml
kiosk_mode:
hide_header: true
-4
View File
@@ -1,9 +1,5 @@
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
popup_cards: !include lovelace/popup_cards.yaml
kiosk_mode:
kiosk: true
title: Sarah
views:
+2 -1
View File
@@ -1,6 +1,5 @@
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
popup_cards: !include lovelace/popup_cards.yaml
kiosk_mode:
kiosk: false
@@ -113,3 +112,5 @@ views:
# name: Outlet
# variables:
# power_sensor: sensor.kitchen_outlet_electric_consumption_w
- !include ./lovelace/popup_cards.yaml
@@ -186,7 +186,6 @@ card:
- width: 60px
- font-size: 13px
# Column 2
- type: vertical-stack
cards:
@@ -335,3 +334,5 @@ card:
styles:
card:
- margin-bottom: 8px
- !include ../popup_cards.yaml
@@ -183,7 +183,6 @@ card:
entity: vacuum.vacuum
name: Vacuum
# Column 2
- type: vertical-stack
cards:
@@ -332,3 +331,5 @@ card:
styles:
card:
- margin-bottom: 8px
- !include ../popup_cards.yaml
@@ -124,3 +124,5 @@ card:
entities:
- sensor.dark_sky_precip_probability
- sensor.dark_sky_cloud_coverage
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 1
cards:
- type: vertical-stack
cards:
@@ -54,3 +54,5 @@
tap_action:
action: call-service
service: "[[[ return entity.state == 'on' ? 'script.sonos_bathroom_unjoin' : 'script.sonos_bathroom_join' ]]]"
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 2
cards:
- type: vertical-stack
cards:
@@ -121,7 +121,6 @@
entity: light.bedside
name: Bedside
- type: vertical-stack
cards:
- type: custom:decluttering-card
@@ -162,3 +161,5 @@
camera_image: camera.bedroom_hd
entities:
- switch.tapo_bedroom
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 1
cards:
- type: vertical-stack
cards:
@@ -74,3 +74,5 @@
entity: sensor.mercury_temperature
name: Mercury
icon: mdi:nas
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 1
cards:
- type: vertical-stack
cards:
@@ -67,3 +67,5 @@
template: v3_button_light
entity: light.hallway_entrance
name: Entrance
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 2
cards:
- type: vertical-stack
cards:
@@ -104,3 +104,5 @@
# name: Outlet
# variables:
# power_sensor: sensor.kitchen_outlet_electric_consumption_w
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 2
cards:
- type: vertical-stack
cards:
@@ -176,3 +176,5 @@
- type: picture-glance
camera_image: camera.mercury_amcrest_1
entities: []
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 2
cards:
- type: vertical-stack
cards:
@@ -152,3 +152,5 @@
- type: custom:button-card
template: v3_button
entity: input_number.guest_bedroom_light_temp
- !include ../popup_cards.yaml
@@ -18,7 +18,7 @@
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
max_cols: 2
cards:
- type: vertical-stack
cards:
@@ -59,3 +59,5 @@
camera_image: camera.terrarium_cam_sd
entities:
- camera.terrarium_cam_hd
- !include ../popup_cards.yaml
+89 -43
View File
@@ -1,11 +1,15 @@
binary_sensor.bedroom_mode:
type: horizontal-stack
cards:
- type: custom:popup-card
entity: binary_sensor.bedroom_mode
title: Bedroom mode
card:
type: entities
entities:
- input_select.bedroom_mode
binary_sensor.kitchen_motion_occupancy:
- type: custom:popup-card
entity: binary_sensor.kitchen_motion_occupancy
title: Kitchen motion
card:
type: vertical-stack
@@ -26,7 +30,8 @@ binary_sensor.kitchen_motion_occupancy:
entities:
- entity: sensor.kitchen_motion_illuminance
group.hallway_motion:
- type: custom:popup-card
entity: group.hallway_motion
title: Hallway motion
card:
type: vertical-stack
@@ -49,14 +54,16 @@ group.hallway_motion:
entities:
- entity: sensor.hallway_motion_illuminance
sensor.mercury_temperature:
- type: custom:popup-card
entity: sensor.mercury_temperature
title: Mercury
card:
type: custom:decluttering-card
template: mercury_card
media_player.living_room:
- type: custom:popup-card
entity: media_player.living_room
title: Living room Sonos
card:
type: custom:decluttering-card
@@ -66,7 +73,8 @@ media_player.living_room:
- player_name: Living room
- title: ""
media_player.kitchen:
- type: custom:popup-card
entity: media_player.kitchen
title: Kitchen Sonos
card:
type: custom:decluttering-card
@@ -76,7 +84,8 @@ media_player.kitchen:
- player_name: Kitchen
- title: ""
media_player.bathroom:
- type: custom:popup-card
entity: media_player.bathroom
title: Bathroom Sonos
card:
type: custom:decluttering-card
@@ -86,7 +95,8 @@ media_player.bathroom:
- player_name: Bathroom
- title: ""
media_player.master_bedroom:
- type: custom:popup-card
entity: media_player.master_bedroom
title: Bedroom Sonos
card:
type: custom:decluttering-card
@@ -96,7 +106,8 @@ media_player.master_bedroom:
- player_name: Bedroom
- title: ""
media_player.nvidia_shield: &nvidia_shield
- type: custom:popup-card
entity: media_player.nvidia_shield
title: TV
card:
type: vertical-stack
@@ -160,10 +171,12 @@ media_player.nvidia_shield: &nvidia_shield
- type: custom:decluttering-card
template: bulsatcom_remote_card
media_player.living_room_tv: *nvidia_shield
# - type: custom:popup-card
# entity: media_player.living_room_tv: *nvidia_shiel
group.all_motion_sensors:
- type: custom:popup-card
entity: group.all_motion_sensors
title: Active motion sensors
card:
type: vertical-stack
@@ -195,7 +208,8 @@ group.all_motion_sensors:
card:
- margin-left: 8px
sensor.open_door_count:
- type: custom:popup-card
entity: sensor.open_door_count
title: Open doors
card:
type: vertical-stack
@@ -213,7 +227,8 @@ sensor.open_door_count:
entity: binary_sensor.bedroom_door
name: Bedroom
sensor.open_window_count:
- type: custom:popup-card
entity: sensor.open_window_count
title: Open windows
card:
type: vertical-stack
@@ -245,13 +260,15 @@ sensor.open_window_count:
card:
- margin-left: 8px
sensor.bedroom_weather_temperature:
- type: custom:popup-card
entity: sensor.bedroom_weather_temperature
title: Bedroom Climate
card:
type: custom:decluttering-card
template: bedroom_climate_card
sensor.multisensor_6_temperature:
- type: custom:popup-card
entity: sensor.multisensor_6_temperature
title: Living Room Climate
card:
type: custom:decluttering-card
@@ -263,7 +280,8 @@ sensor.multisensor_6_temperature:
- right_name: Luminance
sensor.multisensor_6_relative_humidity:
- type: custom:popup-card
entity: sensor.multisensor_6_relative_humidity
title: Living Room Humidity
card:
type: custom:decluttering-card
@@ -276,13 +294,15 @@ sensor.multisensor_6_relative_humidity:
- right_entity: sensor.multisensor_6_luminance
- right_name: Luminance
sensor.bedroom_weather_humidity:
- type: custom:popup-card
entity: sensor.bedroom_weather_humidity
title: Bedroom Humidity
card:
type: custom:decluttering-card
template: bedroom_humidity_card
sensor.kitchen_weather_temperature:
- type: custom:popup-card
entity: sensor.kitchen_weather_temperature
title: Kitchen Temperature
card:
type: custom:decluttering-card
@@ -292,7 +312,8 @@ sensor.kitchen_weather_temperature:
- left_entity: sensor.kitchen_weather_humidity
- right_entity: sensor.kitchen_weather_pressure
sensor.kitchen_weather_humidity:
- type: custom:popup-card
entity: sensor.kitchen_weather_humidity
title: Kitchen Humidity
card:
type: custom:decluttering-card
@@ -304,7 +325,8 @@ sensor.kitchen_weather_humidity:
- left_name: Temperature
- right_entity: sensor.kitchen_weather_pressure
sensor.bathroom_weather_temperature:
- type: custom:popup-card
entity: sensor.bathroom_weather_temperature
title: Bathroom Temperature
card:
type: custom:decluttering-card
@@ -314,7 +336,8 @@ sensor.bathroom_weather_temperature:
- left_entity: sensor.bathroom_weather_humidity
- right_entity: sensor.bathroom_weather_pressure
sensor.bathroom_weather_humidity:
- type: custom:popup-card
entity: sensor.bathroom_weather_humidity
title: Bathroom Humidity
card:
type: custom:decluttering-card
@@ -327,7 +350,8 @@ sensor.bathroom_weather_humidity:
- right_entity: sensor.bathroom_weather_pressure
sensor.hallway_weather_temperature:
- type: custom:popup-card
entity: sensor.hallway_weather_temperature
title: Hallway Temperature
card:
type: custom:decluttering-card
@@ -337,7 +361,8 @@ sensor.hallway_weather_temperature:
- left_entity: sensor.hallway_weather_humidity
- right_entity: sensor.hallway_weather_pressure
sensor.hallway_weather_humidity:
- type: custom:popup-card
entity: sensor.hallway_weather_humidity
title: Hallway Humidity
card:
type: custom:decluttering-card
@@ -350,7 +375,8 @@ sensor.hallway_weather_humidity:
- right_entity: sensor.hallway_weather_pressure
sensor.terrarium_weather_temperature:
- type: custom:popup-card
entity: sensor.terrarium_weather_temperature
title: Terrarium Temperature
card:
type: custom:decluttering-card
@@ -361,7 +387,8 @@ sensor.terrarium_weather_temperature:
- right_entity: sensor.terrarium_weather_pressure
sensor.terrarium_weather_humidity:
- type: custom:popup-card
entity: sensor.terrarium_weather_humidity
title: Terrarium Humidity
card:
type: custom:decluttering-card
@@ -373,7 +400,8 @@ sensor.terrarium_weather_humidity:
- left_name: Temperature
- right_entity: sensor.terrarium_weather_pressure
sensor.guest_bedroom_weather_temperature:
- type: custom:popup-card
entity: sensor.guest_bedroom_weather_temperature
title: Guest Bedroom Temperature
card:
type: custom:decluttering-card
@@ -383,7 +411,8 @@ sensor.guest_bedroom_weather_temperature:
- left_entity: sensor.guest_bedroom_weather_humidity
- right_entity: sensor.guest_bedroom_weather_pressure
sensor.guest_bedroom_weather_humidity:
- type: custom:popup-card
entity: sensor.guest_bedroom_weather_humidity
title: Guest Bedroom Humidity
card:
type: custom:decluttering-card
@@ -395,31 +424,36 @@ sensor.guest_bedroom_weather_humidity:
- left_name: Temperature
- right_entity: sensor.guest_bedroom_weather_pressure
sensor.aqara_tvoc_voc:
- type: custom:popup-card
entity: sensor.aqara_tvoc_voc
title: VOC
card:
type: custom:decluttering-card
template: aqara_tvoc_card
sensor.purifier_air_quality:
- type: custom:popup-card
entity: sensor.purifier_air_quality
title: Bedroom air quality
card:
type: custom:decluttering-card
template: bedroom_air_quality_card
sensor.purifier_allergens:
- type: custom:popup-card
entity: sensor.purifier_allergens
title: Bedroom allergen index
card:
type: custom:decluttering-card
template: bedroom_allergen_index_card
fan.philips_airpurifier:
- type: custom:popup-card
entity: fan.philips_airpurifier
title: Air Purifier
card:
type: custom:decluttering-card
template: philips_airpurifier_card
switch.cadmium:
- type: custom:popup-card
entity: switch.cadmium
title: Cadmium
card:
type: custom:decluttering-card
@@ -427,19 +461,22 @@ switch.cadmium:
variables:
- title: ''
sensor.fast_com_download:
- type: custom:popup-card
entity: sensor.fast_com_download
title: Network Speed
card:
type: custom:decluttering-card
template: network_card
binary_sensor.pi_hole_enabled:
- type: custom:popup-card
entity: binary_sensor.pi_hole_enabled
title: Pi-Hole
card:
type: custom:decluttering-card
template: pi_hole_card
input_boolean.alarm_enabled:
- type: custom:popup-card
entity: input_boolean.alarm_enabled
title: Alarm
card:
type: vertical-stack
@@ -458,13 +495,16 @@ input_boolean.alarm_enabled:
- entity: automation.alarm_set_time
name: Automatically set time
script.brita_pour_water:
- type: custom:popup-card
entity: script.brita_pour_water
title: Brita
card:
type: custom:decluttering-card
template: brita_card
sensor.kitchen_outlet_electric_consumption_w:
- type: custom:popup-card
entity: sensor.kitchen_outlet_electric_consumption_w
title: Kitchen power
card:
type: entities
@@ -486,7 +526,8 @@ sensor.kitchen_outlet_electric_consumption_w:
- entity: binary_sensor.kitchen_outlet_power_management_over_load_detected
name: Over-load detected
sensor.desk_outlet_power:
- type: custom:popup-card
entity: sensor.desk_outlet_power
title: Desk power
card:
type: entities
@@ -510,7 +551,8 @@ sensor.desk_outlet_power:
- entity: sensor.desk_outlet_wifi
name: Wifi strength
sensor.printer_status:
- type: custom:popup-card
entity: sensor.printer_status
title: Brother Printer
card:
type: entities
@@ -522,7 +564,8 @@ sensor.printer_status:
- sensor.printer_uptime
sensor.average_temperature:
- type: custom:popup-card
entity: sensor.average_temperature
title: Temperatures
card:
type: vertical-stack
@@ -581,7 +624,8 @@ sensor.average_temperature:
action: navigate
navigation_path: /lovelace-main/climate
sensor.average_humidity:
- type: custom:popup-card
entity: sensor.average_humidity
title: Humidities
card:
type: vertical-stack
@@ -667,7 +711,8 @@ sensor.average_humidity:
navigation_path: /lovelace-main/climate
vacuum.vacuum:
- type: custom:popup-card
entity: vacuum.vacuum
title: Vacuum
card:
type: custom:layout-card
@@ -724,7 +769,8 @@ vacuum.vacuum:
x: 25457
y: 25178
switch.tapo_bedroom:
- type: custom:popup-card
entity: switch.tapo_bedroom
title: "Bedroom Camera"
card:
type: picture-glance
-1
View File
@@ -1,6 +1,5 @@
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
popup_cards: !include lovelace/popup_cards.yaml
swipe_nav:
swipe_amount: 50