Add light popup card for ceiling lights in tablet view

This commit is contained in:
2020-04-04 11:57:40 +03:00
parent a2d868ef4c
commit 3cf4242416
4 changed files with 26 additions and 0 deletions
+2
View File
@@ -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
+2
View File
@@ -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
+3
View File
@@ -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
+19
View File
@@ -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