Bine early shift in calendar

parent b9739927
......@@ -28,14 +28,13 @@ frontend:
# caldav, https://www.home-assistant.io/components/calendar.caldav/
calendar:
- platform: caldav
# url: https://cloud.sokoll.com/remote.php/dav/calendars/rainer/personal_shared_by_sabine/
url: https://cloud.sokoll.com/remote.php/dav
username: !secret caldav_username
password: !secret caldav_password
custom_calendars:
- name: Bine_Frueh
calendar: Sabine
search: 'Früh'
search: '.*[Bb]ine\ +[Ff]rüh.*'
# Enables configuration UI
config:
......@@ -44,11 +43,6 @@ http:
# beides geht nicht :-(
# server_host: "2001:470:6d:c40:ba27:ebff:fead:cc5"
server_host: "0.0.0.0"
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# api_password: weeGhoo2Eiqui1ah
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
api_password: !secret http_password
# Checks for available updates
......@@ -137,6 +131,9 @@ notify:
logger:
default: critical
# logs:
# homeassistant.components.caldav: debug
# homeassistant.components.automation: debug
automation: !include includes/automations.yaml
device_tracker: !include includes/device_tracker.yaml
......
......@@ -95,33 +95,32 @@
brightness_pct: 100
transition: 4
- alias: Bine Frühdienst
- alias: Bine Frühdienst Licht an
trigger:
platform: time
# at: 04:35:00
at: 20:00:00
at: '04:30:00'
condition:
- condition: state
condition: state
entity_id: calendar.Sabine_Bine_Frueh
state: 'off'
state: 'on'
action:
- service: light.turn_on
data:
entity_id: light.mama
brightness_pct: 20
transition: 3
service: light.turn_on
data:
entity_id: light.schlafzimmer_nachttischlampe_bine
brightness_pct: 20
transition: 3
- alias: Bine Frühdienst Licht aus
trigger:
platform: time
# at: 04:40:00
at: 20:15:00
at: '04:33:00'
condition:
- condition: state
condition: state
entity_id: calendar.Sabine_Bine_Frueh
state: 'off'
state: 'on'
action:
- service: light.turn_off
data:
entity_id: light.mama
transition: 3
service: light.turn_off
data:
entity_id: light.schlafzimmer_nachttischlampe_bine
transition: 3
......@@ -50,6 +50,8 @@ automation.film_ab:
icon: mdi:home-automation
automation.film_pullerpause:
icon: mdi:home-automation
automation.film_ende:
icon: mdi:home-automation
sensor.transmission_auf_dockstar_active_torrents:
hidden: true
sensor.transmission_auf_dockstar_status:
......
......@@ -74,6 +74,11 @@ automations:
- automation.diesel_billig
- automation.film_ab
- automation.film_pullerpause
- automation.film_ende
- automation.bine_frühdienst_licht_an
- automation.bine_frühdienst_licht_aus
- automation.rainer_test_licht_an
# - automation.rainer_test_licht_aus
appletv:
# name: Schwarzes Kästchen
entities:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment