New scenes for HA standalone setup on raspi

- KNX buttons
- long click custom component
This commit is contained in:
Martin Bauer 2020-04-28 18:38:45 +00:00
parent c9c9c35561
commit 250556adc2
14 changed files with 1388 additions and 25 deletions

View File

@ -0,0 +1,35 @@
- alias: KNX Button WohnzimmerTerrassentür Teddy mitte links kurz
trigger:
- entity_id: switch.wohnzimmer_terrassentur_szene_2
from: 'off'
to: 'on'
platform: state
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_kuscheln
# ===
- alias: KNX Button WohnzimmerTerrassentür Garten mitte rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_terrassentur_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.garten_savanna
- alias: KNX Button WohnzimmerTerrassentür Garten mitte rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_terrassentur_szene_3
action:
service: lights.turn_off
data:
entity_id: light.garten_lichter

View File

@ -0,0 +1,66 @@
- alias: KNX Button Eingangstür mitte links kurz - alles an
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.eingang_szene_2
action:
- service: light.turn_on
data:
entity_id:
- light.gang_licht
- light.gang_einganglicht
- alias: KNX Button Eingangstür mitte links lang - alles an hell
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.eingang_szene_2
action:
- service: light.turn_on
data:
entity_id:
- light.gang_licht
- light.gang_einganglicht
- service: scene.turn_on
data:
entity_id:
- scene.wohnbereich_hell
# -----------
- alias: KNX Button Eingangstür mitte rechts kurz - alles aus innen
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.eingang_szene_3
action:
service: light.turn_off
data:
entity_id:
- all_downstairs_but_outside
- alias: KNX Button Eingangstür mitte rechts lang - alles aus innen und aussen
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.eingang_szene_3
action:
service: light.turn_off
data:
entity_id:
- all_downstairs
# --------------------------------- Alarm Buttons -----------------------------------
# Alarm
#switch.eingang_szene_4 # key
#switch.eingang_szene_5 # dog

View File

@ -0,0 +1,156 @@
# ---------------------------------------------------
- alias: KNX Button Esszimmertür oben links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.esszimmer_szene_0
action:
service: cover_half.set_half
data:
entity_id: group.living_area
- alias: KNX Button Esszimmertür oben links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.esszimmer_szene_0
action:
service: cover_half.set_half
data:
entity_id:
- cover.kuche_fenster_rollo
- cover.esszimmer_fenster_rollo
# ===
- alias: KNX Button Esszimmertür oben rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.esszimmer_szene_1
action:
service: cover.open_cover
data:
entity_id: group.living_area
- alias: KNX Button Esszimmertür oben rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.esszimmer_szene_1
action:
service: cover.open_cover
data:
entity_id:
- cover.kuche_fenster_rollo
- cover.esszimmer_fenster_rollo
# ---------------------------------------------------
- alias: KNX Button Esszimmertür mitte links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.esszimmer_szene_2
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_orange
- alias: KNX Button Esszimmertür mitte links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.esszimmer_szene_2
action:
service: scene.turn_on
data:
entity_id: scene.kuche_essbereich_orange
# ===
- alias: KNX Button Esszimmertür mitte rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.esszimmer_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_hell
- alias: KNX Button Esszimmertür mitte rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.esszimmer_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.kuche_essbereich_hell
# ---------------------------------------------------
- alias: KNX Button Esszimmertür unten links ein
trigger:
- entity_id: switch.esszimmer_szene_4
from: 'off'
to: 'on'
platform: state
action:
service: switch.turn_on
data:
entity_id:
- switch.herd_phase_1
- switch.herd_phase_2
- switch.herd_phase_3
- alias: KNX Button Esszimmertür unten links aus
trigger:
- entity_id: switch.esszimmer_szene_4
from: 'on'
to: 'off'
platform: state
action:
service: switch.turn_off
data:
entity_id:
- switch.herd_phase_1
- switch.herd_phase_2
- switch.herd_phase_3
# ===
- alias: KNX Button Esszimmertür unten rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.esszimmer_szene_5
action:
service: light.turn_off
data:
entity_id: group.living_area
- alias: KNX Button Esszimmertür unten rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.esszimmer_szene_5
action:
service: light.turn_off
data:
entity_id: light.kuche_esszimmer_lichter

