Adding dingin room
This commit is contained in:
parent
ce60768220
commit
c7009b6779
7
Makefile
7
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: default all ui-minimalist config sensors automations
|
.PHONY: default all ui-minimalist config sensors automations lights
|
||||||
|
|
||||||
NAMESPACE := home-assistant
|
NAMESPACE := home-assistant
|
||||||
POD_ID := $(shell kubectl -n home-assistant get pod --selector=app.kubernetes.io/name=home-assistant --template "{{range .items}}{{.metadata.name}}{{\"\n\"}}{{end}}")
|
POD_ID := $(shell kubectl -n home-assistant get pod --selector=app.kubernetes.io/name=home-assistant --template "{{range .items}}{{.metadata.name}}{{\"\n\"}}{{end}}")
|
||||||
@ -6,7 +6,7 @@ CONFIG_FILES := configuration.yaml secrets.yaml input_boolean.yaml ui-lovelace.y
|
|||||||
|
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
all: ui-minimalist config sensors automations
|
all: ui-minimalist config sensors automations lights
|
||||||
|
|
||||||
config:
|
config:
|
||||||
for FILE in $(CONFIG_FILES); do \
|
for FILE in $(CONFIG_FILES); do \
|
||||||
@ -21,3 +21,6 @@ sensors:
|
|||||||
|
|
||||||
automations:
|
automations:
|
||||||
kubectl cp automations $(NAMESPACE)/$(POD_ID):/config
|
kubectl cp automations $(NAMESPACE)/$(POD_ID):/config
|
||||||
|
|
||||||
|
lights:
|
||||||
|
kubectl cp lights $(NAMESPACE)/$(POD_ID):/config
|
||||||
|
@ -86,6 +86,7 @@ script: !include scripts.yaml
|
|||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
input_boolean: !include input_boolean.yaml
|
input_boolean: !include input_boolean.yaml
|
||||||
sensor: !include_dir_merge_list sensors
|
sensor: !include_dir_merge_list sensors
|
||||||
|
light: !include_dir_merge_list lights
|
||||||
frontend:
|
frontend:
|
||||||
themes: !include_dir_merge_named themes
|
themes: !include_dir_merge_named themes
|
||||||
|
|
||||||
|
9
lights/diningroom.yaml
Normal file
9
lights/diningroom.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- platform: mqtt
|
||||||
|
schema: json
|
||||||
|
unique_id: matsal
|
||||||
|
name: matsal
|
||||||
|
command_topic: "zigbee2mqtt/light_dinnertable/set"
|
||||||
|
state_topic: "zigbee2mqtt/light_dinnertable"
|
||||||
|
color_temp: true
|
||||||
|
brightness: true
|
||||||
|
rgb: true
|
@ -10,3 +10,4 @@ views:
|
|||||||
- !include views/kitchen.yaml
|
- !include views/kitchen.yaml
|
||||||
- !include views/shoppinglist.yaml
|
- !include views/shoppinglist.yaml
|
||||||
- !include views/transport.yaml
|
- !include views/transport.yaml
|
||||||
|
- !include views/diningroom.yaml
|
||||||
|
44
ui_lovelace_minimalist/dashboard/views/diningroom.yaml
Normal file
44
ui_lovelace_minimalist/dashboard/views/diningroom.yaml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
title: "matsal"
|
||||||
|
path: "diningroom"
|
||||||
|
cards:
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: chip_back
|
||||||
|
variables:
|
||||||
|
ulm_chip_back_path: home
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: card_title
|
||||||
|
name: Matsal
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: card_light
|
||||||
|
entity: light.matsal
|
||||||
|
variables:
|
||||||
|
ulm_card_light_name: Matsal
|
||||||
|
ulm_card_light_enable_collapse: true
|
||||||
|
ulm_card_light_enable_slider: false
|
||||||
|
ulm_card_light_enable_color: true
|
||||||
|
ulm_card_light_force_background_color: false
|
||||||
|
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: card_light
|
||||||
|
entity: light.light_dinner_table_1
|
||||||
|
variables:
|
||||||
|
ulm_card_light_name: Lampa-1
|
||||||
|
ulm_card_light_enable_collapse: true
|
||||||
|
ulm_card_light_enable_slider: false
|
||||||
|
ulm_card_light_enable_color: true
|
||||||
|
ulm_card_light_force_background_color: false
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: card_light
|
||||||
|
entity: light.light_dinner_table_2
|
||||||
|
variables:
|
||||||
|
ulm_card_light_name: Lampa-2
|
||||||
|
ulm_card_light_enable_collapse: true
|
||||||
|
ulm_card_light_enable_slider: false
|
||||||
|
ulm_card_light_enable_color: true
|
||||||
|
ulm_card_light_force_background_color: false
|
@ -103,9 +103,20 @@ cards:
|
|||||||
variables:
|
variables:
|
||||||
ulm_custom_card_esh_room_light_entity: light.light_livinroom_1
|
ulm_custom_card_esh_room_light_entity: light.light_livinroom_1
|
||||||
ulm_custom_card_esh_room_climate_entity:
|
ulm_custom_card_esh_room_climate_entity:
|
||||||
- type: grid
|
- type: horizontal-stack
|
||||||
columns: 2
|
|
||||||
cards:
|
cards:
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template:
|
||||||
|
- card_esh_room
|
||||||
|
- yellow_on
|
||||||
|
name: Matsal
|
||||||
|
icon: mdi:pasta
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: "diningroom"
|
||||||
|
variables:
|
||||||
|
ulm_custom_card_esh_room_light_entity: light.matsal
|
||||||
|
ulm_custom_card_esh_room_climate_entity:
|
||||||
- type: "custom:button-card"
|
- type: "custom:button-card"
|
||||||
template:
|
template:
|
||||||
- card_esh_room
|
- card_esh_room
|
||||||
|
Loading…
Reference in New Issue
Block a user