This commit is contained in:
Philipp Hansen 2022-08-04 15:52:12 +02:00
parent f3d5aed526
commit cdec784ed0
6 changed files with 43 additions and 10 deletions

3
configuration.yaml Normal file → Executable file
View File

@ -6,5 +6,4 @@ homeassistant:
frontend:
themes: !include_dir_merge_named themes
themes: !include_dir_merge_named themes

View File

@ -10,7 +10,9 @@
icon: "mdi:lightbulb" #OPTIONAL
name: Office
color: "blue"
- type: custom:weather-card
entity: weather.pirateweather
- type: vertical-stack
cards:
@ -27,4 +29,6 @@
- type: 'custom:button-card'
template: "card_vacuum"
entity: 'vacuum.valetudo_kunibert'
entity: 'vacuum.valetudo_kunibert'

View File

@ -34,26 +34,31 @@
variables:
ulm_card_input_boolean_name: Sleep
- type: 'custom:button-card'
template: card_title
name: Living Room
label: Lights
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: card_light
entity: light.office_switch_lamp
entity: light.livingroom_switch_lamp_table
variables:
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
ulm_card_light_name: Table
- type: "custom:button-card"
template: card_light
entity: light.office_switch_lamp
entity: light.livingroom_switch_lamp_couch
variables:
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
ulm_card_light_name: Couch
- type: "custom:button-card"
template: card_light
entity: light.office_switch_lamp
entity: light.living_room_switch_lamp_sill
variables:
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
ulm_card_light_name: Sill

View File

@ -1,3 +1,4 @@
#Guest Room Light
automation:
- alias: guestroom_light_button
trigger:
@ -10,4 +11,19 @@ automation:
- type: toggle
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.guestroom_switch_lamp
domain: light
#Guest Room Light
automation:
- alias: office_light_button
trigger:
- device_id: c6b9d0a0f7a56e9f2966cdb8cb312614
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.office_bulb
domain: light

View File

@ -0,0 +1,7 @@
scene:
- name: Living Room Lights
icon: "mdi:flower-tulip"
entities:
light.livingroom_switch_lamp_table: "toggle"
light.livingroom_switch_lamp_couch: "toggle"
light.livingroom_switch_lamp_sill: "toggle"

View File

@ -31,4 +31,6 @@
- url: /hacsfiles/lovelace-mushroom/mushroom.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module
- url: /hacsfiles/weather-card/weather-card.js
type: module