View File

@ -0,0 +1,150 @@
# ---------------------------------------------------
- alias: KNX Button WohnzimmerGangTür oben links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_0
action:
service: cover_half.set_half
data:
entity_id: group.living_area
- alias: KNX Button WohnzimmerGangTür oben links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_0
action:
service: cover_half.set_half
data:
entity_id:
- cover.wohnzimmer_fenster_rollo
- cover.wohnzimmer_terrassentur_rollo
# ===
- alias: KNX Button WohnzimmerGangTür oben rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_1
action:
service: cover.open_cover
data:
entity_id: group.living_area
- alias: KNX Button WohnzimmerGangTür oben rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_1
action:
service: cover.open_cover
data:
entity_id:
- cover.wohnzimmer_fenster_rollo
- cover.wohnzimmer_terrassentur_rollo
# ---------------------------------------------------
- alias: KNX Button WohnzimmerGangTür mitte links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_2
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_orange
- alias: KNX Button WohnzimmerGangTür mitte links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_2
action:
service: scene.turn_on
data:
entity_id: scene.wohnzimmer_orange
# ===
- alias: KNX Button WohnzimmerGangTür mitte rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_hell
- alias: KNX Button WohnzimmerGangTür mitte rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.wohnzimmer_hell
# ---------------------------------------------------
- alias: KNX Button WohnzimmerGangTür unten links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_4
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_blau_grun
- alias: KNX Button WohnzimmerGangTür unten links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_4
action:
service: scene.turn_on
data:
entity_id: scene.wohnzimmer_blau_grun
# ===
- alias: KNX Button WohnzimmerGangTür unten rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_5
action:
service: light.turn_off
data:
entity_id: group.living_area
- alias: KNX Button WohnzimmerGangTür unten rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_5
action:
service: light.turn_off
data:
entity_id: light.kuche_wohnzimmer_lichter

View File

@ -4,7 +4,6 @@ from ruamel.yaml import YAML
yaml = YAML()
# -------------------------------------- put the config here -----------------------------------------------------------
def get_config():
@ -263,7 +262,7 @@ def create_rules(folder):
rules += default_light_controls(data['group'], data['ir_host'])
rules += default_music_controls(data['media_player'], data['ir_host'])
rules += default_shutter_controls(data['group'], data['ir_host'])
file_name = os.path.join(folder, name + '.yaml')
file_name = os.path.join(folder, "ir_" + name + '.yaml')
with open(file_name, 'w') as f:
f.write("# Dont' edit manually! this is generated!\n\n")
yaml.dump(rules, f)

View File

