mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-07 17:34:42 +00:00
Add light popup card for ceiling lights in tablet view
This commit is contained in:
@@ -132,6 +132,8 @@ zeroconf:
|
|||||||
# ─── PLUGINS ────────────────────────────────────────────────────────────────────
|
# ─── PLUGINS ────────────────────────────────────────────────────────────────────
|
||||||
#
|
#
|
||||||
|
|
||||||
|
browser_mod:
|
||||||
|
|
||||||
spotcast:
|
spotcast:
|
||||||
username: !secret spotify_spotcast_username
|
username: !secret spotify_spotcast_username
|
||||||
password: !secret spotify_spotcast_password
|
password: !secret spotify_spotcast_password
|
||||||
|
|||||||
@@ -40,3 +40,5 @@
|
|||||||
url: /hacsfiles/weather-card/weather-card.js
|
url: /hacsfiles/weather-card/weather-card.js
|
||||||
- type: module
|
- type: module
|
||||||
url: /hacsfiles/lovelace-folder-card/folder-card.js
|
url: /hacsfiles/lovelace-folder-card/folder-card.js
|
||||||
|
- type: module
|
||||||
|
url: /hacsfiles/light-popup-card/light-popup-card.js
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ sensor:
|
|||||||
friendly_name: "SARAH's URL"
|
friendly_name: "SARAH's URL"
|
||||||
value_template: !secret sarah_url
|
value_template: !secret sarah_url
|
||||||
|
|
||||||
|
shell_command:
|
||||||
|
clear_logs: truncate -s 0 /config/home-assistant.log
|
||||||
|
|
||||||
script:
|
script:
|
||||||
sarah_restart:
|
sarah_restart:
|
||||||
alias: System · Restart SARAH
|
alias: System · Restart SARAH
|
||||||
|
|||||||
@@ -4,6 +4,25 @@ custom_header:
|
|||||||
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
|
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
|
||||||
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
|
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
|
||||||
|
|
||||||
|
popup_cards:
|
||||||
|
light.ceiling_lights:
|
||||||
|
title: Ceiling lights
|
||||||
|
style:
|
||||||
|
padding-bottom: 30px
|
||||||
|
card:
|
||||||
|
type: custom:mod-card
|
||||||
|
card:
|
||||||
|
type: custom:light-popup-card
|
||||||
|
entity: light.ceiling_lights
|
||||||
|
fullscreen: false
|
||||||
|
actionsInARow: 2
|
||||||
|
actions:
|
||||||
|
- service: light.toggle
|
||||||
|
service_data:
|
||||||
|
entity_id: light.ceiling_lights
|
||||||
|
color: "#ffffcc"
|
||||||
|
name: Toggle
|
||||||
|
|
||||||
title: Tablet
|
title: Tablet
|
||||||
views:
|
views:
|
||||||
- title: Home
|
- title: Home
|
||||||
|
|||||||
Reference in New Issue
Block a user