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

1
configuration.yaml Normal file → Executable file
View File

@ -7,4 +7,3 @@ homeassistant:
frontend: frontend:
themes: !include_dir_merge_named themes themes: !include_dir_merge_named themes

View File

@ -11,6 +11,8 @@
name: Office name: Office
color: "blue" color: "blue"
- type: custom:weather-card
entity: weather.pirateweather
- type: vertical-stack - type: vertical-stack
cards: cards:
@ -28,3 +30,5 @@
- type: 'custom:button-card' - type: 'custom:button-card'
template: "card_vacuum" template: "card_vacuum"
entity: 'vacuum.valetudo_kunibert' entity: 'vacuum.valetudo_kunibert'

View File

@ -34,26 +34,31 @@
variables: variables:
ulm_card_input_boolean_name: Sleep ulm_card_input_boolean_name: Sleep
- type: 'custom:button-card'
template: card_title
name: Living Room
label: Lights
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: "custom:button-card" - type: "custom:button-card"
template: card_light template: card_light
entity: light.office_switch_lamp entity: light.livingroom_switch_lamp_table
variables: variables:
ulm_card_light_enable_color: true ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true ulm_card_light_force_background_color: true
ulm_card_light_name: Office ulm_card_light_name: Table
- type: "custom:button-card" - type: "custom:button-card"
template: card_light template: card_light
entity: light.office_switch_lamp entity: light.livingroom_switch_lamp_couch
variables: variables:
ulm_card_light_enable_color: true ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true ulm_card_light_force_background_color: true
ulm_card_light_name: Office ulm_card_light_name: Couch
- type: "custom:button-card" - type: "custom:button-card"
template: card_light template: card_light
entity: light.office_switch_lamp entity: light.living_room_switch_lamp_sill
variables: variables:
ulm_card_light_enable_color: true ulm_card_light_enable_color: true
ulm_card_light_force_background_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: automation:
- alias: guestroom_light_button - alias: guestroom_light_button
trigger: trigger:
@ -11,3 +12,18 @@ automation:
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.guestroom_switch_lamp entity_id: light.guestroom_switch_lamp
domain: light 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

@ -32,3 +32,5 @@
type: module type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js - url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module type: module
- url: /hacsfiles/weather-card/weather-card.js
type: module