@ -70,7 +70,7 @@ def add_knx_devices(devices, groups):
# Bells
DeviceInfo("KlingelOben", "Klingel Oben", 'first_floor'),
DeviceInfo("Klingel Innen", "Klingel Innentür", 'other'),
DeviceInfo("Klingel Aussen", "Klingen Außentür", 'other'),
DeviceInfo("Klingel Aussen", "Klingel Außentür", 'other'),
]
scene_button_names = ['ObenLinks', 'ObenRechts', 'MitteLinks', 'MitteRechts', 'UntenLinks', 'UntenRechts']
scene_button_names = [(i, e) for i, e in enumerate(scene_button_names)]
@ -101,7 +101,7 @@ def add_knx_devices(devices, groups):
DeviceInfo("HerdP2", "Herd Phase 2", 'living_area'),
DeviceInfo("HerdP3", "Herd Phase 3", 'living_area'),
# Rest
DeviceInfo("ArbeitszimmerSteckdose", "Arbeitszimmer Steckdose", 'office_martin'),
DeviceInfo("ArbeitszimmerSteckdose", "Arbeitszimmer Steckdose", 'office'),
DeviceInfo("WohnzimmerSteckdose1", "Wohnzimmer Steckdose 1", 'living_area'),
DeviceInfo("WohnzimmerSteckdose2", "Wohnzimmer Steckdose 2", 'living_area'),
]
@ -163,7 +163,7 @@ def add_knx_devices(devices, groups):
def add_fhem_devices(devices, groups):
fhem_yaml_path = os.path.join(script_path, 'fhem.yaml')
fhem_yaml = yaml.load(open(fhem_yaml_path))
fhem_yaml = yaml.load(open(fhem_yaml_path, encoding="utf-8"))
for device_type, device_list in fhem_yaml.items():
if device_type not in devices:
devices[device_type] = []
@ -258,14 +258,14 @@ def recorder_config(all_devices):
def create_config(target_directory, development=False):
groups_yaml_path = os.path.join(script_path, 'groups.yaml')
manual_config_path = os.path.join(script_path, 'manual_config.yaml')
group_dict = yaml.load(open(groups_yaml_path))
manual_config_dict = yaml.load(open(manual_config_path))
group_dict = yaml.load(open(groups_yaml_path, encoding="utf-8"))
manual_config_dict = yaml.load(open(manual_config_path, encoding="utf-8"))
all_devices = {}
add_knx_devices(all_devices, group_dict)
add_fhem_devices(all_devices, group_dict)
with open(os.path.join(target_directory, 'configuration.yaml'), 'w') as output:
with open(os.path.join(target_directory, 'configuration.yaml'), 'w', encoding="utf-8") as output:
output.write("# Dont' edit manually! this is generated!\n\n")
for key in ['sensor', 'switch', 'light', 'cover', 'binary_sensor']:
if key in manual_config_dict:

View File

@ -1,12 +1,25 @@
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
#default_config:
frontend:
mobile_app:
person:
sun:
system_health:
updater:
#input_boolean:
#input_datetime:
#input_number:
#input_select:
#input_text:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
base_url: https://ha.bauer.tech
# Discover some devices automatically
# Di over some devices automatically
#discovery:
homeassistant:
@ -100,7 +113,7 @@ dimmer:
cover_half:
long_click:
duration: 1.0
duration: 0.6
switches:
- switch.esszimmer_szene_0
- switch.esszimmer_szene_1
@ -108,6 +121,12 @@ long_click:
- switch.esszimmer_szene_3
- switch.esszimmer_szene_4
- switch.esszimmer_szene_5
- switch.wohnzimmer_szene_0
- switch.wohnzimmer_szene_1
- switch.wohnzimmer_szene_2
- switch.wohnzimmer_szene_3
- switch.wohnzimmer_szene_4
- switch.wohnzimmer_szene_5
- switch.eingang_szene_2
- switch.eingang_szene_3
- switch.eingang_szene_4
@ -137,29 +156,27 @@ tts:
knx:
rate_limit: 20
tunneling:
host: !secret knxd_host
host: 192.168.178.65
port: 3671
local_ip: !secret local_ip
fhem:
host: server
host: localhost
port: 7072
cul_device_name: CUL_HM
zwave:
usb_path: /dev/zwave-stick
usb_path: /dev/serial/by-id/usb-0658_0200-if00
network_key: "0xE0, 0x64, 0x50, 0x55, 0x20, 0x63, 0xC7, 0x05, 0x62, 0xD3, 0xEA, 0x91, 0x87, 0xE0, 0x1E, 0x74"
lirc_network:
- host: kitchenpi
- host: kitchenpi.fritz.box
port: 2222
- host: bedroompi
- host: bedroompi.fritz.box
port: 2222
- host: esszimmerradio
- host: esszimmerradio.fritz.box
port: 8765
- host: musikserverWohnzimmerOben
- host: musikserverWohnzimmerOben.fritz.box
port: 8765
binary_sensor:
@ -167,14 +184,16 @@ binary_sensor:
media_player:
- platform: squeezebox_telnet
host: server
host: server.fritz.box
- platform: squeezebox_telnet
host: musikserverWohnzimmerOben.fritz.box
- platform: denonavr
host: avreceiver
host: avreceiver.fritz.box
vacuum:
- platform: xiaomi_miio
host: rockrobo
host: rockrobo.fritz.box
token: !secret vacuum_token
@ -221,4 +240,35 @@ sensor:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
scene: !include_dir_merge_list scenes
# Light groups
light:
- platform: group
name: Küche & Esszimmer Lichter
entities:
- light.kuche_deckenlampe
- light.esszimmer_deckenlampe_west
- light.esszimmer_deckenlampe_mitte
- light.kuche_links
- light.kuche_rechts
- light.kuche_vorne
- platform: group
name: Wohnzimmer Lichter
entities:
- light.wohnzimmer_deckenlampe
- light.wohnzimmer_kugel
- light.wohnzimmer_stehlampe
- light.wohnzimmer_stehlampe_oben
- light.wohnzimmer_regal_rechts
- light.wohnzimmer_regal_links
- platform: group
name: Garten Lichter
entities:
- light.garten_spot_birke
- light.garten_spot_magnolie
- light.garten_spot_beet
- light.garten_stehleuchte
- light.aussen_terassenlicht

View File

@ -45,7 +45,6 @@ def on_falling_edge(entity_id, from_state, to_state, hass, long_click_time):
hass.bus.fire('short_click', {'entity_id': entity_id})
else:
hass.bus.fire('long_click', {'entity_id': entity_id})
print("-------------------- long on falling edge", entity_id, duration)
del switch_on_times[entity_id]

68
scenes/arbeitszimmer.yaml Normal file
View File

@ -0,0 +1,68 @@
- name: Arbeitszimmer Orange
id: arbeitszimmer_orange
entities:
light.arbeitszimmer_martin_deckenlampe:
state: false
light.arbeitszimmer_martin:
state: true
brightness: 229
color_temp: 484
light.arbeitszimmer_martin_oben:
state: true
brightness: 216
xy_color:
- 0.569
- 0.397
light.arbeitszimmer_martin_unten:
state: true
brightness: 214
xy_color:
- 0.2
- 0.102
- name: Arbeitszimmer Blau Grün
id: arbeitszimmer_blau_grun
entities:
light.arbeitszimmer_martin_deckenlampe:
state: false
light.arbeitszimmer_martin:
state: true
brightness: 173
xy_color:
- 0.429
- 0.483
light.arbeitszimmer_martin_oben:
state: true
brightness: 186
xy_color:
- 0.565
- 0.398
light.arbeitszimmer_martin_unten:
state: true
brightness: 247
xy_color:
- 0.219
- 0.137
- name: Arbeitszimmer Hell
id: arbeitszimmer_hell
entities:
light.arbeitszimmer_martin_deckenlampe:
state: true
brightness: 252
light.arbeitszimmer_martin:
state: true
brightness: 252
xy_color:
- 0.429
- 0.483
light.arbeitszimmer_martin_oben:
state: true
brightness: 247
xy_color:
- 0.44
- 0.485
light.arbeitszimmer_martin_unten:
state: true
brightness: 249
xy_color:
- 0.219
- 0.137

27
scenes/garten.yaml Normal file
View File

@ -0,0 +1,27 @@
- name: Garten Savanna
id: garten_savanna
entities:
light.garten_stehleuchte:
state: true
brightness: 205
xy_color:
- 0.465
- 0.448
light.garten_spot_beet:
state: true
brightness: 205
xy_color:
- 0.532
- 0.384
light.garten_spot_magnolie:
state: true
brightness: 205
xy_color:
- 0.465
- 0.448
light.garten_spot_birke:
state: true
brightness: 205
xy_color:
- 0.586
- 0.35

View File

@ -0,0 +1,117 @@
- name: Küche Essbereich Orange
id: kueche_essbereich_orange
entities:
light.kuche_deckenlampe:
state: true
brightness: 38
light.esszimmer_deckenlampe_west:
state: true
brightness: 38
light.esszimmer_deckenlampe_mitte:
state: true
brightness: 38
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 153
xy_color:
- 0.54
- 0.435
light.kuche_rechts:
state: true
brightness: 242
xy_color:
- 0.557
- 0.396
light.kuche_vorne:
state: true
color_temp: 477
brightness: 114
- name: Küche Essbereich Blau Grün
id: kueche_essbereich_blau_grun
entities:
light.kuche_deckenlampe:
state: true
brightness: 38
light.esszimmer_deckenlampe_west:
state: true
brightness: 38
light.esszimmer_deckenlampe_mitte:
state: true
brightness: 38
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 198
xy_color:
- 0.156
- 0.218
light.kuche_rechts:
state: true
brightness: 252
xy_color:
- 0.171
- 0.353
light.kuche_vorne:
state: true
brightness: 130
xy_color:
- 0.158
- 0.053
- name: Küche Essbereich Grün
id: kueche_essbereich_grun
entities:
light.kuche_deckenlampe:
state: false
light.esszimmer_deckenlampe_west:
state: false
light.esszimmer_deckenlampe_mitte:
state: false
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 198
xy_color:
- 0.4038
- 0.555
light.kuche_rechts:
state: true
brightness: 252
xy_color:
- 0.4771
- 0.4957
light.kuche_vorne:
state: true
brightness: 130
xy_color:
- 0.1987
- 0.5792
- name: Küche Essbereich Hell
id: kueche_essbereich_hell
entities:
light.esszimmer_deckenlampe_west:
state: true
brightness: 255
light.kuche_deckenlampe:
state: true
brightness: 255
light.kuche_links:
state: true
brightness: 255
xy_color:
- 0.537
- 0.438
light.kuche_rechts:
state: true
brightness: 255
xy_color:
- 0.557
- 0.403
light.kuche_vorne:
state: true
brightness: 255
color_temp: 492

175
scenes/schlafzimmer.yaml Normal file
View File

@ -0,0 +1,175 @@
- id: schlafzimmer_bettlich_dunkel
name: Schlafzimmer Bettlicht dunkel
entities:
light.bett_martin:
brightness: 5
effect: none
hs_color:
- 10.118
- 100
rgb_color:
- 255
- 43
- 0
state: 'on'
xy_color:
- 0.689
- 0.309
light.bett_rebecca:
brightness: 5
effect: none
hs_color:
- 10.118
- 100
rgb_color:
- 255
- 43
- 0
state: 'on'
xy_color:
- 0.689
- 0.309
light.schlafzimmer_deckenlampe:
state: 'off'
light.schlafzimmer_fluter:
state: 'off'
light.schlafzimmer_schrank:
state: 'off'
- name: Schlafzimmer Einschlaflicht
id: schlafzimmer_einschlaflicht
entities:
light.schlafzimmer_deckenlampe:
state: false
light.schlafzimmer_schrank:
state: false
light.bett_martin:
state: true
brightness: 70
xy_color:
- 0.502
- 0.414
light.bett_rebecca:
state: true
brightness: 70
xy_color:
- 0.502
- 0.414
light.schlafzimmer_fluter:
state: false
- name: Schlafzimmer Orange
id: schlafzimmer_orange
entities:
light.schlafzimmer_deckenlampe:
state: false
light.schlafzimmer_schrank:
state: true
brightness: 81
xy_color:
- 0.502
- 0.414
light.bett_martin:
state: true
brightness: 81
xy_color:
- 0.502
- 0.414
light.bett_rebecca:
state: true
brightness: 81
xy_color:
- 0.502
- 0.414
light.schlafzimmer_fluter:
state: true
brightness: 81
xy_color:
- 0.502
- 0.414
- name: Schlafzimmer Rot
id: schlafzimmer_rot
entities:
light.schlafzimmer_deckenlampe:
state: false
light.schlafzimmer_schrank:
state: true
brightness: 146
xy_color:
- 0.584
- 0.354
light.bett_martin:
state: true
brightness: 198
xy_color:
- 0.584
- 0.354
light.bett_rebecca:
state: true
brightness: 198
xy_color:
- 0.569
- 0.397
light.schlafzimmer_fluter:
state: true
brightness: 95
xy_color:
- 0.581
- 0.389
- name: Schlafzimmer Blau
id: schlafzimmer_blau
entities:
light.schlafzimmer_deckenlampe:
state: false
light.schlafzimmer_schrank:
state: true
brightness: 58
xy_color:
- 0.442
- 0.416
light.bett_martin:
state: true
brightness: 254
xy_color:
- 0.191
- 0.173
light.bett_rebecca:
state: true
brightness: 83
xy_color:
- 0.418
- 0.419
light.schlafzimmer_fluter:
state: true
brightness: 127
xy_color:
- 0.223
- 0.148
- name: Schlafzimmer Ganz Hell
id: schlafzimmer_ganz_hell
entities:
light.schlafzimmer_deckenlampe:
state: true
brightness: 255
light.schlafzimmer_schrank:
state: true
brightness: 254
xy_color:
- 0.459
- 0.408
light.bett_martin:
state: true
brightness: 254
xy_color:
- 0.459
- 0.408
light.bett_rebecca:
state: true
brightness: 254
xy_color:
- 0.459
- 0.408
light.schlafzimmer_fluter:
state: true
brightness: 254
xy_color:
- 0.459
- 0.408

390
scenes/wohnbereich.yaml Normal file
View File

@ -0,0 +1,390 @@
- name: Wohnbereich Orange
id: wohnbereich_orange
entities:
light.kuche_deckenlampe:
state: true
brightness: 38
light.wohnzimmer_deckenlampe:
state: true
brightness: 38
light.esszimmer_deckenlampe_west:
state: true
brightness: 38
light.esszimmer_deckenlampe_mitte:
state: true
brightness: 38
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 153
xy_color:
- 0.54
- 0.435
light.kuche_rechts:
state: true
brightness: 242
xy_color:
- 0.557
- 0.396
light.kuche_vorne:
state: true
color_temp: 477
brightness: 114
light.wohnzimmer_kugel:
state: true
brightness: 229
color_temp: 492
light.wohnzimmer_stehlampe:
state: true
brightness: 191
color_temp: 428
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 127
color_temp: 492
light.wohnzimmer_regal_rechts:
state: true
brightness: 191
xy_color:
- 0.618
- 0.366
light.wohnzimmer_regal_links:
state: true
brightness: 191
xy_color:
- 0.53
- 0.443
- name: Wohnbereich Blau Grün
id: wohnberech_blau_grun
entities:
light.kuche_deckenlampe:
state: true
brightness: 38
light.wohnzimmer_deckenlampe:
state: true
brightness: 51
light.esszimmer_deckenlampe_west:
state: true
brightness: 38
light.esszimmer_deckenlampe_mitte:
state: true
brightness: 38
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 198
xy_color:
- 0.156
- 0.218
light.kuche_rechts:
state: true
brightness: 252
xy_color:
- 0.171
- 0.353
light.kuche_vorne:
state: true
brightness: 130
xy_color:
- 0.158
- 0.053
light.wohnzimmer_kugel:
state: true
brightness: 252
xy_color:
- 0.46
- 0.408
light.wohnzimmer_stehlampe:
state: true
brightness: 153
xy_color:
- 0.183
- 0.062
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 150
xy_color:
- 0.184
- 0.068
light.wohnzimmer_regal_rechts:
state: true
brightness: 252
xy_color:
- 0.143
- 0.113
light.wohnzimmer_regal_links:
state: true
brightness: 252
xy_color:
- 0.222
- 0.636
- name: Wohnbereich Grün
id: wohnbereich_grun
entities:
light.kuche_deckenlampe:
state: false
light.wohnzimmer_deckenlampe:
state: false
light.esszimmer_deckenlampe_west:
state: false
light.esszimmer_deckenlampe_mitte:
state: false
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 198
xy_color:
- 0.4038
- 0.555
light.kuche_rechts:
state: true
brightness: 252
xy_color:
- 0.4771
- 0.4957
light.kuche_vorne:
state: true
brightness: 130
xy_color:
- 0.1987
- 0.5792
light.wohnzimmer_kugel:
state: true
brightness: 252
xy_color:
- 0.4084
- 0.5168
light.wohnzimmer_stehlampe:
state: true
brightness: 153
xy_color:
- 0.4084
- 0.5168
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 150
xy_color:
- 0.4
- 0.53
light.wohnzimmer_regal_rechts:
state: true
brightness: 252
xy_color:
- 0.1635
- 0.3502
light.wohnzimmer_regal_links:
state: true
brightness: 252
xy_color:
- 0.2075
- 0.6584
- name: Wohnbereich Hell
id: wohnbereich_hell
entities:
light.esszimmer_deckenlampe_west:
state: true
brightness: 255
light.wohnzimmer_deckenlampe:
state: true
brightness: 255
light.kuche_deckenlampe:
state: true
brightness: 255
light.wohnzimmer_regal_links:
state: true
brightness: 255
xy_color:
- 0.527
- 0.447
light.kuche_links:
state: true
brightness: 255
xy_color:
- 0.537
- 0.438
light.kuche_rechts:
state: true
brightness: 255
xy_color:
- 0.557
- 0.403
light.wohnzimmer_regal_rechts:
state: true
brightness: 255
xy_color:
- 0.616
- 0.371
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 255
color_temp: 492
light.wohnzimmer_stehlampe:
state: true
brightness: 255
color_temp: 492
light.wohnzimmer_kugel:
state: true
brightness: 255
color_temp: 492
light.kuche_vorne:
state: true
brightness: 255
color_temp: 492
- name: Wohnbereich Meditation
id: wohnbereich_meditation
entities:
light.kuche_deckenlampe:
state: false
light.wohnzimmer_deckenlampe:
state: false
light.esszimmer_deckenlampe_west:
state: false
light.esszimmer_deckenlampe_mitte:
state: false
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 255
xy_color:
- 0.5428
- 0.3887
light.kuche_rechts:
state: true
brightness: 255
xy_color:
- 0.2927
- 0.2242
light.kuche_vorne:
state: true
brightness: 255
xy_color:
- 0.6
- 0.377
light.wohnzimmer_kugel:
state: true
brightness: 255
xy_color:
- 0.3581
- 0.287
light.wohnzimmer_stehlampe:
state: true
brightness: 255
xy_color:
- 0.3581
- 0.287
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 255
xy_color:
- 0.5993
- 0.3765
light.wohnzimmer_regal_rechts:
state: true
brightness: 255
xy_color:
- 0.2925
- 0.2231
light.wohnzimmer_regal_links:
state: true
brightness: 255
xy_color:
- 0.2075
- 0.6584
cover.esszimmer_fenster_rollo:
state: open
current_position: 100
cover.kuche_fenster_rollo:
state: open
current_position: 100
cover.wohnzimmer_fenster_rollo:
state: open
current_position: 100
cover.wohnzimmer_terrassentur_rollo:
state: open
current_position: 100
- name: Wohnbereich Kuscheln
id: wohnbereich_kuscheln
entities:
light.kuche_deckenlampe:
state: false
light.wohnzimmer_deckenlampe:
state: false
light.esszimmer_deckenlampe_west:
state: false
light.esszimmer_deckenlampe_mitte:
state: false
light.esszimmer_schrankleuchte:
state: false
light.kuche_links:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4111
light.kuche_rechts:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4111
light.kuche_vorne:
state: true
brightness: 190
xy_color:
- 0.561
- 0.4042
light.wohnzimmer_kugel:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4042
light.wohnzimmer_stehlampe:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4042
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4042
light.wohnzimmer_regal_rechts:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4111
light.wohnzimmer_regal_links:
state: true
brightness: 190
xy_color:
- 0.5609
- 0.4111
light.gang_bogen:
state: true
brightness: 255
xy_color:
- 0.6313
- 0.361
light.gang_licht:
state: false
cover.esszimmer_fenster_rollo:
state: closed
current_position: 0
cover.kuche_fenster_rollo:
state: closed
current_position: 0
cover.wohnzimmer_fenster_rollo:
state: closed
current_position: 0
cover.wohnzimmer_terrassentur_rollo:
state: closed
current_position: 0

131
scenes/wohnzimmer.yaml Normal file
View File

@ -0,0 +1,131 @@
- name: Wohnzimmer Orange
id: wohnzimmer_orange
entities:
light.wohnzimmer_deckenlampe:
state: true
brightness: 38
light.wohnzimmer_kugel:
state: true
brightness: 229
color_temp: 492
light.wohnzimmer_stehlampe:
state: true
brightness: 191
color_temp: 428
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 127
color_temp: 492
light.wohnzimmer_regal_rechts:
state: true
brightness: 191
xy_color:
- 0.618
- 0.366
light.wohnzimmer_regal_links:
state: true
brightness: 191
xy_color:
- 0.53
- 0.443
- name: Wohnzimmer Blau Grün
id: wohnzimmer_blau_grun
entities:
light.wohnzimmer_deckenlampe:
state: true
brightness: 51
light.wohnzimmer_kugel:
state: true
brightness: 252
xy_color:
- 0.46
- 0.408
light.wohnzimmer_stehlampe:
state: true
brightness: 153
xy_color:
- 0.183
- 0.062
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 150
xy_color:
- 0.184
- 0.068
light.wohnzimmer_regal_rechts:
state: true
brightness: 252
xy_color:
- 0.143
- 0.113
light.wohnzimmer_regal_links:
state: true
brightness: 252
xy_color:
- 0.222
- 0.636
- name: Wohnzimmer Grün
id: wohnzimmer_grun
entities:
light.wohnzimmer_deckenlampe:
state: false
light.wohnzimmer_kugel:
state: true
brightness: 252
xy_color:
- 0.4084
- 0.5168
light.wohnzimmer_stehlampe:
state: true
brightness: 153
xy_color:
- 0.4084
- 0.5168
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 150
xy_color:
- 0.4
- 0.53
light.wohnzimmer_regal_rechts:
state: true
brightness: 252
xy_color:
- 0.1635
- 0.3502
light.wohnzimmer_regal_links:
state: true
brightness: 252
xy_color:
- 0.2075
- 0.6584
- name: Wohnzimmer Hell
id: wohnzimmer_hell
entities:
light.wohnzimmer_deckenlampe:
state: true
brightness: 255
light.wohnzimmer_regal_links:
state: true
brightness: 255
xy_color:
- 0.527
- 0.447
light.wohnzimmer_regal_rechts:
state: true
brightness: 255
xy_color:
- 0.616
- 0.371
light.wohnzimmer_stehlampe_oben:
state: true
brightness: 255
color_temp: 492
light.wohnzimmer_stehlampe:
state: true
brightness: 255
color_temp: 492
light.wohnzimmer_kugel:
state: true
brightness: 255
color_temp: 492