├── .gitignore
├── .travis.yml
├── Home Assistant Network.xml
├── LICENSE
├── NOTES
├── Home Assistant does not recognise CCU2 but recognise wireless component - Configuration - Home Assistant Community.url
├── How to Install and Secure the Mosquitto MQTT Messaging Broker on Ubuntu 16.04 - DigitalOcean.url
├── How to use Tasker with Home-Assistant - Flemming's Blog.url
└── Segfault using Mosquitto websockets · Issue #303 · eclipse-mosquitto.url
├── README.md
├── _config.yml
├── alerts
├── colder_outside.yaml
├── door_entrance.yaml.disabled
├── humidity_bathroom.yaml
└── humidity_bedroom_rising.yaml
├── automation
├── away_mode.yaml
├── bathroom
│ ├── bathroom_door_light.yaml.disabled
│ ├── bathroom_heater.yaml
│ ├── bathroom_light_morning.yaml
│ ├── bathroom_presence_lights.yaml
│ ├── bathroom_presence_lights_day.yaml
│ ├── bathroom_presence_lights_night.yaml
│ └── bathroom_water_leak.yaml
├── bedroom
│ ├── alarmclock.yaml
│ ├── automatic_lights.yaml
│ ├── bedroom_cloth_drying.yaml.disabled
│ ├── blinds.yaml
│ ├── go_to_sleep.yaml
│ ├── google_home_mini_volume.yaml.disabled
│ ├── lametric_alarmclock.yaml.disabled
│ ├── livingroom_dyson.yaml
│ └── overslept.yaml
├── coming_home
│ ├── bedroom_fan_off.yaml.disabled
│ ├── home_after_sunset.yaml
│ ├── livingroom_fan.yaml
│ ├── prepare_bedtime.yaml.disabled
│ ├── remote_tv.yaml
│ ├── thermostat.yaml
│ ├── tv_lights.yaml
│ └── tv_youtube.yaml
├── gotobed.yaml.disabled
├── kitchen
│ ├── automatic_lights.yaml.disabled
│ ├── entranceDoor.yaml
│ ├── kitchen_presence_lights.yaml
│ ├── kitchen_presence_lights_day.yaml
│ ├── kitchen_presence_lights_night.yaml
│ └── kitchen_water_leak.yaml
├── livingroom
│ ├── computer_light.yaml
│ ├── google_home_volume.yaml
│ ├── ikea_planter.yaml.disabled
│ ├── livingroom_dyson.yaml
│ ├── livingroom_fan.yaml
│ ├── livingroom_lightswitch.yaml
│ ├── livingroom_thermostat.yaml
│ ├── palm.yaml
│ ├── planter_lamp_ontime.yaml.disabled
│ └── roomba_clean.yaml
├── noone_home.yaml
├── office
│ ├── ikea_planter.yaml.disabled
│ └── nas_system_warning.yaml.disabled
├── outdoors
│ ├── leaving_home_lights.yaml
│ ├── light_automations.yaml
│ └── xmaslights.yaml.disabled
├── streamdeck.yaml
├── system
│ ├── alarm_window_open.yaml
│ ├── groups_visibility_boot.yaml.disabled
│ ├── light_temperature.yaml.disabled
│ ├── low_battery.yaml
│ ├── open_window_heater_off.yaml
│ ├── themes
│ │ ├── themes_boot.yaml
│ │ ├── themes_boot.yaml.disabled
│ │ ├── themes_nightmode.yaml
│ │ └── themes_nightmode.yaml.disabled
│ └── weather_warning.yaml
├── webhooks
│ ├── webhook_bed_youtube.yaml
│ ├── webhook_gaming.yaml
│ ├── webhook_leaving_home.yaml
│ ├── webhook_lock.yaml
│ ├── webhook_phone_status.yaml
│ ├── webhook_sleep.yaml
│ └── webhook_tv.yaml
└── zigbee2mqtt.yaml
├── automations.yaml
├── binary_sensors
├── colder_outside.yaml
├── is_gaming_bayesian.yaml
├── is_sleeping.yaml
├── is_sleeping_bayesian.yaml
├── is_watching_tv_bayesian.yaml
├── meteoalarm.yaml
├── meteoalarm.yaml.disabled
├── netatmo_welcome.yaml.disabled
├── remote_dummy_sensor.yaml
├── rooms
│ ├── bathroom
│ │ └── bathroom_humidity_high.yaml
│ ├── bedroom
│ │ └── bedroom_humidity_trend.yaml
│ ├── livingroom
│ │ ├── pc_power_status.yaml
│ │ ├── roomba_bin.yaml
│ │ ├── sony_tv.yaml
│ │ ├── steff_pc.yaml
│ │ └── tv_power_status.yaml
│ └── office
│ │ ├── 3d_printer_power_status.yaml
│ │ ├── octopi.yaml.disabled
│ │ └── server_power_status.yaml
└── shield_tv_plex_active.yaml
├── cameras
├── netatmo_welcome.yaml.disabled
├── raspi_webcam.yaml
├── weather_rain_24h.yaml
├── webcam_axalp_mqtt.yaml
├── webcam_axalprubi_mqtt.yaml
├── webcam_boenigen_mqtt.yaml
├── webcam_brienz2_mqtt.yaml
├── webcam_brienz_mqtt.yaml
└── webcam_rothorn_mqtt.yaml
├── climate
├── bathroom_heater.yaml
└── netatmo_thermostat.yaml
├── cloud.yaml
├── configuration.yaml
├── covers
├── blinds_terrace_staegmatte.yaml.disabled
├── chicken.yaml.disabled
└── window_livingroom.yaml.disabled
├── custom_components
├── hacs
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ ├── config_flow.cpython-37.pyc
│ │ ├── configuration_schema.cpython-37.pyc
│ │ ├── const.cpython-37.pyc
│ │ ├── constrains.cpython-37.pyc
│ │ ├── globals.cpython-37.pyc
│ │ ├── http.cpython-37.pyc
│ │ ├── sensor.cpython-37.pyc
│ │ ├── setup.cpython-37.pyc
│ │ ├── store.cpython-37.pyc
│ │ └── ws_api_handlers.cpython-37.pyc
│ ├── hacsbase
│ │ └── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── backup.cpython-37.pyc
│ │ │ ├── configuration.cpython-37.pyc
│ │ │ ├── const.cpython-37.pyc
│ │ │ ├── data.cpython-37.pyc
│ │ │ ├── exceptions.cpython-37.pyc
│ │ │ └── task_factory.cpython-37.pyc
│ ├── handler
│ │ └── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── download.cpython-37.pyc
│ │ │ └── template.cpython-37.pyc
│ ├── helpers
│ │ └── __pycache__
│ │ │ ├── action.cpython-37.pyc
│ │ │ ├── download.cpython-37.pyc
│ │ │ ├── filters.cpython-37.pyc
│ │ │ ├── get_defaults.cpython-37.pyc
│ │ │ ├── information.cpython-37.pyc
│ │ │ ├── install.cpython-37.pyc
│ │ │ ├── misc.cpython-37.pyc
│ │ │ ├── network.cpython-37.pyc
│ │ │ ├── register_repository.cpython-37.pyc
│ │ │ ├── remaining_github_calls.cpython-37.pyc
│ │ │ └── validate_repository.cpython-37.pyc
│ ├── iconset.js
│ ├── repositories
│ │ └── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── appdaemon.cpython-37.pyc
│ │ │ ├── integration.cpython-37.pyc
│ │ │ ├── manifest.cpython-37.pyc
│ │ │ ├── netdaemon.cpython-37.pyc
│ │ │ ├── plugin.cpython-37.pyc
│ │ │ ├── python_script.cpython-37.pyc
│ │ │ ├── removed.cpython-37.pyc
│ │ │ ├── repository.cpython-37.pyc
│ │ │ ├── repositorydata.cpython-37.pyc
│ │ │ └── theme.cpython-37.pyc
│ └── services.yaml
└── meteo-swiss
│ └── __pycache__
│ ├── __init__.cpython-37.pyc
│ └── weather.cpython-37.pyc
├── customize.yaml
├── device_tracker
├── gpslogger_android.yaml.disabled
├── owntracks.yaml.disabled
├── traccar.yaml
└── unifi.yaml.disabled
├── fans
├── fan_bedroom.yaml
└── livingroom_fan.yaml
├── floorplan.yaml
├── frontend.yaml
├── groups.yaml
├── groups
├── bathroom
│ └── bathroom.yaml
├── bedroom
│ └── bedroom.yaml
├── climate.yaml
├── groups.yaml
├── hydro.yaml
├── kitchen
│ └── kitchen.yaml
├── livingroom
│ └── livingroom.yaml
├── meteo.yaml
├── network.yaml
├── octoprint.yaml
├── office
│ └── office.yaml
├── outdoor
│ └── outdoor.yaml
├── phone.yaml
├── presence_detection.yaml
├── rooms.yaml
├── scenes
│ ├── bed_youtube.yaml
│ ├── gaming.yaml
│ ├── scenes.yaml
│ └── tv.yaml
├── scripts.yaml
├── security.yaml
├── tradfri_battery.yaml
├── views.yaml
├── windows.yaml
└── work
│ └── devmqtt.yaml
├── input_boolean
├── holidays.yaml
├── ignore_bathroom_door.yaml
├── kitchen_automatic_lights.yaml
├── livingroom_fan.yaml
├── start_leave_home_script.yaml
└── zigbee2mqtt.yaml
├── input_number
├── phone_status_battery.yaml
├── planter_lamp_ontime.yaml
└── snmp_networkbandwith.yaml
├── input_select
├── livingroom_fan.yaml
└── zigbee2mqtt.yaml
├── light
├── all.yaml
├── bathroom.yaml
├── bedroom.yaml
├── kitchen.yaml
└── livingroom.yaml
├── media_players
├── barviatv.yaml.disabled
└── shieldtv.yaml
├── mediaplayers
└── barviatv.yaml
├── misc
├── customize.yaml
├── travis_fullchain.dummy
├── travis_key.dummy
└── weblinks.yaml
├── node-red
└── settings.js
├── notify
├── braviatv.yaml.disabled
├── groups
│ └── colder_outside.yaml
├── hangouts.yaml.disabled
└── html5_push.yaml
├── panel_custom.yaml
├── panels
├── floorplan.html
└── remote.html
├── recorder.yaml
├── remote.yaml
├── scenes.yaml
├── scenes
├── bathroom.yaml
├── bedroom.yaml
├── coming_home.yaml
└── livingroom.yaml
├── scripts.yaml
├── scripts
├── bathroom
│ └── thermostat.yaml
├── bedroom_fan_google_home.yaml
├── leaving_home.yaml
├── leaving_home_lights_off.yaml
├── leaving_home_lights_on.yaml
├── livingroom
│ ├── fan
│ │ └── livingroom_fan.yaml
│ ├── harmony
│ │ └── harmony_fix_soundsystem.yaml
│ └── thermostat.yaml
├── lock_unlock_night.yaml
├── remote.yaml
├── scenes
│ ├── bathroom_heater.yaml
│ ├── bathroom_heater.yaml.disabled
│ ├── bed_youtube.yaml
│ ├── gaming.yaml
│ ├── good_night.yaml
│ └── tv.yaml
├── tv.yaml
├── wake_on_lan
│ └── pc.yaml
└── walk_to_bathroom.yaml
├── sensors
├── apartment_temperature.yaml
├── darksky.yaml
├── grid_frequency.yaml
├── grid_frequency.yaml.disabled
├── grid_power_switzerland.yaml.disabled
├── hydro
│ ├── bern.yaml
│ ├── bern
│ │ ├── danger_level.yaml
│ │ ├── danger_level.yaml.disabled
│ │ ├── discharge.yaml
│ │ ├── discharge.yaml.disabled
│ │ ├── temperature.yaml
│ │ ├── temperature.yaml.disabled
│ │ ├── waterlevel.yaml
│ │ └── waterlevel.yaml.disabled
│ ├── brienzwiler.yaml
│ ├── brienzwiler
│ │ ├── danger_level.yaml
│ │ ├── danger_level.yaml.disabled
│ │ ├── discharge.yaml
│ │ ├── discharge.yaml.disabled
│ │ ├── temperature.yaml
│ │ ├── temperature.yaml.disabled
│ │ ├── waterlevel.yaml
│ │ └── waterlevel.yaml.disabled
│ ├── ringgenberg.yaml
│ ├── ringgenberg
│ │ ├── danger_level.yaml
│ │ ├── danger_level.yaml.disabled
│ │ ├── discharge.yaml
│ │ ├── discharge.yaml.disabled
│ │ ├── temperature.yaml
│ │ ├── temperature.yaml.disabled
│ │ ├── waterlevel.yaml
│ │ └── waterlevel.yaml.disabled
│ ├── thun.yaml
│ └── thun
│ │ ├── danger_level.yaml
│ │ ├── danger_level.yaml.disabled
│ │ ├── discharge.yaml
│ │ ├── discharge.yaml.disabled
│ │ ├── temperature.yaml
│ │ ├── temperature.yaml.disabled
│ │ ├── thun.yaml
│ │ ├── waterlevel.yaml
│ │ └── waterlevel.yaml.disabled
├── mold
│ ├── bathroom_mold.yaml
│ ├── bedroom_mold.yaml
│ ├── calibration_formula.xlsx
│ ├── kitchen_mold.yaml
│ ├── livingroom_mold.yaml
│ └── office_mold.yaml.disabled
├── mqtt
│ ├── happyBubbles.yaml.disabled
│ ├── steff_phone.yaml
│ └── work
│ │ ├── finanzverwalterHumidity.yaml
│ │ ├── finanzverwalterTemp.yaml
│ │ ├── gemeindeschreiberinHumidity.yaml
│ │ ├── gemeindeschreiberinTemp.yaml
│ │ ├── informatikHumidity.yaml
│ │ ├── informatikTemp.yaml
│ │ ├── workHumidity.yaml.disabled
│ │ └── workTemp.yaml.disabled
├── myip.yaml
├── myswitch
│ ├── bathroom_heater.yaml
│ ├── combined.yaml
│ ├── computer.yaml
│ ├── server.yaml.disabled
│ └── tv.yaml
├── netatmo_weather.yaml
├── phone
│ ├── battery.yaml
│ ├── battery.yaml.disabled
│ ├── pressure.yaml
│ └── steff_phone.yaml.disabled
├── rooms
│ ├── bathroom
│ │ └── thermostat.yaml
│ ├── bedroom
│ │ └── bed_sensor.yaml.disabled
│ ├── kitchen
│ │ └── thermometer.yaml
│ ├── livingroom
│ │ ├── dyson_fan.yaml
│ │ ├── livingroom_myswitch_temperatur.yaml
│ │ ├── livingroom_myswitch_temperatur.yaml.disabled
│ │ ├── netatmo_thermostat.yaml
│ │ ├── planter_lamp_ontime.yaml
│ │ └── planter_lamp_ontime.yaml.diabled
│ └── office
│ │ ├── hp_ilo.yaml
│ │ ├── hp_ilo.yaml.disabled
│ │ ├── octopi.yaml.disabled
│ │ ├── synology_nas.yaml
│ │ └── synology_nas.yaml.disabled
├── season_astronomical.yaml
├── steff_home_stats.yaml
├── steff_not_athome_stats.yaml
├── weather
│ ├── axalp
│ │ └── weather
│ │ │ ├── humidity.yaml
│ │ │ ├── humidity.yaml.disabled
│ │ │ ├── pressure.yaml
│ │ │ ├── pressure.yaml.disabled
│ │ │ ├── temperature.yaml
│ │ │ └── temperature.yaml.disabled
│ ├── brienzfw
│ │ ├── dewpoint.yaml
│ │ ├── rain.yaml
│ │ ├── temperature.yaml
│ │ ├── windchill.yaml
│ │ ├── winddirection.yaml
│ │ ├── windspeed.yaml
│ │ └── windspeedmax.yaml
│ ├── snow
│ │ ├── axalp
│ │ │ ├── amount.yaml
│ │ │ ├── amount.yaml.disabled
│ │ │ ├── lastsnow.yaml
│ │ │ ├── lastsnow.yaml.disabled
│ │ │ ├── lifts.yaml
│ │ │ ├── lifts.yaml.disabled
│ │ │ ├── newsnow24h.yaml
│ │ │ ├── newsnow24h.yaml.disabled
│ │ │ ├── pistes.yaml
│ │ │ ├── pistes.yaml.disabled
│ │ │ ├── status.yaml
│ │ │ └── status.yaml.disabled
│ │ ├── grindelwald
│ │ │ ├── amount.yaml
│ │ │ ├── amount.yaml.disabled
│ │ │ ├── lastsnow.yaml
│ │ │ ├── lastsnow.yaml.disabled
│ │ │ ├── lifts.yaml
│ │ │ ├── lifts.yaml.disabled
│ │ │ ├── newsnow24h.yaml
│ │ │ ├── newsnow24h.yaml.disabled
│ │ │ ├── pistes.yaml
│ │ │ ├── pistes.yaml.disabled
│ │ │ ├── status.yaml
│ │ │ └── status.yaml.disabled
│ │ ├── jungfrauregion
│ │ │ ├── amount.yaml
│ │ │ ├── amount.yaml.disabled
│ │ │ ├── lastsnow.yaml
│ │ │ ├── lastsnow.yaml.disabled
│ │ │ ├── lifts.yaml
│ │ │ ├── lifts.yaml.disabled
│ │ │ ├── newsnow24h.yaml
│ │ │ ├── newsnow24h.yaml.disabled
│ │ │ ├── pistes.yaml
│ │ │ ├── pistes.yaml.disabled
│ │ │ ├── status.yaml
│ │ │ └── status.yaml.disabled
│ │ └── schilthorn
│ │ │ ├── amount.yaml
│ │ │ ├── amount.yaml.disabled
│ │ │ ├── lastsnow.yaml
│ │ │ ├── lastsnow.yaml.disabled
│ │ │ ├── lifts.yaml
│ │ │ ├── lifts.yaml.disabled
│ │ │ ├── newsnow24h.yaml
│ │ │ ├── newsnow24h.yaml.disabled
│ │ │ ├── pistes.yaml
│ │ │ ├── pistes.yaml.disabled
│ │ │ ├── status.yaml
│ │ │ └── status.yaml.disabled
│ ├── thunluft
│ │ ├── feinstaub_pm10.yaml
│ │ ├── feinstaub_pm10.yaml.disabled
│ │ ├── ozon.yaml
│ │ ├── ozon.yaml.disabled
│ │ ├── scrape
│ │ │ └── stickstoffdioxid.yaml.disabled
│ │ ├── stickstoffdioxid.yaml
│ │ └── stickstoffdioxid.yaml.disabled
│ ├── windchill_temperature.yaml
│ └── windchill_temperature.yaml.disabled
├── weather_prediction.yaml
└── zigbee2mqtt.yaml
├── switches
├── commandline
│ └── nvidiashield
│ │ ├── netflix_open.yaml
│ │ └── youtube_open.yaml
├── flux.yaml
├── harmony_tv.yaml
├── mqtt
│ └── sonoff_xmaslights.yaml
├── mystrom_3d_printer_light.yaml
├── mystrom_3d_printer_light.yaml.disabled
├── mystrom_bathroom_heater.yaml
├── mystrom_bedroom_alarmclock.yaml
├── mystrom_bedroom_fan.yaml
└── zigbee2mqtt.yaml
├── timers
├── bathroom_heater.yaml
├── bathroom_lights.yaml
├── kitchen_lights.yaml
├── outdoor_lights.yaml
└── zigbee2mqtt.yaml
├── travis_secrets.yaml
├── ui-lovelace.yaml
├── weather
├── meteoswiss.yaml
├── openweathermap.yaml
└── yahoo_weather.yaml.disabled
└── www
├── backgrounds
└── wallhaven-161989.png
├── community
└── battery-state-card
│ ├── battery-state-card.js
│ ├── battery-state-card.js.gz
│ └── battery-state-card.js.map
├── custom_ui
├── bignumber-card
│ ├── README.md
│ ├── VERSION
│ ├── bignumber-card.js
│ └── changelog.md
├── floorplan
│ ├── button.svg
│ ├── floorplan.css
│ ├── floorplan.svg
│ ├── floorplan.svg.orig
│ ├── floorplan_20171031.svg
│ ├── floorplan_20180213.7z
│ ├── floorplan_20181129.svg
│ └── ha-floorplan.html
├── gauge-card.js
├── gauge-card
│ ├── README.md
│ ├── VERSION
│ ├── changelog.md
│ └── gauge-card.js
├── group-card
│ ├── README.md
│ ├── VERSION
│ ├── changelog.md
│ └── group-card.js
├── mini-graph-card
│ ├── LICENSE
│ ├── README.md
│ ├── changelog.md
│ ├── mini-graph-card.js
│ └── mini-graph-lib.js
├── remote
│ ├── ha-remote.html
│ ├── remote.css
│ └── remote.svg
├── state-card-remote.html___
├── thermostat-card
│ ├── LICENSE
│ ├── README.md
│ ├── VERSION
│ ├── changelog.md
│ ├── thermostat-card.js
│ └── thermostat-card.lib.js
├── weather-card.css
└── weather-card.js
├── googledb520f4c73a1a397.html
├── icons
└── weather_icons
│ └── animated
│ ├── cloudy-day-1.svg
│ ├── cloudy-day-2.svg
│ ├── cloudy-day-3.svg
│ ├── cloudy-night-1.svg
│ ├── cloudy-night-2.svg
│ ├── cloudy-night-3.svg
│ ├── cloudy.svg
│ ├── day.svg
│ ├── night.svg
│ ├── rainy-1.svg
│ ├── rainy-2.svg
│ ├── rainy-3.svg
│ ├── rainy-4.svg
│ ├── rainy-5.svg
│ ├── rainy-6.svg
│ ├── rainy-7.svg
│ ├── snowy-1.svg
│ ├── snowy-2.svg
│ ├── snowy-3.svg
│ ├── snowy-4.svg
│ ├── snowy-5.svg
│ ├── snowy-6.svg
│ ├── thunder.svg
│ ├── weather-sprite.svg
│ ├── weather.svg
│ ├── weather_sagittarius.svg
│ └── weather_sunset.svg
├── image_status
├── livingroom
│ ├── tv
│ │ ├── null.png
│ │ ├── svg
│ │ │ ├── background.png
│ │ │ ├── planter.png
│ │ │ ├── tv.png
│ │ │ ├── tv.svg
│ │ │ └── tv_lamp.png
│ │ ├── tv_background.png
│ │ ├── tv_on.png
│ │ └── tvlamp_on.png
│ └── tvlamp
│ │ ├── tvlamp_off.jpg
│ │ └── tvlamp_on.jpg
├── mazda
│ ├── mazda_AWAY.jpg
│ └── mazda_HOME.jpg
└── roomba
│ ├── roomba_off.jpg
│ ├── roomba_on.jpg
│ └── roomba_stuck.jpg
└── roomba_status.psd
/.gitignore:
--------------------------------------------------------------------------------
1 | *.pid
2 | *.xml
3 | *.csr
4 | *.crt
5 | *.key
6 | *.conf
7 | *.json
8 | *.py
9 | *.db-shm
10 | *.db-wal
11 | #*.html
12 | *.pem
13 | OZW_Log.txt
14 | home-assistant.log
15 | home-assistant_v2.db
16 | *.db-journal
17 | lib
18 | deps
19 | tts
20 | secrets.yaml
21 | known_devices.yaml
22 | pyozw.sqlite
23 | ip_bans.yaml
24 | .*
25 | !/.gitignore
26 | config
27 | ozw_config
28 | zones
29 | bravia.conf
30 | phue.conf
31 | privkey.pem
32 | certificate.pem
33 | tradfri.conf
34 | #www/custom_ui
35 |
36 | html5_push_registrations.conf
37 |
38 | *.conf
39 | *.conf.disabled
40 |
41 | packages.disabled
42 |
43 | www/people
44 | *.mp3
45 | automation/bedroom/overslept.yaml
46 | www/backgrounds/wallhaven-1045.jpg
47 | www/backgrounds/wallhaven-172249.jpg
48 | www/backgrounds/wallhaven-161989.jpg
49 |
50 | sensors/homeassistant_certificate_validity.yaml
51 | notebooks/
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: python
2 | python:
3 | - "3.6"
4 | before_install:
5 | - mv travis_secrets.yaml secrets.yaml
6 | install:
7 | - pip3 install homeassistant
8 | script:
9 | - hass -c . --script check_config
10 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Gummientchen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/NOTES/Home Assistant does not recognise CCU2 but recognise wireless component - Configuration - Home Assistant Community.url:
--------------------------------------------------------------------------------
1 | [InternetShortcut]
2 | URL=https://community.home-assistant.io/t/home-assistant-does-not-recognise-ccu2-but-recognise-wireless-component/40757/26
3 |
--------------------------------------------------------------------------------
/NOTES/How to Install and Secure the Mosquitto MQTT Messaging Broker on Ubuntu 16.04 - DigitalOcean.url:
--------------------------------------------------------------------------------
1 | [InternetShortcut]
2 | URL=https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-ubuntu-16-04
3 |
--------------------------------------------------------------------------------
/NOTES/How to use Tasker with Home-Assistant - Flemming's Blog.url:
--------------------------------------------------------------------------------
1 | [InternetShortcut]
2 | URL=https://flemmingss.com/how-to-use-tasker-with-home-assistant/
3 |
--------------------------------------------------------------------------------
/NOTES/Segfault using Mosquitto websockets · Issue #303 · eclipse-mosquitto.url:
--------------------------------------------------------------------------------
1 | [InternetShortcut]
2 | URL=https://github.com/eclipse/mosquitto/issues/303
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Home Assistant Config - Gummientchen
2 |
3 | This is my Home Assistant configuration for a small appartment with 4 rooms.
4 |
5 | # Included systems
6 | - MeteoSwiss Weather (custom component from HACS)
7 | - Floorplan
8 | - Google Messasing API HTML5
9 | - Homematic CCU2
10 | - HP iLO
11 | - IKEA Tradfri
12 | - LaMetric
13 | - Logitech Harmony Hub
14 | - Mosquitto MQTT
15 | - MyStrom
16 | - Netatmo
17 | - OpenWeatherMap
18 | - Philips Hue
19 | - Roomba
20 | - Synology NAS
21 | - Unifi Controller
22 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-cayman
--------------------------------------------------------------------------------
/alerts/colder_outside.yaml:
--------------------------------------------------------------------------------
1 | colder_outside:
2 | name: Colder Outside
3 | entity_id: binary_sensor.colder_outside
4 | repeat:
5 | - 15
6 | - 60
7 | can_acknowledge: true
8 | notifiers:
9 | - colder_outside
--------------------------------------------------------------------------------
/alerts/door_entrance.yaml.disabled:
--------------------------------------------------------------------------------
1 | door_entrance:
2 | name: Front door is open!
3 | done_message: Front door was closed.
4 | entity_id: binary_sensor.entrance__entrance_tag_open
5 | state: 'on'
6 | repeat: 30
7 | can_acknowledge: true
8 | skip_first: true
9 | notifiers:
10 | - steff_phone
--------------------------------------------------------------------------------
/alerts/humidity_bathroom.yaml:
--------------------------------------------------------------------------------
1 | high_humidity:
2 | name: Humidity is High
3 | entity_id: binary_sensor.bathroom_humidity_high
4 | repeat:
5 | - 30
6 | - 60
7 | - 120
8 | can_acknowledge: true
9 | notifiers:
10 | - steff_phone
--------------------------------------------------------------------------------
/alerts/humidity_bedroom_rising.yaml:
--------------------------------------------------------------------------------
1 | # bedroom_humidity_rising:
2 | # name: Humidity is rising in Bedroom
3 | # entity_id: binary_sensor.bedroom_humidity_trend
4 | # can_acknowledge: True
5 | # notifiers:
6 | # - steff_phone
--------------------------------------------------------------------------------
/automation/away_mode.yaml:
--------------------------------------------------------------------------------
1 | - alias: Away Mode
2 | id: away_mode
3 | trigger:
4 | - platform: state
5 | entity_id: group.presence
6 | from: 'home'
7 | to: 'not_home'
8 | for:
9 | hours: 0
10 | minutes: 15
11 | seconds: 0
12 | action:
13 | - service: light.turn_off
14 | entity_id: all
15 | - service: fan.turn_off
16 | data:
17 | entity_id:
18 | - fan.livingroom_fan
19 | # - service: switch.turn_off
20 | # data:
21 | # entity_id:
22 | # - switch.computer_lamp
23 | # - switch.bedroom_fan
24 | - service: media_player.turn_off
25 | data:
26 | entity_id:
27 | - media_player.sony_bravia_tv
28 | - service: climate.set_away_mode
29 | data:
30 | entity_id: climate.netatmo_living_room
31 | away_mode: true
32 | - service: climate.set_away_mode
33 | data:
34 | entity_id: climate.bathroom
35 | away_mode: true
36 |
37 | - alias: Leave Home Button Floorplan
38 | id: leave_home_button_floorplan
39 | trigger:
40 | - platform: state
41 | entity_id: input_boolean.start_leave_home_script
42 | from: 'off'
43 | to: 'on'
44 | action:
45 | - service: script.turn_on
46 | data:
47 | entity_id: script.leaving_home
48 | - service: input_boolean.turn_off
49 | data:
50 | entity_id: input_boolean.start_leave_home_script
--------------------------------------------------------------------------------
/automation/bathroom/bathroom_door_light.yaml.disabled:
--------------------------------------------------------------------------------
1 | # - alias: Bathroom Lights ON when entering
2 | # id: bathroom_lights_on_when_entering
3 | # trigger:
4 | # - platform: state
5 | # entity_id: binary_sensor.bathroomdoor_state
6 | # from: 'off'
7 | # to: 'on'
8 | # action:
9 | # - service: light.turn_on
10 | # entity_id: group.bathroom_ceiling
--------------------------------------------------------------------------------
/automation/bathroom/bathroom_light_morning.yaml:
--------------------------------------------------------------------------------
1 | - alias: Bathroom Lights ON in the morning Weekday
2 | id: bathroom_lights_on_in_the_morning_weekday
3 | trigger:
4 | - platform: time
5 | at: '07:15:00'
6 | condition:
7 | - condition: state
8 | entity_id: device_tracker.404e36855fdd
9 | state: 'home'
10 | - condition: time
11 | weekday:
12 | - mon
13 | - tue
14 | - wed
15 | - thu
16 | - fri
17 | action:
18 | - service: light.turn_on
19 | entity_id: group.bathroom_ceiling
20 |
21 | - alias: Bathroom Lights OFF in the morning Weekday
22 | id: bathroom_lights_off_in_the_morning_weekday
23 | trigger:
24 | - platform: time
25 | at: '08:30:00'
26 | condition:
27 | - condition: time
28 | weekday:
29 | - mon
30 | - tue
31 | - wed
32 | - thu
33 | - fri
34 | - condition: state
35 | entity_id: binary_sensor.bathroomdoor_state
36 | state: 'off'
37 | for:
38 | hours: 0
39 | minutes: 30
40 | seconds: 0
41 | - condition: state
42 | entity_id: binary_sensor.bedroomdoor_state
43 | state: 'off'
44 | for:
45 | hours: 2
46 | minutes: 0
47 | seconds: 0
48 | action:
49 | - service: light.turn_off
50 | entity_id: group.bathroom_ceiling
--------------------------------------------------------------------------------
/automation/bathroom/bathroom_presence_lights.yaml:
--------------------------------------------------------------------------------
1 | - alias: Bathroom Lights ON when presence detected
2 | id: bathroom_lights_on_when_presence
3 | trigger:
4 | - platform: state
5 | entity_id: binary_sensor.bathroom_presence
6 | from: 'off'
7 | to: 'on'
8 | action:
9 | - service: light.turn_on
10 | entity_id: light.bathroom_ceiling_1
11 | - service: light.turn_on
12 | entity_id: light.bathroom_ceiling_2
13 | - service: timer.cancel
14 | entity_id: timer.bathroom_lights
15 | - delay:
16 | seconds: 5
17 | - service: timer.start
18 | data:
19 | entity_id: timer.bathroom_lights
20 | duration: 00:15:00
21 |
22 | - alias: Bathroom Lights ON TimerStart
23 | id: bathroom_lights_on_timerstart
24 | trigger:
25 | - platform: state
26 | entity_id: binary_sensor.bathroom_presence
27 | from: 'on'
28 | to: 'off'
29 | action:
30 | - service: light.turn_on
31 | entity_id: light.bathroom_ceiling_1
32 | - service: light.turn_on
33 | entity_id: light.bathroom_ceiling_2
34 | - service: timer.cancel
35 | entity_id: timer.bathroom_lights
36 | - delay:
37 | seconds: 5
38 | - service: timer.start
39 | data:
40 | entity_id: timer.bathroom_lights
41 | duration: 00:15:00
42 |
43 | - alias: Bathroom Lights OFF TimerFinish
44 | id: bathroom_lights_off_timerfinish
45 | trigger:
46 | - platform: event
47 | event_type: timer.finished
48 | event_data:
49 | entity_id: timer.bathroom_lights
50 | action:
51 | - service: light.turn_off
52 | entity_id: light.bathroom_ceiling_1
53 | - service: light.turn_off
54 | entity_id: light.bathroom_ceiling_2
--------------------------------------------------------------------------------
/automation/bathroom/bathroom_presence_lights_night.yaml:
--------------------------------------------------------------------------------
1 | - alias: Bathroom Lights ON when presence detected night
2 | id: bathroom_lights_on_when_presence_night
3 | trigger:
4 | - platform: state
5 | entity_id: binary_sensor.bathroom_presence
6 | from: 'off'
7 | to: 'on'
8 | condition:
9 | - condition: time
10 | after: '23:30:00'
11 | before: '07:00:00'
12 | action:
13 | - service: light.turn_on
14 | entity_id: light.bathroom_ceiling_1
15 | data:
16 | brightness: 50
17 | - service: light.turn_on
18 | entity_id: light.bathroom_ceiling_2
19 | data:
20 | brightness: 50
21 | - service: timer.cancel
22 | entity_id: timer.bathroom_lights
23 | - delay:
24 | seconds: 5
25 | - service: timer.start
26 | data:
27 | entity_id: timer.bathroom_lights
28 | duration: 00:15:00
--------------------------------------------------------------------------------
/automation/bathroom/bathroom_water_leak.yaml:
--------------------------------------------------------------------------------
1 | - alias: Bathroom Water Leak
2 | id: bathroom_water_leak
3 | trigger:
4 | - platform: state
5 | entity_id: binary_sensor.0x00158d000289b541_water_leak
6 | from: 'off'
7 | to: 'on'
8 | action:
9 | - service: notify.html5
10 | data:
11 | message: "Water Leak detected in bathroom!!!"
12 | title: "Water Leak!"
13 | data:
14 | tag: "water_leak_bathroom"
--------------------------------------------------------------------------------
/automation/bedroom/alarmclock.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Alarmclock: Lights ON"
2 | id: alarmclock
3 | trigger:
4 | - platform: time
5 | at: '07:10:00'
6 | condition:
7 | - condition: state
8 | entity_id: binary_sensor.is_sleeping
9 | state: 'on'
10 | - condition: state
11 | entity_id: input_boolean.holidays
12 | state: 'off'
13 | - condition: time
14 | weekday:
15 | - mon
16 | - tue
17 | - wed
18 | - thu
19 | - fri
20 | action:
21 | - service: light.turn_on
22 | data:
23 | entity_id:
24 | - light.bedroom_lights
25 | transition: 600
26 | kelvin: 5000
27 | brightness: 255
--------------------------------------------------------------------------------
/automation/bedroom/automatic_lights.yaml:
--------------------------------------------------------------------------------
1 | # Turn off all lights in the Bedroom when Nightstand Lamp is turned off
2 | - alias: "Bedroom turn off all lights when nightstand lamp is turned off"
3 | id: bedroom_turn_off_slave_nightstand
4 | trigger:
5 | - platform: state
6 | entity_id: light.bedroom_nightstand
7 | from: 'on'
8 | to: 'off'
9 | action:
10 | - service: light.turn_off
11 | entity_id: all
12 | - service: fan.turn_off
13 | data:
14 | entity_id: fan.livingroom_fan
15 |
16 |
17 | # Philips Hue Motion Sensor Light off, turn off IKEA light too
18 | # - alias: "Kitchen Motion Sensor Lights ON"
19 | # id: kitchen_motion_sensor_lights_on
20 | # trigger:
21 | # - platform: state
22 | # entity_id: light.kitchen_1
23 | # from: 'on'
24 | # to: 'off'
25 | # condition:
26 | # - condition: state
27 | # entity_id: input_boolean.kitchen_automatic_lights
28 | # state: 'on'
29 | # action:
30 | # - service: light.turn_off
31 | # data:
32 | # entity_id: light.kitchen_2
33 | # - service: input_boolean.turn_off
34 | # data:
35 | # entity_id: input_boolean.kitchen_automatic_lights
--------------------------------------------------------------------------------
/automation/bedroom/bedroom_cloth_drying.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Bedroom Cloth Drying"
2 | id: bedroom_cloth_drying
3 | trigger:
4 | platform: state
5 | entity_id: binary_sensor.bedroom_humidity_trend
6 | from: 'off'
7 | to: 'on'
8 | condition:
9 | - condition: state
10 | entity_id: device_tracker.404e36855fdd
11 | state: 'not_home'
12 | for:
13 | minutes: 15
14 | seconds: 0
15 | - condition: time
16 | after: '08:00:00'
17 | before: '22:00:00'
18 | action:
19 | - service: switch.turn_on
20 | data:
21 | entity_id:
22 | - switch.bedroom_fan
--------------------------------------------------------------------------------
/automation/bedroom/blinds.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Bedroom Blinds: Open at sunrise"
2 | id: bedroom_blinds_open_sunrise
3 | trigger:
4 | - platform: sun
5 | event: sunrise
6 | offset: "-00:30:00"
7 | action:
8 | - service: cover.open_cover
9 | data:
10 | entity_id:
11 | - cover.bedroom_blind
--------------------------------------------------------------------------------
/automation/bedroom/go_to_sleep.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Bedroom: Go to bed"
2 | id: bedroom_go_to_bed
3 | trigger:
4 | - platform: state
5 | entity_id: binary_sensor.bedroomdoor_state
6 | from: 'on'
7 | to: 'off'
8 | condition:
9 | - condition: state
10 | entity_id: device_tracker.404e36855fdd
11 | state: 'home'
12 | - condition: time
13 | after: '23:00:00'
14 | before: '07:00:00'
15 | action:
16 | - service: light.turn_on
17 | entity_id:
18 | - light.living_room_under_couch
19 | data:
20 | brightness: 255
21 | - service: light.turn_on
22 | entity_id:
23 | - light.bathroom
24 | data:
25 | brightness: 255
26 | - service: scene.turn_on
27 | entity_id: scene.prepare_bedtime
28 |
29 | - alias: "Bedroom: Go to Toilet"
30 | id: bedroom_go_to_toilet
31 | trigger:
32 | - platform: state
33 | entity_id: binary_sensor.bedroomdoor_state
34 | from: 'off'
35 | to: 'on'
36 | condition:
37 | - condition: state
38 | entity_id: device_tracker.404e36855fdd
39 | state: 'home'
40 | - condition: time
41 | after: '23:00:00'
42 | before: '07:00:00'
43 | action:
44 | - service: switch.turn_off
45 | entity_id:
46 | - switch.ikea_planter
47 | - service: light.turn_on
48 | entity_id:
49 | - light.living_room_under_couch
50 | data:
51 | brightness: 50
52 | - delay: '00:00:02'
53 | - service: light.turn_on
54 | entity_id:
55 | - light.bathroom
56 | data:
57 | brightness: 50
--------------------------------------------------------------------------------
/automation/bedroom/google_home_mini_volume.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Bedroom: Google Home Volume 06:00:00"
2 | id: bedroom_google_home_volume_060000
3 | trigger:
4 | - platform: time
5 | at: "06:00:00"
6 | action:
7 | - service: media_player.volume_set
8 | entity_id: media_player.bedroom_speaker
9 | data:
10 | volume_level: 0.8
11 |
12 | - alias: "Bedroom: Google Home Volume 08:00:00"
13 | id: bedroom_google_home_volume_080000
14 | trigger:
15 | - platform: time
16 | at: "08:00:00"
17 | action:
18 | - service: media_player.volume_set
19 | entity_id: media_player.bedroom_speaker
20 | data:
21 | volume_level: 0.5
22 |
23 | - alias: "Bedroom: Google Home Volume 22:00:00"
24 | id: bedroom_google_home_volume_220000
25 | trigger:
26 | - platform: time
27 | at: "22:00:00"
28 | action:
29 | - service: media_player.volume_set
30 | entity_id: media_player.bedroom_speaker
31 | data:
32 | volume_level: 0.25
33 |
34 | - alias: "Bedroom: Google Home Volume 23:30:00"
35 | id: bedroom_google_home_volume_233000
36 | trigger:
37 | - platform: time
38 | at: "23:30:00"
39 | action:
40 | - service: media_player.volume_set
41 | entity_id: media_player.bedroom_speaker
42 | data:
43 | volume_level: 0.1
--------------------------------------------------------------------------------
/automation/bedroom/lametric_alarmclock.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Turn Lametric ON in the morning"
2 | id: lametricon
3 | trigger:
4 | platform: time
5 | at: '06:00:00'
6 | action:
7 | - service: switch.turn_on
8 | data:
9 | entity_id:
10 | - switch.bedroom_alarmclock
11 |
12 | - alias: "Turn Lametric OFF at 23:59"
13 | id: lametricoff
14 | trigger:
15 | platform: time
16 | at: '00:30:00'
17 | action:
18 | - service: switch.turn_off
19 | data:
20 | entity_id:
21 | - switch.bedroom_alarmclock
--------------------------------------------------------------------------------
/automation/bedroom/livingroom_dyson.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Dyson Night Mode ON"
2 | id: livingroom_dyson_night_mode_on
3 | trigger:
4 | platform: time
5 | at: '22:00:00'
6 | action:
7 | - service: fan.dyson_set_night_mode
8 | data:
9 | entity_id: fan.living_room
10 | night_mode: true
11 |
12 | - alias: "Dyson Night Mode OFF"
13 | id: livingroom_dyson_night_mode_off
14 | trigger:
15 | platform: time
16 | at: '07:00:00'
17 | action:
18 | - service: fan.dyson_set_night_mode
19 | data:
20 | entity_id: fan.living_room
21 | night_mode: false
22 |
23 | - alias: "Dyson Filter Warning 200h"
24 | id: livingroom_dyson_filter_warning_200h
25 | trigger:
26 | platform: numeric_state
27 | entity_id: sensor.living_room_filter_life
28 | below: 200
29 | above: 101
30 | action:
31 | - service: notify.html5
32 | data:
33 | message: "Dyson Filter Life below 200h"
34 | title: "Dyson"
35 | data:
36 | tag: "dyson_filter"
37 |
38 | - alias: "Dyson Filter Warning 100h"
39 | id: livingroom_dyson_filter_warning_100h
40 | trigger:
41 | platform: numeric_state
42 | entity_id: sensor.living_room_filter_life
43 | below: 100
44 | action:
45 | - service: notify.html5
46 | data:
47 | message: "Dyson Filter Life below 100h"
48 | title: "Dyson"
49 | data:
50 | tag: "dyson_filter"
--------------------------------------------------------------------------------
/automation/coming_home/bedroom_fan_off.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: Bedroom Fan off"
2 | id: coming_home_bedroom_fan_off
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 1
12 | action:
13 | - service: switch.turn_off
14 | data:
15 | entity_id:
16 | - switch.bedroom_fan
--------------------------------------------------------------------------------
/automation/coming_home/home_after_sunset.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: After Sunset"
2 | id: coming_home_after_sunset
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 1
12 | condition:
13 | - condition: sun
14 | after: sunset
15 | after_offset: "-0:15:00"
16 | action:
17 | - service: light.turn_on
18 | data:
19 | entity_id:
20 | - light.tv_lights
21 | - service: light.turn_on
22 | data:
23 | entity_id:
24 | - light.outdoor_1
25 | - service: light.turn_on
26 | data:
27 | entity_id:
28 | - light.kitchen_2
29 | - delay: 15:00
30 | - service: light.turn_off
31 | data:
32 | entity_id:
33 | - light.outdoor_1
--------------------------------------------------------------------------------
/automation/coming_home/livingroom_fan.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: Fan Livingroom"
2 | id: coming_home_fan_livingroom
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 5
12 | condition:
13 | - condition: numeric_state
14 | entity_id: sensor.netatmo_thermostat_temperature
15 | above: 20
16 | - condition: time
17 | after: '11:00:00'
18 | action:
19 | - service: fan.turn_on
20 | data:
21 | entity_id: fan.livingroom_fan
22 |
23 | - alias: "Leaving Home: Fan Livingroom"
24 | id: leaving_home_fan_livingroom
25 | trigger:
26 | platform: state
27 | entity_id: group.presence
28 | from: 'home'
29 | to: 'not_home'
30 | for:
31 | hours: 0
32 | minutes: 15
33 | seconds: 0
34 | action:
35 | - service: fan.turn_off
36 | data:
37 | entity_id: fan.livingroom_fan
--------------------------------------------------------------------------------
/automation/coming_home/prepare_bedtime.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: Prepare Bedtime Weekday"
2 | id: coming_home_prepare_bedtime_weekday
3 | trigger:
4 | - platform: time
5 | at: '22:30:00'
6 | condition:
7 | - condition: state
8 | entity_id: group.presence
9 | state: 'home'
10 | - condition: state
11 | entity_id: binary_sensor.bedroomdoor_state
12 | state: 'on'
13 | - condition: time
14 | weekday:
15 | - mon
16 | - tue
17 | - wed
18 | - thu
19 | - fri
20 | action:
21 | - service: scene.turn_on
22 | entity_id: scene.prepare_bedtime
23 |
24 | - alias: "Coming Home: Prepare Bedtime Weekend"
25 | id: coming_home_prepare_bedtime_weekend
26 | trigger:
27 | - platform: time
28 | at: '23:30:00'
29 | condition:
30 | - condition: state
31 | entity_id: group.presence
32 | state: 'home'
33 | - condition: state
34 | entity_id: binary_sensor.bedroomdoor_state
35 | state: 'on'
36 | - condition: time
37 | weekday:
38 | - sat
39 | - sun
40 | action:
41 | - service: scene.turn_on
42 | entity_id: scene.prepare_bedtime
--------------------------------------------------------------------------------
/automation/coming_home/remote_tv.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: TV"
2 | id: coming_home_tv
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 5
12 | condition:
13 | - condition: time
14 | after: '11:00:00'
15 | before: '23:00:00'
16 | action:
17 | - service: remote.turn_on
18 | entity_id: remote.harmony_hub
19 | data:
20 | activity: "Watch TV"
--------------------------------------------------------------------------------
/automation/coming_home/thermostat.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: Change Thermostats"
2 | id: coming_home_change_thermostats
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 10
12 | action:
13 | - service: climate.set_away_mode
14 | data:
15 | entity_id: climate.netatmo_living_room
16 | away_mode: false
17 | - service: climate.set_away_mode
18 | data:
19 | entity_id: climate.bathroom
20 | away_mode: false
--------------------------------------------------------------------------------
/automation/coming_home/tv_lights.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: TV Lights"
2 | id: coming_home_tv_lights
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 15
12 | condition:
13 | - condition: sun
14 | after: sunset
15 | after_offset: "-0:30:00"
16 | action:
17 | - service: light.turn_on
18 | data:
19 | entity_id:
20 | - light.living_room_normal_lights
--------------------------------------------------------------------------------
/automation/coming_home/tv_youtube.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Coming Home: Watch YouTube"
2 | id: coming_home_watch_youtube
3 | trigger:
4 | platform: state
5 | entity_id: group.presence
6 | from: 'not_home'
7 | to: 'home'
8 | for:
9 | hours: 0
10 | minutes: 0
11 | seconds: 5
12 | condition:
13 | - condition: state
14 | entity_id: remote.harmony_hub
15 | state: 'off'
16 | action:
17 | - service: remote.turn_on
18 | data:
19 | entity_id: remote.harmony_hub
20 | activity: "Watch TV"
--------------------------------------------------------------------------------
/automation/kitchen/automatic_lights.yaml.disabled:
--------------------------------------------------------------------------------
1 | # Philips Hue Motion Sensor Light on, turn on IKEA light too
2 | - alias: "Kitchen Motion Sensor Lights ON"
3 | id: kitchen_motion_sensor_lights_on
4 | trigger:
5 | - platform: state
6 | entity_id: light.kitchen_1
7 | from: 'off'
8 | to: 'on'
9 | condition:
10 | - condition: time
11 | before: '23:30:00'
12 | after: '07:00:00'
13 | - condition: state
14 | entity_id: light.kitchen_2
15 | state: 'off'
16 | action:
17 | - service: light.turn_on
18 | data:
19 | entity_id: light.kitchen_2
20 | brightness: 255
21 | - service: input_boolean.turn_on
22 | data:
23 | entity_id: input_boolean.kitchen_automatic_lights
24 | - wait_template: "{{ is_state('light.kitchen_1', 'off') }}"
25 | timeout: '00:30:00'
26 | continue_on_timeout: 'true'
27 | - service: light.turn_off
28 | data:
29 | entity_id: light.kitchen_2
30 | - service: input_boolean.turn_off
31 | data:
32 | entity_id: input_boolean.kitchen_automatic_lights
33 |
34 | # Philips Hue Motion Sensor Light off, turn off IKEA light too
35 | # - alias: "Kitchen Motion Sensor Lights ON"
36 | # id: kitchen_motion_sensor_lights_on
37 | # trigger:
38 | # - platform: state
39 | # entity_id: light.kitchen_1
40 | # from: 'on'
41 | # to: 'off'
42 | # condition:
43 | # - condition: state
44 | # entity_id: input_boolean.kitchen_automatic_lights
45 | # state: 'on'
46 | # action:
47 | # - service: light.turn_off
48 | # data:
49 | # entity_id: light.kitchen_2
50 | # - service: input_boolean.turn_off
51 | # data:
52 | # entity_id: input_boolean.kitchen_automatic_lights
--------------------------------------------------------------------------------
/automation/kitchen/kitchen_presence_lights.yaml:
--------------------------------------------------------------------------------
1 | # binary_sensor.0x0017880102017e7c_occupancy
2 |
3 | - alias: Kitchen Lights ON when presence detected
4 | id: kitchen_lights_on_when_presence
5 | trigger:
6 | - platform: state
7 | entity_id: binary_sensor.0x0017880102017e7c_occupancy
8 | from: 'off'
9 | to: 'on'
10 | action:
11 | - service: light.turn_on
12 | entity_id: light.kitchen_1
13 | - service: light.turn_on
14 | entity_id: light.kitchen_2
15 | - service: timer.cancel
16 | entity_id: timer.kitchen_lights
17 | - delay:
18 | seconds: 5
19 | # - service: timer.start
20 | # data:
21 | # entity_id: timer.kitchen_lights
22 | # duration: 00:05:00
23 |
24 | - alias: Kitchen Lights ON TimerStart
25 | id: kitchen_lights_on_timerstart
26 | trigger:
27 | - platform: state
28 | entity_id: binary_sensor.0x0017880102017e7c_occupancy
29 | from: 'on'
30 | to: 'off'
31 | action:
32 | # - service: light.turn_on
33 | # entity_id: light.kitchen_1
34 | # - service: light.turn_on
35 | # entity_id: light.kitchen_2
36 | - service: timer.cancel
37 | entity_id: timer.kitchen_lights
38 | - delay:
39 | seconds: 5
40 | - service: timer.start
41 | data:
42 | entity_id: timer.kitchen_lights
43 | duration: 00:05:00
44 |
45 | - alias: Kitchen Lights OFF TimerFinish
46 | id: kitchen_lights_off_timerfinish
47 | trigger:
48 | - platform: event
49 | event_type: timer.finished
50 | event_data:
51 | entity_id: timer.kitchen_lights
52 | action:
53 | - service: light.turn_off
54 | entity_id: light.kitchen_1
55 | - service: light.turn_off
56 | entity_id: light.kitchen_2
--------------------------------------------------------------------------------
/automation/kitchen/kitchen_presence_lights_night.yaml:
--------------------------------------------------------------------------------
1 | # binary_sensor.0x0017880102017e7c_occupancy
2 |
3 | - alias: Kitchen Lights ON when presence detected NIGHT
4 | id: kitchen_lights_on_when_presence_night
5 | trigger:
6 | - platform: state
7 | entity_id: binary_sensor.0x0017880102017e7c_occupancy
8 | from: 'off'
9 | to: 'on'
10 | condition:
11 | - condition: time
12 | after: '23:30:00'
13 | before: '07:00:00'
14 | action:
15 | - service: light.turn_on
16 | entity_id: light.kitchen_1
17 | data:
18 | brightness: 50
19 | - service: light.turn_on
20 | entity_id: light.kitchen_2
21 | data:
22 | brightness: 50
23 | - service: timer.cancel
24 | entity_id: timer.kitchen_lights
25 | - delay:
26 | seconds: 5
27 | # - service: timer.start
28 | # data:
29 | # entity_id: timer.kitchen_lights
30 | # duration: 00:05:00
--------------------------------------------------------------------------------
/automation/kitchen/kitchen_water_leak.yaml:
--------------------------------------------------------------------------------
1 | - alias: Kitchen Water Leak
2 | id: kitchen_water_leak
3 | trigger:
4 | - platform: state
5 | entity_id: binary_sensor.0x00158d000281fa1f_water_leak
6 | from: 'off'
7 | to: 'on'
8 | action:
9 | - service: notify.html5
10 | data:
11 | message: "Water Leak detected in the kitchen!!!"
12 | title: "Water Leak!"
13 | data:
14 | tag: "water_leak_kitchen"
--------------------------------------------------------------------------------
/automation/livingroom/google_home_volume.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Livingroom: Google Home Volume 09:00:00"
2 | id: livingroom_google_home_volume_090000
3 | trigger:
4 | - platform: time
5 | at: "09:00:00"
6 | action:
7 | - service: media_player.volume_set
8 | entity_id: media_player.living_room_home
9 | data:
10 | volume_level: 0.5
11 |
12 | - alias: "Livingroom: Google Home Volume 22:00:00"
13 | id: livingroom_google_home_volume_220000
14 | trigger:
15 | - platform: time
16 | at: "22:00:00"
17 | action:
18 | - service: media_player.volume_set
19 | entity_id: media_player.living_room_home
20 | data:
21 | volume_level: 0.3
--------------------------------------------------------------------------------
/automation/livingroom/livingroom_dyson.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Dyson Night Mode ON"
2 | id: livingroom_dyson_night_mode_on
3 | trigger:
4 | platform: time
5 | at: '22:00:00'
6 | action:
7 | - service: fan.dyson_set_night_mode
8 | data:
9 | entity_id: fan.living_room
10 | night_mode: true
11 |
12 | - alias: "Dyson Night Mode OFF"
13 | id: livingroom_dyson_night_mode_off
14 | trigger:
15 | platform: time
16 | at: '07:00:00'
17 | action:
18 | - service: fan.dyson_set_night_mode
19 | data:
20 | entity_id: fan.living_room
21 | night_mode: false
22 |
23 | - alias: "Dyson Filter Warning 200h"
24 | id: livingroom_dyson_filter_warning_200h
25 | trigger:
26 | platform: numeric_state
27 | entity_id: sensor.bedroom_filter_life
28 | below: 200
29 | above: 101
30 | action:
31 | - service: notify.html5
32 | data:
33 | message: "Dyson Filter Life below 200h"
34 | title: "Dyson"
35 | data:
36 | tag: "dyson_filter"
37 |
38 | - alias: "Dyson Filter Warning 100h"
39 | id: livingroom_dyson_filter_warning_100h
40 | trigger:
41 | platform: numeric_state
42 | entity_id: sensor.bedroom_filter_life
43 | below: 100
44 | action:
45 | - service: notify.html5
46 | data:
47 | message: "Dyson Filter Life below 100h"
48 | title: "Dyson"
49 | data:
50 | tag: "dyson_filter"
--------------------------------------------------------------------------------
/automation/livingroom/livingroom_fan.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Living room Fan on at high Temp"
2 | id: livingroom_fan_on_high_temp
3 | trigger:
4 | platform: numeric_state
5 | entity_id: sensor.netatmo_thermostat_temperature
6 | above: 20
7 | condition:
8 | - condition: state
9 | entity_id: binary_sensor.is_sleeping
10 | state: "off"
11 | - condition: state
12 | entity_id: group.presence
13 | state: "on"
14 | action:
15 | - service: fan.turn_on
16 | data:
17 | entity_id: fan.livingroom_fan
18 |
19 | - alias: "Living room Fan off at low Temp"
20 | id: livingroom_fan_off_low_temp
21 | trigger:
22 | platform: numeric_state
23 | entity_id: sensor.netatmo_thermostat_temperature
24 | below: 19.5
25 | action:
26 | - service: fan.turn_off
27 | data:
28 | entity_id: fan.livingroom_fan
29 |
30 | - alias: "Living room Fan on when awake"
31 | id: livingroom_fan_on_awake
32 | trigger:
33 | platform: state
34 | entity_id: binary_sensor.is_sleeping
35 | from: "on"
36 | to: "off"
37 | condition:
38 | - condition: state
39 | entity_id: group.presence
40 | state: "on"
41 | - condition: numeric_state
42 | entity_id: sensor.netatmo_thermostat_temperature
43 | above: 20
44 | action:
45 | - service: fan.turn_on
46 | data:
47 | entity_id: fan.livingroom_fan
48 |
49 | - alias: "Living room Fan off when sleeping"
50 | id: livingroom_fan_off_sleeping
51 | trigger:
52 | platform: state
53 | entity_id: binary_sensor.is_sleeping
54 | to: "on"
55 | action:
56 | - service: fan.turn_off
57 | data:
58 | entity_id: fan.livingroom_fan
--------------------------------------------------------------------------------
/automation/livingroom/livingroom_lightswitch.yaml:
--------------------------------------------------------------------------------
1 | - alias: Living Room TV Scene Toggle
2 | id: living_room_tv_scene_toggle
3 | trigger:
4 | - platform: event
5 | event_type: homematic.keypress
6 | event_data:
7 | name: Switch Living Room
8 | channel: 1
9 | param: PRESS_SHORT
10 | action:
11 | - service: light.toggle
12 | entity_id: light.tv_lights
13 |
14 | - alias: Living Room Normal Lights
15 | id: living_room_normal_lights
16 | trigger:
17 | - platform: event
18 | event_type: homematic.keypress
19 | event_data:
20 | name: Switch Living Room
21 | channel: 2
22 | param: PRESS_SHORT
23 | action:
24 | - service: light.toggle
25 | entity_id: light.living_room_normal_lights
26 |
27 | # group.tv_lights_on
--------------------------------------------------------------------------------
/automation/livingroom/livingroom_thermostat.yaml:
--------------------------------------------------------------------------------
1 | - alias: Living Room Rise Temperature at 11:00
2 | id: livingroom_rise_temperature_at_1100
3 | trigger:
4 | - platform: time
5 | at: '11:00:00'
6 | condition:
7 | - condition: time
8 | weekday:
9 | - mon
10 | - tue
11 | - wed
12 | - thu
13 | - fri
14 | action:
15 | - service: climate.set_preset_mode
16 | data:
17 | entity_id: climate.netatmo_living_room
18 | preset_mode: 'Schedule'
19 |
20 | - alias: Living Room Rise Temperature at 17:00
21 | id: livingroom_rise_temperature_at_1700
22 | trigger:
23 | - platform: time
24 | at: '17:00:00'
25 | condition:
26 | - condition: time
27 | weekday:
28 | - mon
29 | - tue
30 | - wed
31 | - thu
32 | - fri
33 | action:
34 | - service: climate.set_preset_mode
35 | data:
36 | entity_id: climate.netatmo_living_room
37 | preset_mode: 'Schedule'
--------------------------------------------------------------------------------
/automation/livingroom/palm.yaml:
--------------------------------------------------------------------------------
1 | # Integration: https://github.com/zewelor/bt-mqtt-gateway
2 | - alias: "Palm tree is low on water"
3 | id: livingroom_plam_low_water
4 | trigger:
5 | platform: time
6 | at: "19:00:00"
7 | condition:
8 | - condition: state
9 | entity_id: person.steff_2
10 | state: 'home'
11 | - condition: numeric_state
12 | entity_id: sensor.miflora_herbs_moisture
13 | below: 15
14 | action:
15 | - service: notify.mobile_app_pixel_3_app
16 | data:
17 | message: 'Palm is low an Water!'
--------------------------------------------------------------------------------
/automation/livingroom/planter_lamp_ontime.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Planter Lamp ontime"
2 | id: planter_lamp_ontime
3 | trigger:
4 | - platform: time_pattern
5 | minutes: "/6"
6 | seconds: 00
7 | condition:
8 | condition: state
9 | entity_id: switch.ikea_planter
10 | state: "on"
11 | action:
12 | - service: input_number.set_value
13 | data_template:
14 | entity_id: input_number.planter_lamp_ontime
15 | value: "{{ states('input_number.planter_lamp_ontime') | float + 0.1 }}"
16 |
17 | - alias: "Planter Lamp ontime reset"
18 | id: planter_lamp_ontime_reset
19 | trigger:
20 | - platform: time
21 | at: "00:00:01"
22 | action:
23 | - service: input_number.set_value
24 | data:
25 | entity_id: input_number.planter_lamp_ontime
26 | value: 0
--------------------------------------------------------------------------------
/automation/noone_home.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Nobody at Home"
2 | id: nobody_home
3 | trigger:
4 | - platform: time_pattern
5 | minutes: '\5'
6 | condition:
7 | - condition: state
8 | entity_id: group.presence
9 | state: 'not_home'
10 | for:
11 | hours: 0
12 | minutes: 30
13 | seconds: 0
14 | action:
15 | - service: light.turn_off
16 | entity_id: all
--------------------------------------------------------------------------------
/automation/office/ikea_planter.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "IKEA Planter: ON"
2 | id: ikea_planter_on
3 | trigger:
4 | - platform: time
5 | at: '05:30:00'
6 | action:
7 | - service: switch.turn_on
8 | data:
9 | entity_id:
10 | - switch.ikea_planter
11 |
12 | - alias: "IKEA Planter: OFF"
13 | id: ikea_planter_off
14 | trigger:
15 | - platform: time
16 | at: '22:30:00'
17 | action:
18 | - service: switch.turn_off
19 | data:
20 | entity_id:
21 | - switch.ikea_planter
--------------------------------------------------------------------------------
/automation/office/nas_system_warning.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Synology NAS: Volume degraded"
2 | id: synology_nas_volume_degraded
3 | trigger:
4 | - platform: template
5 | value_template: "{% if not is_state('sensor.status_volume_1','normal') %}true{% else %}false{% endif %}"
6 | action:
7 | - service: notify.hangouts
8 | data:
9 | message: "Synology NAS Volume degraded!"
--------------------------------------------------------------------------------
/automation/outdoors/leaving_home_lights.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Turn on Outside Light when dark and leaving home"
2 | id: outdoor_light_on_when_dark_leaving
3 | trigger:
4 | - platform: sun
5 | event: sunset
6 | offset: '-00:30:00'
7 | action:
8 | - service: switch.turn_on
9 | data:
10 | entity_id:
11 | - switch.xmas_lights
--------------------------------------------------------------------------------
/automation/outdoors/xmaslights.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: "Xmas Lights ON at sunset"
2 | id: xmaslightsonsunset
3 | trigger:
4 | - platform: sun
5 | event: sunset
6 | offset: '-00:30:00'
7 | action:
8 | - service: switch.turn_on
9 | data:
10 | entity_id:
11 | - switch.xmas_lights
12 |
13 | - alias: "Xmas Lights OFF at sunrise"
14 | id: xmaslightsoffsunrise
15 | trigger:
16 | - platform: sun
17 | event: sunrise
18 | offset: '00:45:00'
19 | action:
20 | - service: switch.turn_off
21 | data:
22 | entity_id:
23 | - switch.xmas_lights
--------------------------------------------------------------------------------
/automation/system/alarm_window_open.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Alert if Window/Door opened"
2 | id: alert_window_door_opened
3 | trigger:
4 | - platform: state
5 | entity_id: binary_sensor.bedroomwindow_state
6 | from: "off"
7 | to: "on"
8 | - platform: state
9 | entity_id: binary_sensor.kitchenwindow_state
10 | from: "off"
11 | to: "on"
12 | - platform: state
13 | entity_id: binary_sensor.livingroomwindow_state
14 | from: "off"
15 | to: "on"
16 | - platform: state
17 | entity_id: binary_sensor.officewindow_state
18 | from: "off"
19 | to: "on"
20 | - platform: state
21 | entity_id: binary_sensor.entrancedoor_state
22 | from: "off"
23 | to: "on"
24 | condition:
25 | - condition: state
26 | entity_id: group.presence
27 | state: "off"
28 | for:
29 | hours: 0
30 | minutes: 0
31 | seconds: 1
32 | action:
33 | - service: notify.html5
34 | data:
35 | message: "Window/Door was opened!"
36 | title: "Intruder Alert!"
37 | data:
38 | tag: "intruder_alert"
--------------------------------------------------------------------------------
/automation/system/groups_visibility_boot.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: 'Set Group Visibilitys at Boot'
2 | initial_state: 'on'
3 | trigger:
4 | - platform: homeassistant
5 | event: start
6 | action:
7 | - service: group.set_visibility
8 | entity_id: group.bedroommain
9 | data:
10 | visible: False
11 | - service: group.set_visibility
12 | entity_id: group.bed_youtube_off
13 | data:
14 | visible: False
15 | - service: group.set_visibility
16 | entity_id: group.bed_youtube_on
17 | data:
18 | visible: False
19 | - service: group.set_visibility
20 | entity_id: group.gaming_lights_off
21 | data:
22 | visible: False
23 | - service: group.set_visibility
24 | entity_id: group.gaming_lights_on
25 | data:
26 | visible: False
27 | - service: group.set_visibility
28 | entity_id: group.tv_lights_off
29 | data:
30 | visible: False
31 | - service: group.set_visibility
32 | entity_id: group.tv_lights_on
33 | data:
34 | visible: False
35 | - service: group.set_visibility
36 | entity_id: group.bathroom_heater_control
37 | data:
38 | visible: False
39 | # - service: group.set_visibility
40 | # entity_id: group.livingroomlightscouch
41 | # data:
42 | # visible: False
43 |
--------------------------------------------------------------------------------
/automation/system/open_window_heater_off.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Reduce Temperature if Window open"
2 | id: climate_reduce_temperature_window_open
3 | trigger:
4 | - platform: state
5 | entity_id: group.windows
6 | from: "off"
7 | to: "on"
8 | for:
9 | seconds: 15
10 | minutes: 0
11 | hours: 0
12 | action:
13 | - service: climate.set_away_mode
14 | data:
15 | entity_id: climate.netatmo_living_room
16 | away_mode: true
17 |
18 | - alias: "Increase Temperature if Window closed"
19 | id: climate_increase_temperature_window_closed
20 | trigger:
21 | - platform: state
22 | entity_id: group.windows
23 | from: "on"
24 | to: "off"
25 | for:
26 | seconds: 15
27 | minutes: 0
28 | hours: 0
29 | action:
30 | - service: climate.set_away_mode
31 | data:
32 | entity_id: climate.netatmo_living_room
33 | away_mode: false
--------------------------------------------------------------------------------
/automation/system/themes/themes_boot.yaml:
--------------------------------------------------------------------------------
1 | - alias: 'Set theme at startup'
2 | initial_state: 'on'
3 | trigger:
4 | - platform: homeassistant
5 | event: start
6 | action:
7 | service: frontend.set_theme
8 | data:
9 | name: darkorange
--------------------------------------------------------------------------------
/automation/system/themes/themes_boot.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: 'Set theme at startup'
2 | initial_state: 'on'
3 | trigger:
4 | - platform: homeassistant
5 | event: start
6 | action:
7 | service: frontend.set_theme
8 | data:
9 | name: darkorange
--------------------------------------------------------------------------------
/automation/system/themes/themes_nightmode.yaml:
--------------------------------------------------------------------------------
1 | - alias: 'Set dark theme for the night'
2 | initial_state: True
3 | trigger:
4 | - platform: time
5 | at: '22:00'
6 | action:
7 | - service: frontend.set_theme
8 | data:
9 | name: darkorange
10 | - alias: 'Set day theme for the day'
11 | initial_state: True
12 | trigger:
13 | - platform: time
14 | at: '07:00'
15 | action:
16 | - service: frontend.set_theme
17 | data:
18 | name: darkorange
--------------------------------------------------------------------------------
/automation/system/themes/themes_nightmode.yaml.disabled:
--------------------------------------------------------------------------------
1 | - alias: 'Set dark theme for the night'
2 | initial_state: True
3 | trigger:
4 | - platform: time
5 | at: '22:00'
6 | action:
7 | - service: frontend.set_theme
8 | data:
9 | name: darkorange
10 | - alias: 'Set day theme for the day'
11 | initial_state: True
12 | trigger:
13 | - platform: time
14 | at: '07:00'
15 | action:
16 | - service: frontend.set_theme
17 | data:
18 | name: darkorange
--------------------------------------------------------------------------------
/automation/system/weather_warning.yaml:
--------------------------------------------------------------------------------
1 | - alias: "Weather: Warning below 4C"
2 | id: weather_warning_below_4c
3 | trigger:
4 | - platform: time
5 | at: "07:30:00"
6 | condition:
7 | condition: and
8 | conditions:
9 | - condition: time
10 | weekday:
11 | - mon
12 | - tue
13 | - wed
14 | - thu
15 | - fri
16 | - condition: numeric_state
17 | entity_id: sensor.netatmo_outdoormodule_temperature
18 | below: 4
19 | action:
20 | - service: notify.html5
21 | data:
22 | message: "It's below 4°C! Temp: {{ states('sensor.netatmo_outdoormodule_temperature') }}°C"
23 |
24 | - alias: "Weather: Aare Brienzwiler Danger Level 2"
25 | id: weather_aare_brienzwiler_danger_level_2
26 | trigger:
27 | - platform: numeric_state
28 | entity_id: sensor.aare_brienzwiler_danger_level
29 | above: 1
30 | action:
31 | - service: notify.html5
32 | data:
33 | message: "Aare Brienzwiler Danger Level at {{ states('sensor.aare_brienzwiler_danger_level') }}!"
34 |
35 | - alias: "Weather: High Windspeeds Brienz"
36 | id: weather_high_windspeed_brienz
37 | trigger:
38 | - platform: numeric_state
39 | entity_id: sensor.windspeed_brienz
40 | above: 16
41 | for:
42 | minutes: 15
43 | seconds: 0
44 | action:
45 | - service: notify.html5
46 | data:
47 | message: "Hohe Wingeschwindigkeit! {{ states('sensor.windspeed_brienz') }} m/s / {{ (float(states('sensor.windspeed_brienz')) * 3.6) | round(0) }} km/h!"
--------------------------------------------------------------------------------
/automation/webhooks/webhook_bed_youtube.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook Bed Youtube
2 | id: webhook_bed_youtube
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_bed_youtube
6 | action:
7 | - service: script.bed_youtube
--------------------------------------------------------------------------------
/automation/webhooks/webhook_gaming.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook Gaming
2 | id: webhook_gaming
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_gaming
6 | action:
7 | - service: script.gaming_light
--------------------------------------------------------------------------------
/automation/webhooks/webhook_leaving_home.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook Leaving Home
2 | id: webhook_leaving_home
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_leaving_home
6 | action:
7 | - service: script.leaving_home
--------------------------------------------------------------------------------
/automation/webhooks/webhook_lock.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook Lock Unlock
2 | id: webhook_lock_unlock
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_lock_unlock
6 | action:
7 | - service: lock.unlock
8 | data:
9 | entity_id: lock.home
10 | - service: script.lock_unlock_night ## -> scripts/lock_unlock_night.yaml
11 |
12 | - alias: Webhook Lock Lock
13 | id: webhook_lock_lock
14 | trigger:
15 | - platform: webhook
16 | webhook_id: !secret webhook_lock_lock
17 | action:
18 | - service: lock.lock
19 | data:
20 | entity_id: lock.home
--------------------------------------------------------------------------------
/automation/webhooks/webhook_phone_status.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook Phone Status
2 | id: webhook_phone_status
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_phone_status
6 | action:
7 | - service: input_number.set_value
8 | data_template:
9 | entity_id: input_number.phone_status_battery
10 | value: "{{ trigger.json.battery|float }}"
11 | - service: input_number.set_value
12 | data_template:
13 | entity_id: input_number.phone_status_pressure
14 | value: "{{ trigger.json.pressure|float }}"
--------------------------------------------------------------------------------
/automation/webhooks/webhook_sleep.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook Sleep
2 | id: webhook_sleep
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_sleep
6 | action:
7 | - service: script.good_night
--------------------------------------------------------------------------------
/automation/webhooks/webhook_tv.yaml:
--------------------------------------------------------------------------------
1 | - alias: Webhook TV
2 | id: webhook_tv
3 | trigger:
4 | - platform: webhook
5 | webhook_id: !secret webhook_tv
6 | action:
7 | - service: script.tv_light
--------------------------------------------------------------------------------
/automations.yaml:
--------------------------------------------------------------------------------
1 | - id: '1582758401029'
2 | alias: Computer off turn off computer lamp
3 | description: ''
4 | trigger:
5 | - entity_id: binary_sensor.computer_power_status
6 | for: '30'
7 | from: 'on'
8 | platform: state
9 | to: 'off'
10 | condition: []
11 | action:
12 | - entity_id: light.computer_lamp_bulb
13 | service: light.turn_off
14 | - id: '1588887098547'
15 | alias: Prepare Bedtime with Hue Dimmer
16 | description: ''
17 | trigger:
18 | - device_id: cebd3742bc00478ba156515b28bfac68
19 | domain: hue
20 | platform: device
21 | subtype: turn_off
22 | type: remote_button_long_release
23 | condition: []
24 | action:
25 | - data:
26 | entity_id: scene.prepare_bedtime
27 | service: scene.turn_on
28 | - entity_id: cover.bedroom_blind
29 | service: cover.close_cover
30 | - id: '1589147375613'
31 | alias: Enable Night Mode on Soundsystem at 22:00
32 | description: ''
33 | trigger:
34 | - at: '22:00'
35 | platform: time
36 | condition:
37 | - above: '75'
38 | condition: numeric_state
39 | entity_id: sensor.mystrom_tv
40 | action:
41 | - data:
42 | command: Night
43 | device: '64024837'
44 | entity_id: remote.harmony_hub
45 | service: remote.send_command
46 | - id: '1589223786608'
47 | alias: TV Lighting for Plex on Shield TV
48 | description: ''
49 | trigger:
50 | - entity_id: media_player.shield_tv
51 | platform: state
52 | to: playing
53 | condition:
54 | - condition: template
55 | value_template: '{{is_state_attr(''media_player.shield_tv'', ''app_name'', ''Plex'')}}'
56 | - condition: state
57 | entity_id: media_player.shield_tv
58 | state: playing
59 | - after: sunset
60 | condition: sun
61 | action:
62 | - scene: scene.tv_lights_night
63 |
--------------------------------------------------------------------------------
/binary_sensors/colder_outside.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | colder_outside:
4 | friendly_name: "Colder Outside"
5 | device_class: cold
6 | value_template: >-
7 | {{
8 | ((states('sensor.netatmo_outdoormodule_temperature')|float - 1) < states('sensor.apartment_temperature')|float)
9 | and (now().hour >= 8 and now().hour <= 23)
10 | and states('sensor.season') != 'winter' and is_state('group.presence', 'home') }}
--------------------------------------------------------------------------------
/binary_sensors/is_gaming_bayesian.yaml:
--------------------------------------------------------------------------------
1 | platform: bayesian
2 | name: "is gaming bayesian"
3 | prior: 0.2
4 | probability_threshold: 0.9
5 | observations:
6 | - entity_id: 'sensor.mystrom_computer'
7 | prob_given_true: 0.95
8 | platform: 'numeric_state'
9 | above: 250
--------------------------------------------------------------------------------
/binary_sensors/is_sleeping.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | is_sleeping:
4 | friendly_name: "is sleeping"
5 | value_template: >-
6 | {{
7 | is_state('binary_sensor.bedroomdoor_state', 'off')
8 | and is_state('light.bedroom_lights', 'off')
9 | and is_state('light.living_room_lights', 'off')
10 | and is_state('group.presence', 'home')
11 | and (now().hour >= 23 or now().hour <= 12)
12 | }}
13 |
--------------------------------------------------------------------------------
/binary_sensors/is_sleeping_bayesian.yaml:
--------------------------------------------------------------------------------
1 | platform: bayesian
2 | name: "is sleeping bayesian"
3 | prior: 0.25
4 | probability_threshold: 0.97
5 | observations:
6 | - entity_id: 'device_tracker.steff_phone_pixel'
7 | prob_given_true: 0.8
8 | prob_given_false: 0.2
9 | platform: 'state'
10 | to_state: 'home'
11 | - entity_id: 'binary_sensor.bedroomdoor_state'
12 | prob_given_true: 0.9
13 | prob_given_false: 0.1
14 | platform: 'state'
15 | to_state: 'off'
16 | - entity_id: 'binary_sensor.tv_power_status'
17 | prob_given_true: 0.8
18 | prob_given_false: 0.1
19 | platform: 'state'
20 | to_state: 'off'
21 | - entity_id: 'binary_sensor.pixel_battery_charging'
22 | prob_given_true: 0.8
23 | prob_given_false: 0.2
24 | platform: 'state'
25 | to_state: 'On'
--------------------------------------------------------------------------------
/binary_sensors/is_watching_tv_bayesian.yaml:
--------------------------------------------------------------------------------
1 | platform: bayesian
2 | name: "is watching tv bayesian"
3 | prior: 0.6
4 | probability_threshold: 0.95
5 | observations:
6 | - entity_id: 'device_tracker.steff_phone_pixel'
7 | prob_given_true: 0.6
8 | platform: 'state'
9 | to_state: 'home'
10 | - entity_id: 'binary_sensor.tv_power_status'
11 | prob_given_true: 0.94
12 | platform: 'state'
13 | to_state: 'on'
14 | - entity_id: 'light.tv_light_bulb'
15 | prob_given_true: 0.8
16 | platform: 'state'
17 | to_state: 'on'
18 | - entity_id: 'sensor.netatmo_bedroom_noise'
19 | prob_given_true: 0.7
20 | platform: 'numeric_state'
21 | above: 40
--------------------------------------------------------------------------------
/binary_sensors/meteoalarm.yaml:
--------------------------------------------------------------------------------
1 | platform: meteoalarm
2 | country: 'CH'
3 | province: 'Brienz-Interlaken'
--------------------------------------------------------------------------------
/binary_sensors/meteoalarm.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: meteoalarm
2 | country: 'CH'
3 | province: 'Brienz-Interlaken'
--------------------------------------------------------------------------------
/binary_sensors/netatmo_welcome.yaml.disabled:
--------------------------------------------------------------------------------
1 | # platform: netatmo
2 | # timeout: 1
3 | # offset: 90
4 | # cameras:
5 | # - Entrance
6 | # welcome_sensors:
7 | # - Someone known
8 | # - Someone unknown
9 | # - Motion
--------------------------------------------------------------------------------
/binary_sensors/remote_dummy_sensor.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: dummy/remote/sensor
3 | name: Remote
--------------------------------------------------------------------------------
/binary_sensors/rooms/bathroom/bathroom_humidity_high.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | bathroom_humidity_high:
4 | value_template: >-
5 | {% if states.sensor.bathroomthermostat_humidity %}
6 | {%if float(states.sensor.bathroomthermostat_humidity.state) > 65 %}
7 | true
8 | {%- else %}
9 | false
10 | {%- endif %}
11 | {% else %}
12 | false
13 | {% endif %}
14 | friendly_name: 'Bathroom Humidity High Sensor'
--------------------------------------------------------------------------------
/binary_sensors/rooms/bedroom/bedroom_humidity_trend.yaml:
--------------------------------------------------------------------------------
1 | platform: trend
2 | sensors:
3 | bedroom_humidity_trend:
4 | entity_id: sensor.netatmo_bedroom_humidity
5 | friendly_name: Bedroom Humidity Trend
6 | min_gradient: 0.00139
7 |
8 | bathroom_humidity_trend:
9 | entity_id: sensor.netatmo_bathroom_humidity
10 | friendly_name: Bathroom Humidity Trend
11 | min_gradient: 0.00139
--------------------------------------------------------------------------------
/binary_sensors/rooms/livingroom/pc_power_status.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | computer_power_status:
4 | friendly_name: "Computer Power"
5 | device_class: power
6 | icon_template: mdi:power
7 | value_template: >-
8 | {{ states('sensor.mystrom_computer')|float > 35 }}
--------------------------------------------------------------------------------
/binary_sensors/rooms/livingroom/roomba_bin.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | roomba_bin:
4 | friendly_name: "Roomba Bin"
5 | value_template: >-
6 | {{ states.vacuum.roomba.attributes.bin_full }}
--------------------------------------------------------------------------------
/binary_sensors/rooms/livingroom/sony_tv.yaml:
--------------------------------------------------------------------------------
1 | platform: ping
2 | host: 192.168.1.62
3 | name: Sony TV Status
4 | scan_interval: 30
5 | count: 2
--------------------------------------------------------------------------------
/binary_sensors/rooms/livingroom/steff_pc.yaml:
--------------------------------------------------------------------------------
1 | platform: ping
2 | host: 192.168.1.63
3 | name: Steff PC Status
4 | scan_interval: 30
5 | count: 2
--------------------------------------------------------------------------------
/binary_sensors/rooms/livingroom/tv_power_status.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | tv_power_status:
4 | friendly_name: "Sony TV Power"
5 | device_class: power
6 | icon_template: mdi:power
7 | value_template: >-
8 | {{ states('sensor.mystrom_tv')|float > 70 }}
--------------------------------------------------------------------------------
/binary_sensors/rooms/office/3d_printer_power_status.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | 3d_printer_power_status:
4 | friendly_name: "3D Printer Power"
5 | device_class: power
6 | icon_template: mdi:power
7 | value_template: >-
8 | {{ states('sensor.mystrom_server')|float > 200 }}
9 | delay_on:
10 | seconds: 10
11 | delay_off:
12 | minutes: 1
--------------------------------------------------------------------------------
/binary_sensors/rooms/office/octopi.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: octoprint
2 | monitored_conditions:
3 | - Printing
4 | - Printing Error
--------------------------------------------------------------------------------
/binary_sensors/rooms/office/server_power_status.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | server_power_status:
4 | friendly_name: "Server Power"
5 | device_class: power
6 | icon_template: mdi:power
7 | value_template: >-
8 | {{ states('sensor.mystrom_server')|float > 120 }}
9 | delay_off:
10 | seconds: 10
--------------------------------------------------------------------------------
/binary_sensors/shield_tv_plex_active.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | shield_tv_playing_plex:
4 | friendly_name: "Shield TV playing Plex"
5 | value_template: >-
6 | {{is_state_attr('media_player.shield_tv', 'app_name', 'Plex')}}
--------------------------------------------------------------------------------
/cameras/netatmo_welcome.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: netatmo
2 | home: Entrance
3 | cameras:
4 | - Entrance
--------------------------------------------------------------------------------
/cameras/raspi_webcam.yaml:
--------------------------------------------------------------------------------
1 | platform: mjpeg
2 | name: Prusa i3 MK3
3 | mjpeg_url: !secret raspicam_mjpeg_url
4 | still_image_url: !secret raspicam_still_image_url
--------------------------------------------------------------------------------
/cameras/weather_rain_24h.yaml:
--------------------------------------------------------------------------------
1 | platform: generic
2 | still_image_url: https://www.meteoradar.ch/regenkarten/zeigeregenkarte.php?dauer=rainsum10_1440&koord_x=&koord_y=
3 | name: "Weather Radar 24h"
--------------------------------------------------------------------------------
/cameras/webcam_axalp_mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | topic: webcam/axalp/last
3 | name: Webcam Axalp
--------------------------------------------------------------------------------
/cameras/webcam_axalprubi_mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | topic: webcam/axalprubi/last
3 | name: Webcam Axalp 2
--------------------------------------------------------------------------------
/cameras/webcam_boenigen_mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | topic: webcam/boenigen/last
3 | name: Webcam Bönigen
--------------------------------------------------------------------------------
/cameras/webcam_brienz2_mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | topic: webcam/brienz2/last
3 | name: Webcam Brienz 2
--------------------------------------------------------------------------------
/cameras/webcam_brienz_mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | topic: webcam/brienz/last
3 | name: Webcam Brienz
--------------------------------------------------------------------------------
/cameras/webcam_rothorn_mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | topic: webcam/rothorn/last
3 | name: Webcam Rothorn
--------------------------------------------------------------------------------
/climate/bathroom_heater.yaml:
--------------------------------------------------------------------------------
1 | # platform: netatmo
2 | # relay: Relay
3 | # thermostat:
4 | # - Thermostat
5 |
6 | platform: generic_thermostat
7 | name: Bathroom
8 | heater: switch.bathroom_heater
9 | target_sensor: sensor.bathroom_temperature
10 | min_temp: 10
11 | max_temp: 30
12 | min_cycle_duration:
13 | seconds: 30
14 | cold_tolerance: 0.2
15 | hot_tolerance: 0
16 | away_temp: 18
17 | keep_alive: 30
--------------------------------------------------------------------------------
/climate/netatmo_thermostat.yaml:
--------------------------------------------------------------------------------
1 | platform: netatmo
--------------------------------------------------------------------------------
/covers/blinds_terrace_staegmatte.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Blinds Terrace Stägmatte"
3 | command_topic: "recode/arduino/blindsterrace01/command"
4 | payload_open: "DOWN"
5 | payload_close: "UP"
6 | payload_stop: "STOP"
--------------------------------------------------------------------------------
/covers/chicken.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: template
2 | covers:
3 | chicken_door:
4 | friendly_name: "Chicken Door"
5 | position_template: "{{ states('sensor.huhner_tur_status_') }}"
6 | open_cover:
7 | service: cover.open_cover
8 | data:
9 | entity_id: cover.huhner_tur
10 | close_cover:
11 | service: cover.close_cover
12 | data:
13 | entity_id: cover.huhner_tur
14 | stop_cover:
15 | service: cover.stop_cover
16 | data:
17 | entity_id: cover.huhner_tur
--------------------------------------------------------------------------------
/covers/window_livingroom.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Window Blinds Livingroom"
3 | set_position_topic: "dev/arduino/cover01/position"
4 | state_topic: "dev/arduino/cover01/state"
5 | command_topic: "dev/arduino/cover01/command"
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/config_flow.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/config_flow.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/configuration_schema.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/configuration_schema.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/const.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/const.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/constrains.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/constrains.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/globals.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/globals.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/http.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/http.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/sensor.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/sensor.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/setup.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/setup.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/store.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/store.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/__pycache__/ws_api_handlers.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/__pycache__/ws_api_handlers.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/backup.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/backup.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/configuration.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/configuration.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/const.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/const.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/data.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/data.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/exceptions.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/exceptions.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/hacsbase/__pycache__/task_factory.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/hacsbase/__pycache__/task_factory.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/handler/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/handler/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/handler/__pycache__/download.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/handler/__pycache__/download.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/handler/__pycache__/template.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/handler/__pycache__/template.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/action.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/action.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/download.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/download.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/filters.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/filters.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/get_defaults.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/get_defaults.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/information.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/information.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/install.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/install.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/misc.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/misc.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/network.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/network.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/register_repository.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/register_repository.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/remaining_github_calls.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/remaining_github_calls.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/helpers/__pycache__/validate_repository.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/helpers/__pycache__/validate_repository.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/appdaemon.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/appdaemon.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/integration.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/integration.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/manifest.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/manifest.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/netdaemon.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/netdaemon.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/plugin.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/plugin.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/python_script.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/python_script.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/removed.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/removed.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/repository.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/repository.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/repositorydata.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/repositorydata.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/repositories/__pycache__/theme.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/hacs/repositories/__pycache__/theme.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/hacs/services.yaml:
--------------------------------------------------------------------------------
1 | install:
2 | description: This is NOT intended to be used here, this is intended for developers!
3 | fields:
4 | repository:
5 | description: The repository ID
6 | example: '"123456789"'
7 | register:
8 | description: This is NOT intended to be used here, this is intended for developers!
9 | fields:
10 | repository:
11 | description: The full name of the repository
12 | example: 'developer/repo'
13 | repository_type:
14 | description: The repository type
15 | example: 'plugin'
--------------------------------------------------------------------------------
/custom_components/meteo-swiss/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/meteo-swiss/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/custom_components/meteo-swiss/__pycache__/weather.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/custom_components/meteo-swiss/__pycache__/weather.cpython-37.pyc
--------------------------------------------------------------------------------
/device_tracker/gpslogger_android.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: gpslogger
--------------------------------------------------------------------------------
/device_tracker/owntracks.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: owntracks
2 | max_gps_accuracy: 200
--------------------------------------------------------------------------------
/device_tracker/traccar.yaml:
--------------------------------------------------------------------------------
1 | platform: traccar
2 | username: !secret traccar_username
3 | password: !secret traccar_password
4 | host: localhost
5 | port: 18682
6 | ssl: false
7 | monitored_conditions: ['total distance']
--------------------------------------------------------------------------------
/device_tracker/unifi.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: unifi
2 | username: !secret unifi_username
3 | password: !secret unifi_password
4 | host: !secret unifi_host
5 | # site_id:
6 | verify_ssl: false
7 | detection_time: 30
8 | ssid_filter:
9 | - "axalp2"
10 | - "axalp5"
11 | new_device_defaults:
12 | track_new_devices: false
--------------------------------------------------------------------------------
/fans/fan_bedroom.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: Fan Office
3 | command_topic: "recode/arduino/fan01/command"
4 | state_topic: "recode/arduino/fan01/state"
5 | speed_command_topic: "recode/arduino/fan01/fanspeed/command"
6 | speed_state_topic: "recode/arduino/fan01/fanspeed/state"
7 | retain: true
8 |
--------------------------------------------------------------------------------
/fans/livingroom_fan.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | fans:
3 | livingroom_fan:
4 | friendly_name: "Living Room Fan"
5 | value_template: "{{ states('input_boolean.livingroom_fan') }}"
6 | speed_template: "{{ states('input_select.livingroom_fan') }}"
7 | turn_on:
8 | service: script.livingroom_fan_on
9 | turn_off:
10 | service: script.livingroom_fan_off
11 | set_speed:
12 | service: script.livingroom_fan_speed
13 | data_template:
14 | speed: "{{ speed }}"
15 | speeds:
16 | - 'FanLow'
17 | - 'FanMed'
18 | - 'FanHigh'
--------------------------------------------------------------------------------
/groups.yaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/groups.yaml
--------------------------------------------------------------------------------
/groups/bathroom/bathroom.yaml:
--------------------------------------------------------------------------------
1 | bathroom:
2 | name: Bathroom
3 | entities:
4 | - group.bathroom_ceiling
5 | - switch.bathroom_heater
6 | - climate.bathroom
7 | - timer.bathroom_heater
8 | - sensor.bathroomthermostat_humidity
9 | - input_boolean.ignore_bathroom_door
10 | - binary_sensor.bathroomdoor_state
11 |
12 | bathroom_ceiling:
13 | name: Bathroom Ceiling
14 | entities:
15 | - light.bathroom_ceiling_1
16 | - light.bathroom_ceiling_2
--------------------------------------------------------------------------------
/groups/bedroom/bedroom.yaml:
--------------------------------------------------------------------------------
1 | bedroom:
2 | name: Bedroom
3 | entities:
4 | - group.bedroomMain
5 | - light.bedroom_nightstand
6 | - light.bedroom_2
7 | - light.bedroom_4
8 | - switch.bedroom_fan
9 | - switch.bedroom_alarmclock
10 | - sensor.netatmo_bedroom_temperature
11 | - sensor.netatmo_bedroom_humidity
12 | - sensor.netatmo_bedroom_co2
13 | - sensor.netatmo_bedroom_noise
14 | - binary_sensor.bedroomdoor_state
15 | - binary_sensor.bedroomwindow_state
16 |
17 | bedroomMain:
18 | name: Bedroom Main
19 | entities:
20 | - light.bedroom_2
21 | - light.bedroom_4
--------------------------------------------------------------------------------
/groups/climate.yaml:
--------------------------------------------------------------------------------
1 | netatmostatus:
2 | name: Netatmo
3 | entities:
4 | - sensor.netatmo_bedroom_wifi
5 | - sensor.netatmo_office_battery
6 | - sensor.netatmo_office_radio
7 | - sensor.netatmo_outdoormodule_battery
8 | - sensor.netatmo_outdoormodule_radio
9 |
10 | climate:
11 | name: Climate
12 | entities:
13 | - climate.netatmo_living_room
14 | - sensor.netatmo_bedroom_temperature
15 | - climate.bathroom
16 | - sensor.netatmo_office_temperature
17 | - sensor.kitchen_temperature
18 | - sensor.netatmo_outdoormodule_temperature
19 |
20 | fwbrienz_climate:
21 | name: Brienz Weather
22 | entities:
23 | - sensor.temperature_brienz
24 | - sensor.temperature_brienz_dewpoint
25 | - sensor.temperature_brienz_windchill
26 | - sensor.windspeed_brienz
27 | - sensor.windspeed_brienz_guests
28 | - sensor.wind_direction_brienz
29 | - sensor.rain_today_brienz
30 |
31 | axalp_snow:
32 | name: Axalp Weather / Snow
33 | entities:
34 | - sensor.axalp_temperature
35 | - sensor.axalp_humidity
36 | - sensor.axalp_pressure
37 | - sensor.snow_height
38 | - sensor.snow_status
39 | - sensor.snowfall_24h
40 | - sensor.last_snowfall
41 | - sensor.lifts_open
42 | - sensor.pistes_open
43 |
44 | thun_air:
45 | name: Thun Luftqualität
46 | entities:
47 | - sensor.feinstaub_pm10_thun
48 | - sensor.ozon_o3_thun
49 | - sensor.stickstoffdioxid_no2_thun
--------------------------------------------------------------------------------
/groups/groups.yaml:
--------------------------------------------------------------------------------
1 | # bitcoin:
2 | # name: Bitcoin
3 | # entities:
4 | # - sensor.bitcoin_chf
5 |
6 | # people:
7 | # name: People
8 | # entities:
9 | # - device_tracker.404e36855fdd
10 | # - device_tracker.phone_phone
--------------------------------------------------------------------------------
/groups/hydro.yaml:
--------------------------------------------------------------------------------
1 | hydroRinggenberg:
2 | name: Ringgenberg
3 | entities:
4 | - sensor.aare_ringgenberg_discharge
5 | - sensor.aare_ringgenberg_waterlevel
6 | - sensor.aare_ringgenberg_temperature
7 | - sensor.aare_ringgenberg_danger_level
8 |
9 | hydroBrienzwiler:
10 | name: Brienzwiler
11 | entities:
12 | - sensor.aare_brienzwiler_discharge
13 | - sensor.aare_brienzwiler_waterlevel
14 | - sensor.aare_brienzwiler_temperature
15 | - sensor.aare_brienzwiler_danger_level
--------------------------------------------------------------------------------
/groups/kitchen/kitchen.yaml:
--------------------------------------------------------------------------------
1 | kitchen:
2 | name: Kitchen
3 | entities:
4 | - light.kitchen_2
5 | - light.kitchen_1
6 | - sensor.kitchen_temperature
7 | - sensor.kitchenthermometer_humidity
8 | - binary_sensor.entrancedoor_state
9 | - binary_sensor.kitchenwindow_state
--------------------------------------------------------------------------------
/groups/livingroom/livingroom.yaml:
--------------------------------------------------------------------------------
1 | livingroom:
2 | name: Living Room
3 | entities:
4 | - light.living_room_ceiling_lamp
5 | - group.livingroomLightsCouch
6 | - light.living_room_under_couch
7 | - light.tv_light_bulb
8 | - light.computer_lamp_bulb
9 | - light.livingroom_plant
10 | - sensor.planter_lamp_ontime
11 | - fan.livingroom_fan
12 | - vacuum.roomba
13 | - binary_sensor.roomba_bin
14 | # - media_player.kd55x8505c
15 | - climate.netatmo_living_room
16 | - sensor.livingroom_temperature_couch
17 | - sensor.mystrom_computer
18 | - sensor.mystrom_tv
19 | - binary_sensor.livingroomdoor_state
20 | - binary_sensor.livingroomwindow_state
21 |
22 | livingroomLightsCouch:
23 | name: Living Room Couch
24 | entities:
25 | - light.living_room_4
26 | - light.living_room_1
--------------------------------------------------------------------------------
/groups/meteo.yaml:
--------------------------------------------------------------------------------
1 | darksky:
2 | name: Meteo
3 | entities:
4 | - sensor.dark_sky_cloud_coverage
5 | - sensor.dark_sky_daily_high_temperature
6 | - sensor.dark_sky_daily_low_temperature
7 | - sensor.dark_sky_ozone
8 | - sensor.dark_sky_visibility
9 | - sensor.dark_sky_wind_bearing
10 | - sensor.dark_sky_wind_speed
11 | - sensor.dark_sky_apparent_temperature
12 | - sensor.dark_sky_daily_high_apparent_temperature
13 | - sensor.dark_sky_daily_low_apparent_temperature
14 | - sensor.dark_sky_daily_max_precip_intensity
15 | - sensor.dark_sky_daily_summary
16 | - sensor.dark_sky_dew_point
17 | - sensor.dark_sky_hourly_summary
18 | - sensor.dark_sky_humidity
19 | - sensor.dark_sky_minutely_summary
20 | - sensor.dark_sky_precip
21 | - sensor.dark_sky_precip_accumulation
22 | - sensor.dark_sky_precip_intensity
23 | - sensor.dark_sky_precip_probability
24 | - sensor.dark_sky_pressure
25 | - sensor.dark_sky_summary
26 | - sensor.dark_sky_temperature
27 | - sensor.dark_sky_uv_index
--------------------------------------------------------------------------------
/groups/network.yaml:
--------------------------------------------------------------------------------
1 | synology:
2 | name: Synology NAS
3 | entities:
4 | - sensor.volume_used_volume_1
5 | - sensor.status_volume_1
6 | - sensor.average_disk_temp_volume_1
7 | - sensor.maximum_disk_temp_volume_1
8 | - sensor.cpu_load_total
9 | - sensor.memory_usage_real
10 |
11 | hpilo:
12 | name: SE001
13 | entities:
14 | - sensor.hp_ilo_cpu_temperature
15 | - sensor.hp_ilo_inlet_temperature
16 | - sensor.hp_ilo_cpu_fanspeed
17 |
18 | wan:
19 | name: Upload/Download
20 | entities:
21 | - sensor.internet_speed_in
22 | - sensor.internet_speed_out
23 | - sensor.wan_traffic_in_mean
24 | - sensor.wan_traffic_out_mean
25 |
26 | power_grid:
27 | name: Power Status
28 | entities:
29 | - sensor.grid_frequency
30 | - sensor.power_usage_switzerland
31 |
32 | power_status_devices:
33 | name: Devices Power Status
34 | entities:
35 | - binary_sensor.3d_printer_power_status
36 | - binary_sensor.computer_power_status
37 | - binary_sensor.server_power_status
38 | - binary_sensor.tv_power_status
39 |
40 | network_status_devices:
41 | name: Network Power Status
42 | entities:
43 | - binary_sensor.sony_tv_status
44 | - binary_sensor.steff_pc_status
--------------------------------------------------------------------------------
/groups/octoprint.yaml:
--------------------------------------------------------------------------------
1 | octoprint:
2 | name: Octoprint
3 | entities:
4 | - sensor.octoprint_actual_bed_temp
5 | - sensor.octoprint_actual_tool0_temp
6 | - sensor.octoprint_current_state
7 | - sensor.octoprint_job_percentage
8 | - sensor.octoprint_target_bed_temp
9 | - sensor.octoprint_target_tool0_temp
10 | - binary_sensor.octoprint_printing
11 | - binary_sensor.octoprint_printing_error
--------------------------------------------------------------------------------
/groups/office/office.yaml:
--------------------------------------------------------------------------------
1 | office:
2 | name: Office
3 | entities:
4 | - light.office_ceiling
5 | - sensor.mystrom_server
6 | - sensor.netatmo_office_temperature
7 | - sensor.netatmo_office_humidity
8 | - sensor.netatmo_office_co2
9 | - binary_sensor.officedoor_state
10 | - binary_sensor.officewindow_state
--------------------------------------------------------------------------------
/groups/outdoor/outdoor.yaml:
--------------------------------------------------------------------------------
1 | outdoor:
2 | name: Outdoor
3 | entities:
4 | - light.outdoor_1
5 | - switch.xmas_lights
6 | - sensor.netatmo_outdoormodule_temperature
7 | - sensor.windchill_temperature
8 | - sensor.netatmo_outdoormodule_humidity
9 | - sensor.netatmo_bedroom_pressure
10 | # - sensor.netatmo_outdoormodule_battery
--------------------------------------------------------------------------------
/groups/phone.yaml:
--------------------------------------------------------------------------------
1 | steffPhone:
2 | name: Steff Phone
3 | entities:
4 | - sensor.phonebattery
5 | - sensor.phoneuptime
6 |
7 | pixel2battery:
8 | name: "Pixel 2 - Battery"
9 | entities:
10 | - sensor.pixel_battery2
11 | - binary_sensor.pixel_battery_charging
12 |
13 | pixel2enviroment:
14 | name: "Pixel 2 - Eviroment"
15 | entities:
16 | - sensor.pixel_pressure
--------------------------------------------------------------------------------
/groups/presence_detection.yaml:
--------------------------------------------------------------------------------
1 | # This groups are for presence detection. There should be never used a
2 | # device directly. Instead create a new group.
3 |
4 | presence:
5 | name: Present
6 | entities:
7 | person.steff_2
--------------------------------------------------------------------------------
/groups/rooms.yaml:
--------------------------------------------------------------------------------
1 | allrooms:
2 | name: All Rooms
3 | entities:
4 | - sensor.apartment_temperature
5 | - group.bedroom
6 | - group.livingroom
7 | - group.kitchen
8 | - group.bathroom
9 | - group.office
10 | - group.outdoor
--------------------------------------------------------------------------------
/groups/scenes/bed_youtube.yaml:
--------------------------------------------------------------------------------
1 | bed_youtube_on:
2 | name: Bed YouTube ON
3 | entities:
4 | - light.bedroom_4
5 | - light.bedroom_nightstand
6 |
7 | bed_youtube_off:
8 | name: Bed YouTube OFF
9 | entities:
10 | - group.bathroom
11 | - group.kitchen
12 | - group.office
13 | - group.livingroom
14 | - light.bedroom_2
--------------------------------------------------------------------------------
/groups/scenes/gaming.yaml:
--------------------------------------------------------------------------------
1 | gaming_lights_on:
2 | name: Gaming Lights ON
3 | entities:
4 | - light.living_room_under_couch
5 | - light.tv_light_bulb
6 | - light.computer_lamp_bulb
7 |
8 | gaming_lights_off:
9 | name: Gaming Lights OFF
10 | entities:
11 | - group.bathroom
12 | - group.bedroom
13 | - group.kitchen
14 | - group.office
15 | - group.livingroomlightscouch
16 | - light.living_room_ceiling_lamp
--------------------------------------------------------------------------------
/groups/scenes/scenes.yaml:
--------------------------------------------------------------------------------
1 | scenes_panel:
2 | name: Scenes
3 | entities:
4 | - script.tv_light
5 | - script.gaming_light
6 | - script.bed_youtube
7 | - script.good_night
8 | - script.leaving_home
9 |
10 | bathroom_heater_control:
11 | name: Bathroom Heater Control
12 | entities:
13 | - script.bathroom_heater_reset
14 | - script.bathroom_heater_cancel
--------------------------------------------------------------------------------
/groups/scenes/tv.yaml:
--------------------------------------------------------------------------------
1 | tv_lights_on:
2 | name: TV Lights ON
3 | entities:
4 | - light.living_room_under_couch
5 | - light.tv_light_bulb
6 |
7 | tv_lights_off:
8 | name: TV Lights OFF
9 | entities:
10 | - group.bathroom
11 | - group.bedroom
12 | - group.kitchen
13 | - group.office
14 | - light.computer_lamp
15 | - group.livingroomlightscouch
16 | - light.living_room_ceiling_lamp
--------------------------------------------------------------------------------
/groups/scripts.yaml:
--------------------------------------------------------------------------------
1 | allscripts:
2 | name: Scripts
3 | entities:
4 | - script.good_night
5 | - script.walk_to_bathroom
6 | - script.walk_to_bathroom_off
--------------------------------------------------------------------------------
/groups/security.yaml:
--------------------------------------------------------------------------------
1 | netatmo_welcome_sensors:
2 | name: Netatmo Welcome
3 | entities:
4 | - binary_sensor.entrance_motion
5 | - binary_sensor.entrance_someone_known
6 | - binary_sensor.entrance_someone_unknown
--------------------------------------------------------------------------------
/groups/tradfri_battery.yaml:
--------------------------------------------------------------------------------
1 | tradfri:
2 | name: Tradfri Battery
3 | entities:
4 | - sensor.computer_lamp_remote
5 | - sensor.tv_light_remote
6 | - sensor.bathroom_remote
7 | - sensor.remote_kitchen
8 | - sensor.remote_nightstand
9 | - sensor.remote_office_1
10 | - sensor.tradfri_remote_control_2
11 | - sensor.motion_outdoors
--------------------------------------------------------------------------------
/groups/windows.yaml:
--------------------------------------------------------------------------------
1 | windows:
2 | name: Windows
3 | entities:
4 | - binary_sensor.bedroomwindow_state
5 | - binary_sensor.kitchenwindow_state
6 | - binary_sensor.livingroomwindow_state
7 | - binary_sensor.officewindow_state
--------------------------------------------------------------------------------
/groups/work/devmqtt.yaml:
--------------------------------------------------------------------------------
1 | work:
2 | name: Work
3 | entities:
4 | - sensor.work_temperature
5 | - sensor.work_humidity
--------------------------------------------------------------------------------
/input_boolean/holidays.yaml:
--------------------------------------------------------------------------------
1 | holidays:
2 | name: Holiday Mode
3 | icon: mdi:beach
--------------------------------------------------------------------------------
/input_boolean/ignore_bathroom_door.yaml:
--------------------------------------------------------------------------------
1 | ignore_bathroom_door:
2 | name: Ignore bathroom door
3 | icon: mdi:alert
--------------------------------------------------------------------------------
/input_boolean/kitchen_automatic_lights.yaml:
--------------------------------------------------------------------------------
1 | kitchen_automatic_lights:
2 | name: Kitchen Automatic Lights Condition
--------------------------------------------------------------------------------
/input_boolean/livingroom_fan.yaml:
--------------------------------------------------------------------------------
1 | livingroom_fan:
2 | name: "Living Room Fan"
3 | icon: mdi:fan
--------------------------------------------------------------------------------
/input_boolean/start_leave_home_script.yaml:
--------------------------------------------------------------------------------
1 | start_leave_home_script:
2 | name: Start Leave Home Script
3 | icon: mdi:house
--------------------------------------------------------------------------------
/input_boolean/zigbee2mqtt.yaml:
--------------------------------------------------------------------------------
1 | zigbee_permit_join:
2 | name: Allow devices to join
3 | initial: off
4 | icon: mdi:cellphone-wireless
--------------------------------------------------------------------------------
/input_number/phone_status_battery.yaml:
--------------------------------------------------------------------------------
1 | phone_status_battery:
2 | name: "Phone Battery"
3 | min: 0
4 | max: 100
5 | unit_of_measurement: '%'
6 | icon: mdi:battery-70
7 |
8 | phone_status_pressure:
9 | name: "Phone Pressure"
10 | min: 750
11 | max: 1250
12 | icon: mdi:gauge
--------------------------------------------------------------------------------
/input_number/planter_lamp_ontime.yaml:
--------------------------------------------------------------------------------
1 | planter_lamp_ontime:
2 | name: "Planter Lamp Ontime"
3 | min: 0
4 | max: 24
5 | step: 0.1
6 | unit_of_measurement: "h"
7 | mode: "box"
--------------------------------------------------------------------------------
/input_number/snmp_networkbandwith.yaml:
--------------------------------------------------------------------------------
1 | # - internet_traffic_delta_in:
2 | # name: "Traffic IN Delta"
3 | # initial: 0
4 | # min: 0
5 | # max: 1000000000000
6 |
7 | # - internet_traffic_delta_out:
8 | # name: "Traffic OUT Delta"
9 | # initial: 0
10 | # min: 0
11 | # max: 1000000000000
--------------------------------------------------------------------------------
/input_select/livingroom_fan.yaml:
--------------------------------------------------------------------------------
1 | livingroom_fan:
2 | name: "Living Room Fan"
3 | icon: mdi:speedometer
4 | options:
5 | - "FanLow"
6 | - "FanMed"
7 | - "FanHigh"
--------------------------------------------------------------------------------
/input_select/zigbee2mqtt.yaml:
--------------------------------------------------------------------------------
1 | zigbee2mqtt_log_level:
2 | name: Zigbee2mqtt Log Level
3 | options:
4 | - debug
5 | - info
6 | - warn
7 | - error
8 | initial: info
9 | icon: mdi:format-list-bulleted
--------------------------------------------------------------------------------
/light/all.yaml:
--------------------------------------------------------------------------------
1 | - platform: group
2 | name: All Lights
3 | entities:
4 | - light.bathroom_ceiling
5 | - light.bathroom_ceiling_1
6 | - light.bathroom_ceiling_2
7 | - light.bedroom
8 | - light.bedroom_4
9 | - light.bedroom_corner_left
10 | - light.bedroom_corner_right
11 | - light.bedroom_corners
12 | - light.bedroom_lights
13 | - light.bedroom_main
14 | - light.bedroom_nightstand
15 | - light.bedroom_youtube
16 | - light.ceiling_panel
17 | - light.celing_panel_bedroom
18 | - light.computer_lamp_bulb
19 | - light.entertainment_area_1
20 | - light.gaming_lights
21 | - light.kitchen
22 | - light.kitchen_1
23 | - light.kitchen_2
24 | - light.kitchen_lights
25 | - light.living_room_1
26 | - light.living_room_4
27 | - light.living_room_ceiling_lamp
28 | - light.living_room_corner_lamp
29 | - light.living_room_couch
30 | - light.living_room_lights
31 | - light.living_room_normal_lights
32 | - light.living_room_under_couch
33 | - light.living_room
34 | - light.livingroom_plant
35 | - light.office_ceiling
36 | - light.outdoor_1
37 | - light.tv_light_bulb
38 | - light.tv_lights
--------------------------------------------------------------------------------
/light/bathroom.yaml:
--------------------------------------------------------------------------------
1 | - platform: group
2 | name: Bathroom Ceiling
3 | entities:
4 | - light.bathroom_ceiling_1
5 | - light.bathroom_ceiling_2
--------------------------------------------------------------------------------
/light/bedroom.yaml:
--------------------------------------------------------------------------------
1 | - platform: group
2 | name: Bedroom Lights
3 | entities:
4 | - light.bedroom_nightstand
5 | - light.bedroom_ceiling
6 | - light.bedroom_4
7 | - light.bedroom_corners
8 |
9 | - platform: group
10 | name: Bedroom YouTube
11 | entities:
12 | - light.bedroom_nightstand
13 | - light.bedroom_4
14 |
15 | - platform: group
16 | name: Bedroom Main
17 | entities:
18 | - light.bedroom_ceiling
19 | - light.bedroom_4
20 |
21 | - platform: group
22 | name: Bedroom Corners
23 | entities:
24 | - light.bedroom_corner_right_2
25 | - light.bedroom_corner_left_2
26 |
27 | - platform: group
28 | name: Bedroom Corner left
29 | entities:
30 | - light.bedroom_corner_left2
31 |
32 | - platform: group
33 | name: Bedroom Corner right
34 | entities:
35 | - light.bedroom_corner_right2
36 |
37 | - platform: group
38 | name: Bedroom Ceiling Lamp
39 | entities:
40 | - light.bedroom_ceiling
41 |
42 | - platform: group
43 | name: Bedroom Main Lights
44 | entities:
45 | - light.bedroom_ceiling
46 | - light.bedroom_corners
--------------------------------------------------------------------------------
/light/kitchen.yaml:
--------------------------------------------------------------------------------
1 | - platform: group
2 | name: Kitchen Lights
3 | entities:
4 | - light.kitchen_1
5 | - light.kitchen_2
--------------------------------------------------------------------------------
/light/livingroom.yaml:
--------------------------------------------------------------------------------
1 | - platform: group
2 | name: TV Lights
3 | entities:
4 | - light.living_room_under_couch
5 | - light.tv_light_bulb
6 | - light.livingroom_plant
7 |
8 | - platform: group
9 | name: Living Room Normal Lights
10 | entities:
11 | - light.living_room_under_couch
12 | - light.tv_light_bulb
13 | - light.livingroom_plant
14 | - light.living_room_ceiling_2
15 | - light.living_room_corner_lamp
16 |
17 | - platform: group
18 | name: Gaming Lights
19 | entities:
20 | - light.living_room_under_couch
21 | - light.tv_light
22 | - light.livingroom_plant
23 | - light.computer_lamp_bulb
24 |
25 | - platform: group
26 | name: Living Room Lights
27 | entities:
28 | - light.tv_light_bulb
29 | - light.computer_lamp_bulb
30 | - light.livingroom_plant
31 | - light.living_room_under_couch
32 | - light.living_room_ceiling_2
33 | - light.living_room_corner_lamp
34 |
35 | - platform: group
36 | name: Living Room Ceiling
37 | entities:
38 | - light.living_room_ceiling_2
39 |
40 | - platform: group
41 | name: Living Room Corner
42 | entities:
43 | - light.living_room_corner_lamp
44 |
45 | - platform: group
46 | name: Livin Room TV Lamp
47 | entities:
48 | - light.tv_light_bulb
--------------------------------------------------------------------------------
/media_players/barviatv.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: braviatv
2 | host: 192.168.1.83
--------------------------------------------------------------------------------
/media_players/shieldtv.yaml:
--------------------------------------------------------------------------------
1 | platform: androidtv
2 | name: Shield TV
3 | host: 192.168.1.81
4 | exclude_unnamed_apps: true
--------------------------------------------------------------------------------
/mediaplayers/barviatv.yaml:
--------------------------------------------------------------------------------
1 | platform: braviatv
2 | host: 192.168.1.83
--------------------------------------------------------------------------------
/misc/travis_fullchain.dummy:
--------------------------------------------------------------------------------
1 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
2 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
3 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
4 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
5 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
6 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
--------------------------------------------------------------------------------
/misc/travis_key.dummy:
--------------------------------------------------------------------------------
1 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
2 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
3 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
4 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
5 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
6 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
--------------------------------------------------------------------------------
/misc/weblinks.yaml:
--------------------------------------------------------------------------------
1 | entities:
2 | - name: Netatmo Security
3 | url: https://my.netatmo.com/app/security
4 | - name: Netatmo Energy
5 | url: https://my.netatmo.com/app/energy
6 | - name: Netatmo Weather
7 | url: https://my.netatmo.com/app/weather
--------------------------------------------------------------------------------
/notify/braviatv.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: nfandroidtv
2 | name: Bravia TV
3 | host: 192.168.1.62
--------------------------------------------------------------------------------
/notify/groups/colder_outside.yaml:
--------------------------------------------------------------------------------
1 | name: colder_outside
2 | platform: group
3 | services:
4 | - service: html5
5 | data:
6 | message: "It's colder outside!"
7 | title: "Climate"
8 | data:
9 | tag: "climate"
--------------------------------------------------------------------------------
/notify/hangouts.yaml.disabled:
--------------------------------------------------------------------------------
1 | name: hangouts
2 | platform: hangouts
3 | default_conversations:
4 | - id: !secret hangouts_conversationid_1
--------------------------------------------------------------------------------
/notify/html5_push.yaml:
--------------------------------------------------------------------------------
1 | name: html5
2 | platform: html5
3 | vapid_pub_key: !secret vapid_pub_key
4 | vapid_prv_key: !secret vapid_prv_key
5 | vapid_email: !secret vapid_email
--------------------------------------------------------------------------------
/panel_custom.yaml:
--------------------------------------------------------------------------------
1 | - name: floorplan
2 | sidebar_title: Floorplan
3 | sidebar_icon: mdi:home
4 | url_path: floorplan
5 | config: !include floorplan.yaml
--------------------------------------------------------------------------------
/panels/floorplan.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
20 | [[panel.title]]
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
65 |
--------------------------------------------------------------------------------
/panels/remote.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
20 | [[panel.title]]
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
65 |
--------------------------------------------------------------------------------
/scenes.yaml:
--------------------------------------------------------------------------------
1 | - id: '1589406631858'
2 | name: Watching a Movie
3 | entities:
4 | light.computer_lamp_bulb:
5 | friendly_name: Computer Lamp Bulb
6 | icon: mdi:spotlight-beam
7 | max_mireds: 454
8 | min_mireds: 250
9 | state: 'off'
10 | supported_features: 35
11 | light.living_room_ceiling_2:
12 | friendly_name: Living Room Ceiling
13 | max_mireds: 454
14 | min_mireds: 250
15 | state: 'off'
16 | supported_features: 35
17 | light.living_room_corner_lamp:
18 | friendly_name: Living Room Corner Lamp
19 | max_mireds: 454
20 | min_mireds: 250
21 | state: 'off'
22 | supported_features: 35
23 | light.living_room_under_couch:
24 | brightness: 200
25 | color_temp: 454
26 | effect: none
27 | effect_list:
28 | - colorloop
29 | - random
30 | friendly_name: Living Room Under Couch
31 | icon: mdi:led-strip
32 | max_mireds: 500
33 | min_mireds: 153
34 | state: 'on'
35 | supported_features: 63
36 | light.livingroom_plant:
37 | effect_list:
38 | - colorloop
39 | - random
40 | friendly_name: Living Room Plant
41 | icon: mdi:led-strip
42 | state: 'off'
43 | supported_features: 61
44 | light.tv_light_bulb:
45 | brightness: 200
46 | color_temp: 454
47 | friendly_name: TV Light Bulb
48 | max_mireds: 454
49 | min_mireds: 250
50 | state: 'on'
51 | supported_features: 35
52 | - id: '1589406729655'
53 | name: Watching a Movie
54 | entities:
55 | light.computer_lamp_bulb:
56 | friendly_name: Computer Lamp Bulb
57 | icon: mdi:spotlight-beam
58 | max_mireds: 454
59 | min_mireds: 250
60 | state: 'off'
61 | supported_features: 35
62 |
--------------------------------------------------------------------------------
/scenes/bathroom.yaml:
--------------------------------------------------------------------------------
1 | - name: Walk to Bathroom ON
2 | entities:
3 | script.walk_to_bathroom: on
4 |
5 | - name: Walk to Bathroom OFF
6 | entities:
7 | script.walk_to_bathroom_off: on
--------------------------------------------------------------------------------
/scenes/bedroom.yaml:
--------------------------------------------------------------------------------
1 | - name: Prepare Bedtime
2 | entities:
3 | light.bedroom_nightstand:
4 | state: on
5 | brightness: 8
6 | kelvin: 2200
7 | transition: 2
8 | light.celing_panel_bedroom: off
9 | light.bathroom: off
10 | light.kitchen_lights: off
11 | light.living_room: off
12 | light.ceiling_panel: off
13 | light.living_room_couch: off
14 | light.living_room_normal_lights: off
15 | light.living_room_under_couch: off
16 | light.living_room_corner_lamp: off
17 | light.livingroom_plant: off
18 | light.computer_lamp_bulb: off
19 | light.office: off
20 | light.office_ceiling: off
21 | light.tv_light: off
22 | light.tv_lights: off
23 | light.bedroom_corners: off
24 | light.living_room_ceiling_2: off
25 | fan.livingroom_fan: off
26 | light.bedroom_ceiling: off
27 | lock.home:
28 | state: locked
29 |
30 | - name: Sleep
31 | entities:
32 | lock.home:
33 | state: locked
34 |
35 | - name: Night Toilet
36 | entities:
37 | light.bedroom_nightstand:
38 | state: on
39 | brightness: 50
40 | kelvin: 2200
41 | light.bathroom:
42 | state: on
43 | brightness: 50
44 | kelvin: 2200
45 | light.living_room_under_couch:
46 | state: on
47 | brightness: 128
48 | kelvin: 1500
49 | light.kitchen_1:
50 | state: on
51 | brightness: 128
52 | kelvin: 2200
53 | light.bedroom_4: off
54 | light.celing_panel_bedroom: off
55 | light.ceiling_panel: off
56 | light.living_room_couch: off
57 | light.living_room_normal_lights: off
58 | light.livingroom_plant: off
59 | light.computer_lamp: off
60 | light.office: off
61 | light.office_ceiling: off
62 | light.tv_light: off
63 | light.tv_lights: off
--------------------------------------------------------------------------------
/scenes/coming_home.yaml:
--------------------------------------------------------------------------------
1 | - name: Coming Home Day
2 | entities:
3 | light.living_room_under_couch:
4 | state: on
5 | brightness: 255
6 | kelvin: 2200
7 | transition: 10
8 | light.tv_light_bulb:
9 | state: on
10 | brightness: 255
11 | kelvin: 2200
12 | transition: 2
13 | light.ceiling_panel:
14 | state: on
15 | brightness: 50
16 | kelvin: 2700
17 | transition: 1
18 | light.kitchen_2:
19 | state: on
20 |
21 | - name: Coming Home Night
22 | entities:
23 | light.living_room_under_couch:
24 | state: on
25 | brightness: 128
26 | kelvin: 2200
27 | transition: 10
28 | light.tv_light_bulb:
29 | state: on
30 | brightness: 255
31 | kelvin: 2200
32 | transition: 2
33 | light.kitchen_2:
34 | state: on
35 | brightness: 255
36 | kelvin: 2200
37 | light.ceiling_panel: off
--------------------------------------------------------------------------------
/scripts.yaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/scripts.yaml
--------------------------------------------------------------------------------
/scripts/bathroom/thermostat.yaml:
--------------------------------------------------------------------------------
1 | bathroom_thermostat_plus_1:
2 | alias: Bathroom Thermostat +1
3 | sequence:
4 | - service: climate.set_temperature
5 | data_template:
6 | entity_id: climate.bathroomthermostat
7 | temperature: "{{ (state_attr('climate.bathroom', 'temperature')|round(0)) + 1 }}"
8 |
9 | bathroom_thermostat_minus_1:
10 | alias: Bathroom Thermostat -1
11 | sequence:
12 | - service: climate.set_temperature
13 | data_template:
14 | entity_id: climate.bathroomthermostat
15 | temperature: "{{ (state_attr('climate.bathroom', 'temperature')|round(0)) - 1 }}"
16 |
17 | bathroom_thermostat_set_25deg:
18 | alias: Bathroom Thermostat set 25 degrees
19 | sequence:
20 | - service: climate.set_temperature
21 | data_template:
22 | entity_id: climate.bathroomthermostat
23 | temperature: 25
--------------------------------------------------------------------------------
/scripts/bedroom_fan_google_home.yaml:
--------------------------------------------------------------------------------
1 | ####### Main timer script
2 | turn_off_bedroom_fan_timer:
3 | alias: 'Timer to turn off bedroom fan'
4 | sequence:
5 | - delay: '00:{{ time | int }}:00'
6 | - service: switch.turn_off
7 | data:
8 | entity_id: switch.bedroom_fan
9 |
10 | ####### Wrapper to start turn_off_bedroom_fan_timer with logic of cancel existing timer
11 | turn_off_bedroom_fan_timer_wrapper:
12 | alias: 'Timer to turn off bedroom fan - wrapper'
13 | sequence:
14 | - service: script.turn_off
15 | data:
16 | entity_id: script.turn_off_bedroom_fan_timer
17 | - delay: '00:00:01'
18 | - service: script.turn_off_bedroom_fan_timer
19 | data_template:
20 | time: '{{ time | int }}'
--------------------------------------------------------------------------------
/scripts/leaving_home.yaml:
--------------------------------------------------------------------------------
1 | leaving_home:
2 | alias: Leaving Home
3 | sequence:
4 | # - service: nuki.nuki_lock_n_go
5 | # data:
6 | # entity_id: lock.home
7 | # unlatch: false
8 | # - delay: 0
9 | - service: script.turn_on
10 | data:
11 | entity_id: script.leaving_home_lights_off
12 | - delay: 20
13 | - service: script.turn_on
14 | data:
15 | entity_id: script.leaving_home_lights_off
16 | # - service: script.turn_on
17 | # data:
18 | # entity_id: script.leaving_home_lights_on
--------------------------------------------------------------------------------
/scripts/leaving_home_lights_off.yaml:
--------------------------------------------------------------------------------
1 | leaving_home_lights_off:
2 | alias: Leaving Home Lights OFF
3 | sequence:
4 | - delay: 0
5 | - service: light.turn_off
6 | data:
7 | entity_id: all
8 | - service: fan.turn_off
9 | data:
10 | entity_id: fan.livingroom_fan
11 | - service: media_player.turn_off
12 | data:
13 | entity_id: media_player.bathroom
14 | - service: media_player.turn_off
15 | data:
16 | entity_id: media_player.bedroom_speaker
17 | - service: media_player.turn_off
18 | data:
19 | entity_id: media_player.home
20 | - service: media_player.turn_off
21 | data:
22 | entity_id: media_player.kd55x8505c
23 | - service: media_player.turn_off
24 | data:
25 | entity_id: media_player.living_room_home
26 | - service: media_player.turn_off
27 | data:
28 | entity_id: media_player.shield
29 | - service: switch.turn_off
30 | data:
31 | entity_id: switch.bedroom_fan
32 | - service: switch.turn_off
33 | data:
34 | entity_id: switch.bathroom_heater
35 | - service: switch.turn_off
36 | data:
37 | entity_id: switch.bedroom_alarmclock
38 | - service: remote.turn_off
39 | data:
40 | entity_id: remote.harmony_hub
--------------------------------------------------------------------------------
/scripts/leaving_home_lights_on.yaml:
--------------------------------------------------------------------------------
1 | leaving_home_lights_on:
2 | alias: Leaving Home Lights ON
3 | sequence:
4 | - condition: numeric_state
5 | entity_id: sensor.tsl2561_ambient_light
6 | below: 100
7 | - service: light.turn_on
8 | data:
9 | entity_id: light.outdoor_1
10 | - delay:
11 | minutes: 5
12 | - service: light.turn_off
13 | data:
14 | entity_id: light.outdoor_1
--------------------------------------------------------------------------------
/scripts/livingroom/fan/livingroom_fan.yaml:
--------------------------------------------------------------------------------
1 | livingroom_fan_on:
2 | alias: Living Room On
3 | sequence:
4 | - service: remote.send_command
5 | data:
6 | entity_id: remote.harmony_hub
7 | device: 54781398
8 | command: "FanLow"
9 | - service: input_boolean.turn_on
10 | data:
11 | entity_id: input_boolean.livingroom_fan
12 |
13 | livingroom_fan_off:
14 | alias: Living Room Off
15 | sequence:
16 | - service: remote.send_command
17 | data:
18 | entity_id: remote.harmony_hub
19 | device: 54781398
20 | command: "0"
21 | - service: input_boolean.turn_off
22 | data:
23 | entity_id: input_boolean.livingroom_fan
24 |
25 | livingroom_fan_speed:
26 | alias: Living Room Speed
27 | sequence:
28 | - service: remote.send_command
29 | data_template:
30 | entity_id: remote.harmony_hub
31 | device: 54781398
32 | command: "{{ speed }}"
33 | - service: input_select.select_option
34 | data_template:
35 | entity_id: input_select.livingroom_fan
36 | option: "{{ speed }}"
--------------------------------------------------------------------------------
/scripts/livingroom/harmony/harmony_fix_soundsystem.yaml:
--------------------------------------------------------------------------------
1 | harmony_fix_soundsystem_power:
2 | alias: Soundsystem Power
3 | sequence:
4 | - service: remote.send_command
5 | data:
6 | entity_id: remote.harmony_hub
7 | device: 53457724
8 | command: "PowerToggle"
9 |
10 | harmony_fix_soundsystem_input:
11 | alias: Soundsystem Input
12 | sequence:
13 | - service: remote.send_command
14 | data:
15 | entity_id: remote.harmony_hub
16 | device: 53457724
17 | command: "Source"
--------------------------------------------------------------------------------
/scripts/livingroom/thermostat.yaml:
--------------------------------------------------------------------------------
1 | livingroom_thermostat_plus_05:
2 | alias: Livingroom Thermostat +0.5
3 | sequence:
4 | - service: climate.set_temperature
5 | data_template:
6 | entity_id: climate.netatmo_living_room
7 | temperature: "{{ (state_attr('climate.netatmo_living_room', 'temperature')|round(1)) + 0.5 }}"
8 |
9 | livingroom_thermostat_minus_05:
10 | alias: Livingroom Thermostat -0.5
11 | sequence:
12 | - service: climate.set_temperature
13 | data_template:
14 | entity_id: climate.netatmo_living_room
15 | temperature: "{{ (state_attr('climate.netatmo_living_room', 'temperature')|round(1)) - 0.5 }}"
--------------------------------------------------------------------------------
/scripts/lock_unlock_night.yaml:
--------------------------------------------------------------------------------
1 | lock_unlock_night:
2 | # Follow up script for automatic lights when the lock is unlocked
3 | # should only execute if the sun is already below the horizon
4 | alias: Coming Home Lights for open Lock automation
5 | sequence:
6 | - condition: state # from sunset until sunrise
7 | entity_id: sun.sun
8 | state: 'below_horizon'
9 | - service: light.turn_on
10 | data:
11 | entity_id: light.outdoor_1
--------------------------------------------------------------------------------
/scripts/scenes/bed_youtube.yaml:
--------------------------------------------------------------------------------
1 | bed_youtube: # before sleep
2 | alias: Bed YouTube
3 | sequence:
4 | - service: light.turn_off
5 | entity_id: group.bed_youtube_off
6 | - service: light.turn_on
7 | entity_id: group.bed_youtube_on
8 | data:
9 | kelvin: 1000
10 | brightness_pct: 25
--------------------------------------------------------------------------------
/scripts/scenes/gaming.yaml:
--------------------------------------------------------------------------------
1 | gaming_light:
2 | alias: Gaming
3 | sequence:
4 | - service: light.turn_off
5 | entity_id: group.gaming_lights_off
6 | - service: light.turn_on
7 | entity_id: group.gaming_lights_on
--------------------------------------------------------------------------------
/scripts/scenes/good_night.yaml:
--------------------------------------------------------------------------------
1 | good_night:
2 | alias: Sleep
3 | sequence:
4 | # turn off all lights
5 | - service: light.turn_off
6 | data:
7 | entity_id: all
8 |
9 | # turn off all fans
10 | - service: fan.turn_off
11 | data:
12 | entity_id: group.all_fans
13 |
14 | # turn off TV
15 | - service: remote.turn_off
16 | data:
17 | entity_id: remote.harmony_hub
18 |
19 | # lock front door
20 | - service: lock.lock
21 | data:
22 | entity_id: lock.home
--------------------------------------------------------------------------------
/scripts/scenes/tv.yaml:
--------------------------------------------------------------------------------
1 | tv_light:
2 | alias: TV
3 | sequence:
4 | - service: light.turn_off
5 | entity_id: group.tv_lights_off
6 | - service: light.turn_on
7 | entity_id: group.tv_lights_on
--------------------------------------------------------------------------------
/scripts/tv.yaml:
--------------------------------------------------------------------------------
1 | tv_remote_volume_up:
2 | alias: Volume Up
3 | sequence:
4 | - service: remote.send_command
5 | data:
6 | entity_id: remote.harmony_hub
7 | device: 64024837
8 | command: VolumeUp
9 | delay_secs: 0.25
10 |
11 | tv_remote_volume_down:
12 | alias: Volume Down
13 | sequence:
14 | - service: remote.send_command
15 | data:
16 | entity_id: remote.harmony_hub
17 | device: 64024837
18 | command: VolumeDown
19 | delay_secs: 0.25
20 |
21 | pause_tv:
22 | alias: Pause TV
23 | sequence:
24 | - service: remote.send_command
25 | data:
26 | entity_id: remote.harmony_hub
27 | device: 53457708
28 | command: Pause
29 |
30 | unpause_tv:
31 | alias: Unpause TV
32 | sequence:
33 | - service: remote.send_command
34 | data:
35 | entity_id: remote.harmony_hub
36 | device: 53457708
37 | command: Play
--------------------------------------------------------------------------------
/scripts/wake_on_lan/pc.yaml:
--------------------------------------------------------------------------------
1 | wol_pc:
2 | sequence:
3 | - service: wake_on_lan.send_magic_packet
4 | data:
5 | mac: 6045CB5E6CA0
6 |
--------------------------------------------------------------------------------
/scripts/walk_to_bathroom.yaml:
--------------------------------------------------------------------------------
1 | walk_to_bathroom:
2 | sequence:
3 | - service: light.turn_on
4 | data:
5 | entity_id: light.bedroom_4
6 | brightness: 64
7 | kelvin: 2200
8 | - service: light.turn_on
9 | data:
10 | entity_id: light.living_room_under_couch
11 | brightness: 64
12 | kelvin: 2200
13 | - service: light.turn_on
14 | data:
15 | entity_id: light.kitchen_1
16 | brightness: 64
17 | kelvin: 2200
18 | - service: light.turn_on
19 | data:
20 | entity_id: light.bathroom_ceiling
21 | brightness: 32
22 | kelvin: 2200
23 |
24 | walk_to_bathroom_off:
25 | sequence:
26 | - service: light.turn_on
27 | data:
28 | entity_id: light.bedroom_4
29 | brightness: 64
30 | kelvin: 2200
31 | - service: light.turn_off
32 | data:
33 | entity_id: light.bedroom_4
34 | - service: light.turn_on
35 | data:
36 | entity_id: light.living_room_under_couch
37 | brightness: 255
38 | kelvin: 2200
39 | - service: light.turn_off
40 | data:
41 | entity_id: light.living_room_under_couch
42 | - service: light.turn_on
43 | data:
44 | entity_id: light.kitchen_1
45 | brightness: 255
46 | kelvin: 2200
47 | - service: light.turn_off
48 | data:
49 | entity_id: light.kitchen_1
50 | - service: light.turn_on
51 | data:
52 | entity_id: light.bathroom_ceiling
53 | brightness: 255
54 | kelvin: 2200
55 | - service: light.turn_off
56 | data:
57 | entity_id: light.bathroom_ceiling
--------------------------------------------------------------------------------
/sensors/apartment_temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | apartment_temperature:
4 | friendly_name: "Apartment Temperature"
5 | unit_of_measurement: "°C"
6 | value_template: >-
7 | {% if states.climate.bathroomthermostat
8 | and states.climate.kitchenthermometer
9 | and states.climate.netatmo_living_room
10 | and states.sensor.livingroom_temperature_couch
11 | and states.sensor.netatmo_office_temperature
12 | and states.sensor.netatmo_bedroom_temperature
13 | %}
14 | {{
15 | (
16 | (
17 | (
18 | (states.climate.bathroomthermostat.attributes.current_temperature | float * 1.5)
19 | +(states.climate.kitchenthermometer.attributes.current_temperature | float * 0.5)
20 | +(states.climate.netatmo_living_room.attributes.current_temperature | float * 2)
21 | +(states.sensor.livingroom_temperature_couch.state | float * 0.1)
22 | +(states.sensor.netatmo_office_temperature.state | float * 0.25)
23 | +(states.sensor.netatmo_bedroom_temperature.state | float * 2)
24 | ) / 6.35
25 | ) | float
26 | ) | round(1)
27 | }}
28 | {% else %}
29 | false
30 | {% endif %}
--------------------------------------------------------------------------------
/sensors/darksky.yaml:
--------------------------------------------------------------------------------
1 | platform: darksky
2 | api_key: !secret darksky_api_key
3 | monitored_conditions:
4 | - summary
5 | - wind_speed
6 | - wind_bearing
7 | - cloud_cover
8 | - visibility
9 | - ozone
10 | - temperature_high
11 | - temperature_low
12 | - precip_type
13 | - precip_intensity
14 | - precip_probability
15 | - precip_accumulation
16 | - temperature
17 | - apparent_temperature
18 | - dew_point
19 | - humidity
20 | - pressure
21 | - minutely_summary
22 | - hourly_summary
23 | - daily_summary
24 | - apparent_temperature_high
25 | - apparent_temperature_low
26 | - precip_intensity_max
27 | - uv_index
28 | - moon_phase
--------------------------------------------------------------------------------
/sensors/grid_frequency.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "grid/frequency"
3 | name: Grid Frequency
4 | unit_of_measurement: "Hz"
--------------------------------------------------------------------------------
/sensors/grid_frequency.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "grid/frequency"
3 | name: Grid Frequency
4 | unit_of_measurement: "Hz"
--------------------------------------------------------------------------------
/sensors/grid_power_switzerland.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "grid/powerusage/ch"
3 | name: Power Usage Switzerland
4 | unit_of_measurement: "W"
--------------------------------------------------------------------------------
/sensors/hydro/bern.yaml:
--------------------------------------------------------------------------------
1 | platform: swiss_hydrological_data
2 | station: 2135
3 | monitored_conditions:
4 | - temperature
5 | - level
6 | - discharge
--------------------------------------------------------------------------------
/sensors/hydro/bern/danger_level.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/danger/level"
3 | name: Aare Bern Danger level
--------------------------------------------------------------------------------
/sensors/hydro/bern/danger_level.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/danger/level"
3 | name: Aare Bern Danger level
--------------------------------------------------------------------------------
/sensors/hydro/bern/discharge.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/abfluss/last"
3 | name: Aare Bern Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/bern/discharge.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/abfluss/last"
3 | name: Aare Bern Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/bern/temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/temperatur/last"
3 | name: Aare Bern Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/bern/temperature.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/temperatur/last"
3 | name: Aare Bern Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/bern/waterlevel.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/wasserstand/last"
3 | name: Aare Bern Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/bern/waterlevel.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/bern/wasserstand/last"
3 | name: Aare Bern Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler.yaml:
--------------------------------------------------------------------------------
1 | platform: swiss_hydrological_data
2 | station: 2019
3 | monitored_conditions:
4 | - temperature
5 | - level
6 | - discharge
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/danger_level.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/danger/level"
3 | name: Aare Brienzwiler Danger level
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/danger_level.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/danger/level"
3 | name: Aare Brienzwiler Danger level
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/discharge.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/abfluss/last"
3 | name: Aare Brienzwiler Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/discharge.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/abfluss/last"
3 | name: Aare Brienzwiler Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/temperatur/last"
3 | name: Aare Brienzwiler Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/temperature.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/temperatur/last"
3 | name: Aare Brienzwiler Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/waterlevel.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/wasserstand/last"
3 | name: Aare Brienzwiler Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/brienzwiler/waterlevel.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/brienzwiler/wasserstand/last"
3 | name: Aare Brienzwiler Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg.yaml:
--------------------------------------------------------------------------------
1 | platform: swiss_hydrological_data
2 | station: 2457
3 | monitored_conditions:
4 | - temperature
5 | - level
6 | - discharge
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/danger_level.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/danger/level"
3 | name: Aare Ringgenberg Danger level
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/danger_level.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/danger/level"
3 | name: Aare Ringgenberg Danger level
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/discharge.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/abfluss/last"
3 | name: Aare Ringgenberg Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/discharge.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/abfluss/last"
3 | name: Aare Ringgenberg Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/temperatur/last"
3 | name: Aare Ringgenberg Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/temperature.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/temperatur/last"
3 | name: Aare Ringgenberg Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/waterlevel.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/wasserstand/last"
3 | name: Aare Ringgenberg Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/ringgenberg/waterlevel.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/ringgenberg/wasserstand/last"
3 | name: Aare Ringgenberg Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/thun.yaml:
--------------------------------------------------------------------------------
1 | platform: swiss_hydrological_data
2 | station: 2030
3 | monitored_conditions:
4 | - temperature
5 | - level
6 | - discharge
--------------------------------------------------------------------------------
/sensors/hydro/thun/danger_level.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/danger/level"
3 | name: Aare Thun Danger level
--------------------------------------------------------------------------------
/sensors/hydro/thun/danger_level.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/danger/level"
3 | name: Aare Thun Danger level
--------------------------------------------------------------------------------
/sensors/hydro/thun/discharge.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/abfluss/last"
3 | name: Aare Thun Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/thun/discharge.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/abfluss/last"
3 | name: Aare Thun Discharge
4 | unit_of_measurement: m3/s
--------------------------------------------------------------------------------
/sensors/hydro/thun/temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/temperatur/last"
3 | name: Aare Thun Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/thun/temperature.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/temperatur/last"
3 | name: Aare Thun Temperature
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/hydro/thun/thun.yaml:
--------------------------------------------------------------------------------
1 | platform: swiss_hydrological_data
2 | station: 2030
3 | monitored_conditions:
4 | - temperature
5 | - level
6 | - discharge
--------------------------------------------------------------------------------
/sensors/hydro/thun/waterlevel.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/wasserstand/last"
3 | name: Aare Thun Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/hydro/thun/waterlevel.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "hydro/thun/wasserstand/last"
3 | name: Aare Thun Waterlevel
4 | unit_of_measurement: m ü.M
--------------------------------------------------------------------------------
/sensors/mold/bathroom_mold.yaml:
--------------------------------------------------------------------------------
1 | platform: mold_indicator
2 | name: Bathroom Mold Sensor
3 | indoor_temp_sensor: sensor.bathroom_temperature
4 | indoor_humidity_sensor: sensor.bathroomthermostat_humidity
5 | outdoor_temp_sensor: sensor.netatmo_outdoormodule_temperature
6 | calibration_factor: 1.5
7 |
8 | # calibration_factor = (temp_indoor - temp_outdoor) / (temp_criticalpoint - temp_outdoor)
9 |
10 | # sensor.kitchen_temperature
11 | # sensor.kitchenthermometer_humidity
12 |
13 | # sensor.living_room_humidity
14 | # sensor.living_room_temperature
15 | # sensor.netatmo_thermostat_temperature
16 |
17 | # sensor.netatmo_bedroom_humidity
18 | # sensor.netatmo_bedroom_temperature
19 |
20 | # sensor.bathroomthermostat_humidity
21 | # sensor.bathroom_temperature
22 |
23 | # sensor.netatmo_outdoormodule_temperature
--------------------------------------------------------------------------------
/sensors/mold/bedroom_mold.yaml:
--------------------------------------------------------------------------------
1 | platform: mold_indicator
2 | name: Bedroom Mold Sensor
3 | indoor_temp_sensor: sensor.netatmo_bedroom_temperature
4 | indoor_humidity_sensor: sensor.netatmo_bedroom_humidity
5 | outdoor_temp_sensor: sensor.netatmo_outdoormodule_temperature
6 | calibration_factor: 1.5
7 |
8 | # calibration_factor = (temp_indoor - temp_outdoor) / (temp_criticalpoint - temp_outdoor)
9 |
10 | # sensor.kitchen_temperature
11 | # sensor.kitchenthermometer_humidity
12 |
13 | # sensor.living_room_humidity
14 | # sensor.living_room_temperature
15 | # sensor.netatmo_thermostat_temperature
16 |
17 | # sensor.netatmo_bedroom_humidity
18 | # sensor.netatmo_bedroom_temperature
19 |
20 | # sensor.bathroomthermostat_humidity
21 | # sensor.bathroom_temperature
22 |
23 | # sensor.netatmo_outdoormodule_temperature
--------------------------------------------------------------------------------
/sensors/mold/calibration_formula.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/sensors/mold/calibration_formula.xlsx
--------------------------------------------------------------------------------
/sensors/mold/kitchen_mold.yaml:
--------------------------------------------------------------------------------
1 | platform: mold_indicator
2 | name: Kitchen Mold Sensor
3 | indoor_temp_sensor: sensor.kitchen_temperature
4 | indoor_humidity_sensor: sensor.kitchenthermometer_humidity
5 | outdoor_temp_sensor: sensor.netatmo_outdoormodule_temperature
6 | calibration_factor: 1.5
7 |
8 | # calibration_factor = (temp_indoor - temp_outdoor) / (temp_criticalpoint - temp_outdoor)
9 |
10 | # sensor.kitchen_temperature
11 | # sensor.kitchenthermometer_humidity
12 |
13 | # sensor.living_room_humidity
14 | # sensor.living_room_temperature
15 | # sensor.netatmo_thermostat_temperature
16 |
17 | # sensor.netatmo_bedroom_humidity
18 | # sensor.netatmo_bedroom_temperature
19 |
20 | # sensor.bathroomthermostat_humidity
21 | # sensor.bathroom_temperature
22 |
23 | # sensor.netatmo_outdoormodule_temperature
--------------------------------------------------------------------------------
/sensors/mold/livingroom_mold.yaml:
--------------------------------------------------------------------------------
1 | platform: mold_indicator
2 | name: Livingroom Mold Sensor
3 | indoor_temp_sensor: sensor.netatmo_thermostat_temperature
4 | indoor_humidity_sensor: sensor.living_room_humidity
5 | outdoor_temp_sensor: sensor.netatmo_outdoormodule_temperature
6 | calibration_factor: 1.5
7 |
8 | # calibration_factor = (temp_indoor - temp_outdoor) / (temp_criticalpoint - temp_outdoor)
9 |
10 | # sensor.kitchen_temperature
11 | # sensor.kitchenthermometer_humidity
12 |
13 | # sensor.living_room_humidity
14 | # sensor.living_room_temperature
15 | # sensor.netatmo_thermostat_temperature
16 |
17 | # sensor.netatmo_bedroom_humidity
18 | # sensor.netatmo_bedroom_temperature
19 |
20 | # sensor.bathroomthermostat_humidity
21 | # sensor.bathroom_temperature
22 |
23 | # sensor.netatmo_outdoormodule_temperature
--------------------------------------------------------------------------------
/sensors/mold/office_mold.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mold_indicator
2 | name: Office Mold Sensor
3 | indoor_temp_sensor: sensor
4 | indoor_humidity_sensor: sensor
5 | outdoor_temp_sensor: sensor.netatmo_outdoormodule_temperature
6 | calibration_factor: 1.5
7 |
8 | # calibration_factor = (temp_indoor - temp_outdoor) / (temp_criticalpoint - temp_outdoor)
9 |
10 | # sensor.kitchen_temperature
11 | # sensor.kitchenthermometer_humidity
12 |
13 | # sensor.living_room_humidity
14 | # sensor.living_room_temperature
15 | # sensor.netatmo_thermostat_temperature
16 |
17 | # sensor.netatmo_bedroom_humidity
18 | # sensor.netatmo_bedroom_temperature
19 |
20 | # sensor.bathroomthermostat_humidity
21 | # sensor.bathroom_temperature
22 |
23 | # sensor.netatmo_outdoormodule_temperature
--------------------------------------------------------------------------------
/sensors/mqtt/happyBubbles.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt_room
2 | name: "Backpack"
3 | device_id: 50765cb7d9ea4e2199a4fa879613a492_c51f_29b1
4 | state_topic: "happy-bubbles/presence/ha"
5 | timeout: 5
6 | away_timeout: 60
--------------------------------------------------------------------------------
/sensors/mqtt/steff_phone.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Steff Phone Status"
3 | state_topic: "dev/pixel2/status"
4 | value_template: '{{ value_json.batt }}'
5 | unit_of_measurement: "%"
6 | # json_attributes:
7 | # - memory
8 | # - pressure
--------------------------------------------------------------------------------
/sensors/mqtt/work/finanzverwalterHumidity.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Finanzverwalter Humidity"
3 | state_topic: "finanzverwalter/sensor/multisensor_humidity/state"
4 | qos: 1
5 | unit_of_measurement: "%"
--------------------------------------------------------------------------------
/sensors/mqtt/work/finanzverwalterTemp.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Finanzverwalter Temperature"
3 | state_topic: "finanzverwalter/sensor/multisensor_temperature/state"
4 | qos: 1
5 | unit_of_measurement: "°C"
--------------------------------------------------------------------------------
/sensors/mqtt/work/gemeindeschreiberinHumidity.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Gemeindeschreiberin Humidity"
3 | state_topic: "gemeindeschreiberin/sensor/multisensor_humidity/state"
4 | qos: 1
5 | unit_of_measurement: "%"
--------------------------------------------------------------------------------
/sensors/mqtt/work/gemeindeschreiberinTemp.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Gemeindeschreiberin Temperature"
3 | state_topic: "gemeindeschreiberin/sensor/multisensor_temperature/state"
4 | qos: 1
5 | unit_of_measurement: "°C"
--------------------------------------------------------------------------------
/sensors/mqtt/work/informatikHumidity.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Informatik Humidity"
3 | state_topic: "informatik/sensor/multisensor_humidity/state"
4 | qos: 1
5 | unit_of_measurement: "%"
--------------------------------------------------------------------------------
/sensors/mqtt/work/informatikTemp.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Informatik Temperature"
3 | state_topic: "informatik/sensor/multisensor_temperature/state"
4 | qos: 1
5 | unit_of_measurement: "°C"
--------------------------------------------------------------------------------
/sensors/mqtt/work/workHumidity.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Work Humidity"
3 | state_topic: "dev/arduino/sensor01/humidity"
4 | qos: 1
5 | unit_of_measurement: "%"
6 | value_template: '{{ value | round(1) }}'
--------------------------------------------------------------------------------
/sensors/mqtt/work/workTemp.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Work Temperature"
3 | state_topic: "dev/arduino/sensor01/temperature"
4 | qos: 1
5 | unit_of_measurement: "°C"
6 | value_template: '{{ value | round(1) }}'
--------------------------------------------------------------------------------
/sensors/myip.yaml:
--------------------------------------------------------------------------------
1 | platform: dnsip
--------------------------------------------------------------------------------
/sensors/myswitch/bathroom_heater.yaml:
--------------------------------------------------------------------------------
1 | platform: rest
2 | resource: http://192.168.1.65/report
3 | name: myStrom Bathroom Heater
4 | value_template: '{{ value_json.power|float / 1000|round(3) }}'
5 | unit_of_measurement: "kW"
--------------------------------------------------------------------------------
/sensors/myswitch/combined.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | mystrom_combined:
4 | friendly_name: "myStrom combined"
5 | value_template: "
6 | {{
7 | states('sensor.mystrom_bathroom_heater')|float|round(3) +
8 | states('sensor.mystrom_computer')|float/1000|round(3) +
9 | states('sensor.mystrom_tv')|float/1000|round(3)
10 | }}
11 | "
12 | unit_of_measurement: "kW"
--------------------------------------------------------------------------------
/sensors/myswitch/computer.yaml:
--------------------------------------------------------------------------------
1 | platform: rest
2 | resource: http://192.168.1.70/report
3 | name: myStrom Computer
4 | value_template: '{{ value_json.power|float|round(2) }}'
5 | unit_of_measurement: "W"
--------------------------------------------------------------------------------
/sensors/myswitch/server.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: rest
2 | resource: http://192.168.1.75/report
3 | name: myStrom Server
4 | value_template: '{{ value_json.power|float|round(2) }}'
5 | unit_of_measurement: "W"
--------------------------------------------------------------------------------
/sensors/myswitch/tv.yaml:
--------------------------------------------------------------------------------
1 | platform: rest
2 | resource: http://192.168.1.66/report
3 | name: myStrom TV
4 | value_template: '{{ value_json.power|float|round(2) }}'
5 | unit_of_measurement: "W"
--------------------------------------------------------------------------------
/sensors/netatmo_weather.yaml:
--------------------------------------------------------------------------------
1 | platform: netatmo
2 | station: Home
3 | modules:
4 | - Bedroom
5 | - Office
6 | - OutdoorModule
--------------------------------------------------------------------------------
/sensors/phone/battery.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | steff_phone_battery:
4 | friendly_name: Steff Phone Battery
5 | unit_of_measurement: '%'
6 | value_template: '{{ states("input_number.phone_status_battery")|round }}'
--------------------------------------------------------------------------------
/sensors/phone/battery.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: template
2 | friendly_name: Steff Phone Battery
3 | unit_of_measurement: '%'
4 | value_template: '{{ value_json.batt|round }}'
5 | icon_template: '{%if value_json.batt <= 5 %}mdi:battery-outline{%- elif value_json.batt >= 95 %}mdi:battery{% else %}mdi:battery-{{(value_json.batt|float / 10)|round*10}}{%- endif %}'
--------------------------------------------------------------------------------
/sensors/phone/pressure.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | steff_phone_pressure:
4 | friendly_name: Steff Phone Pressure
5 | unit_of_measurement: 'kPa'
6 | value_template: '{{ states("input_number.phone_status_pressure")|round }}'
--------------------------------------------------------------------------------
/sensors/phone/steff_phone.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: template
2 | friendly_name: Steff Phone Battery
3 | unit_of_measurement: '%'
4 | value_template: '{{ value_json.batt|round }}'
5 | icon_template: '{%if value_json.batt <= 5 %}mdi:battery-outline{%- elif value_json.batt >= 95 %}mdi:battery{% else %}mdi:battery-{{(value_json.batt|float / 10)|round*10}}{%- endif %}'
--------------------------------------------------------------------------------
/sensors/rooms/bathroom/thermostat.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | bathroom_temperature:
4 | friendly_name: "Bathroom Temperature"
5 | unit_of_measurement: "°C"
6 | value_template: >-
7 | {% if states.climate.bathroomthermostat %}
8 | {{ states.climate.bathroomthermostat.attributes.current_temperature | float | round(1) }}
9 | {% else %}
10 | false
11 | {% endif %}
12 | bathroom_set_temperature:
13 | friendly_name: "Bathroom Set Temperature"
14 | unit_of_measurement: "°C"
15 | value_template: >-
16 | {% if states.climate.bathroomthermostat %}
17 | {{ states.climate.bathroomthermostat.attributes.temperature | float | round(1) }}
18 | {% else %}
19 | false
20 | {% endif %}
21 | bathroom_climate_thermostat_ha_set_temperature:
22 | friendly_name: "Bathroom HA Set Temperature"
23 | unit_of_measurement: "°C"
24 | value_template: >-
25 | {% if states.climate.bathroom %}
26 | {{ states.climate.bathroom.attributes.temperature | float | round(1) }}
27 | {% else %}
28 | false
29 | {% endif %}
--------------------------------------------------------------------------------
/sensors/rooms/bedroom/bed_sensor.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | bed_sensor_kg:
4 | friendly_name: "Bed Weight"
5 | unit_of_measurement: "kg"
6 | value_template: "{{ float(states('sensor.hx711_bed_sensor'))-25161788 }}"
--------------------------------------------------------------------------------
/sensors/rooms/kitchen/thermometer.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | kitchen_temperature:
4 | friendly_name: "Kitchen Temperature"
5 | unit_of_measurement: "°C"
6 | value_template: >-
7 | {% if states.climate.kitchenthermometer %}
8 | {{ states.climate.kitchenthermometer.attributes.current_temperature | float | round(1) }}
9 | {% else %}
10 | false
11 | {% endif %}
--------------------------------------------------------------------------------
/sensors/rooms/livingroom/dyson_fan.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | dyson_livingroom_aqi:
4 | friendly_name: "Living Room AQI"
5 | value_template: "{{ states('sensor.living_room_aqi')|float|round(1) }}"
6 | icon_template: "mdi:fan"
7 | dyson_livingroom_dust:
8 | friendly_name: "Living Room Dust"
9 | value_template: "{{ states('sensor.living_room_dust')|float|round(1) }}"
10 | icon_template: "mdi:cloud"
--------------------------------------------------------------------------------
/sensors/rooms/livingroom/livingroom_myswitch_temperatur.yaml:
--------------------------------------------------------------------------------
1 | platform: rest
2 | name: "Livingroom Temperature Couch"
3 | resource: http://192.168.1.72/temp
4 | value_template: '{{ value_json.compensated | round(1) }}'
5 | unit_of_measurement: "°C"
6 | json_attributes:
7 | - measured
8 | - compensation
--------------------------------------------------------------------------------
/sensors/rooms/livingroom/livingroom_myswitch_temperatur.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: rest
2 | name: "Livingroom Temperature Couch"
3 | resource: http://192.168.1.72/temp
4 | value_template: '{{ value_json.compensated | round(1) }}'
5 | unit_of_measurement: "°C"
6 | #json_attributes:
7 | # - measured
8 | # - compensation
--------------------------------------------------------------------------------
/sensors/rooms/livingroom/netatmo_thermostat.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | netatmo_thermostat_temperature:
4 | friendly_name: "Living Room Temperature"
5 | unit_of_measurement: "°C"
6 | value_template: "{{ states.climate.netatmo_living_room.attributes.current_temperature|float }}"
7 | icon_template: "mdi:thermometer"
--------------------------------------------------------------------------------
/sensors/rooms/livingroom/planter_lamp_ontime.yaml:
--------------------------------------------------------------------------------
1 | platform: history_stats
2 | name: "Planter Lamp Ontime"
3 | entity_id: switch.ikea_planter
4 | state: 'on'
5 | type: time
6 | start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
7 | end: '{{ now() }}'
--------------------------------------------------------------------------------
/sensors/rooms/livingroom/planter_lamp_ontime.yaml.diabled:
--------------------------------------------------------------------------------
1 | platform: history_stats
2 | name: "Planter Lamp Ontime"
3 | entity_id: switch.ikea_planter
4 | state: 'on'
5 | type: time
6 | start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
7 | end: '{{ now() }}'
--------------------------------------------------------------------------------
/sensors/rooms/office/hp_ilo.yaml:
--------------------------------------------------------------------------------
1 | platform: hp_ilo
2 | host: !secret hp_host
3 | username: !secret hp_username
4 | password: !secret hp_password
5 | monitored_variables:
6 | - name: CPU fanspeed
7 | sensor_type: server_health
8 | unit_of_measurement: '%'
9 | value_template: '{{ ilo_data.fans["Fan 1"].speed[0] }}'
10 | - name: Inlet temperature
11 | sensor_type: server_health
12 | unit_of_measurement: '°C'
13 | value_template: '{{ ilo_data.temperature["01-Inlet Ambient"].currentreading[0] }}'
14 | - name: CPU temperature
15 | sensor_type: server_health
16 | unit_of_measurement: '°C'
17 | value_template: '{{ ilo_data.temperature["02-CPU"].currentreading[0] }}'
--------------------------------------------------------------------------------
/sensors/rooms/office/hp_ilo.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: hp_ilo
2 | host: !secret hp_host
3 | username: !secret hp_username
4 | password: !secret hp_password
5 | monitored_variables:
6 | - name: CPU fanspeed
7 | sensor_type: server_health
8 | unit_of_measurement: '%'
9 | value_template: '{{ ilo_data.fans["Fan 1"].speed[0] }}'
10 | - name: Inlet temperature
11 | sensor_type: server_health
12 | unit_of_measurement: '°C'
13 | value_template: '{{ ilo_data.temperature["01-Inlet Ambient"].currentreading[0] }}'
14 | - name: CPU temperature
15 | sensor_type: server_health
16 | unit_of_measurement: '°C'
17 | value_template: '{{ ilo_data.temperature["02-CPU"].currentreading[0] }}'
--------------------------------------------------------------------------------
/sensors/rooms/office/octopi.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: octoprint
2 | name: OctoPrint
3 | monitored_conditions:
4 | - Current State
5 | - Temperatures
6 | - Job Percentage
--------------------------------------------------------------------------------
/sensors/rooms/office/synology_nas.yaml:
--------------------------------------------------------------------------------
1 | platform: synologydsm
2 | host: !secret synology_host
3 | username: !secret synology_username
4 | password: !secret synology_password
5 | monitored_conditions:
6 | - cpu_total_load
7 | - memory_real_usage
8 | - volume_percentage_used
9 | - volume_status
10 | - volume_disk_temp_avg
11 | - volume_disk_temp_max
--------------------------------------------------------------------------------
/sensors/rooms/office/synology_nas.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: synologydsm
2 | host: !secret synology_host
3 | username: !secret synology_username
4 | password: !secret synology_password
5 | monitored_conditions:
6 | - cpu_total_load
7 | - memory_real_usage
8 | - volume_percentage_used
9 | - volume_status
10 | - volume_disk_temp_avg
11 | - volume_disk_temp_max
--------------------------------------------------------------------------------
/sensors/season_astronomical.yaml:
--------------------------------------------------------------------------------
1 | platform: season
2 | type: astronomical
--------------------------------------------------------------------------------
/sensors/steff_home_stats.yaml:
--------------------------------------------------------------------------------
1 | platform: history_stats
2 | name: "Steff at Home"
3 | entity_id: device_tracker.steff_phone_pixel
4 | state: 'home'
5 | type: time
6 | start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
7 | end: '{{ now() }}'
--------------------------------------------------------------------------------
/sensors/steff_not_athome_stats.yaml:
--------------------------------------------------------------------------------
1 | platform: history_stats
2 | name: "Steff not at Home"
3 | entity_id: device_tracker.steff_phone_pixel
4 | state: 'not_home'
5 | type: time
6 | start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
7 | end: '{{ now() }}'
--------------------------------------------------------------------------------
/sensors/weather/axalp/weather/humidity.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/axalp/humidity"
3 | name: Axalp Humidity
--------------------------------------------------------------------------------
/sensors/weather/axalp/weather/humidity.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/axalp/humidity"
3 | name: Axalp Humidity
--------------------------------------------------------------------------------
/sensors/weather/axalp/weather/pressure.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/axalp/pressure"
3 | name: Axalp Pressure
--------------------------------------------------------------------------------
/sensors/weather/axalp/weather/pressure.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/axalp/pressure"
3 | name: Axalp Pressure
--------------------------------------------------------------------------------
/sensors/weather/axalp/weather/temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/axalp/temperature"
3 | name: Axalp Temperature
--------------------------------------------------------------------------------
/sensors/weather/axalp/weather/temperature.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/axalp/temperature"
3 | name: Axalp Temperature
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/dewpoint.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/temperature/dewpoint"
3 | name: Temperature Brienz Dewpoint
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/rain.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/rain/today"
3 | name: Rain Today Brienz
4 | unit_of_measurement: mm
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/temperature/now"
3 | name: Temperature Brienz
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/windchill.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/temperature/feelslike"
3 | name: Temperature Brienz Windchill
4 | unit_of_measurement: °C
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/winddirection.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/wind/direction"
3 | name: Wind Direction Brienz
4 | unit_of_measurement: "°"
5 | value_template: "{{ value|float }}"
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/windspeed.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/wind/speed"
3 | name: Windspeed Brienz
4 | unit_of_measurement: m/s
--------------------------------------------------------------------------------
/sensors/weather/brienzfw/windspeedmax.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/brienzfw/wind/maxspeed"
3 | name: Windspeed Brienz Guests
4 | unit_of_measurement: "m/s"
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/amount.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/amount"
3 | name: Snow Height Axalp
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/amount.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/amount"
3 | name: Snow Height Axalp
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/lastsnow.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/lastsnow"
3 | name: Last Snowfall Axalp
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/lastsnow.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/lastsnow"
3 | name: Last Snowfall Axalp
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/lifts.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/lifts"
3 | name: Lifts open Axalp
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/lifts.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/lifts"
3 | name: Lifts open Axalp
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/newsnow24h.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/newsnow24h"
3 | name: Snowfall 24h Axalp
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/newsnow24h.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/newsnow24h"
3 | name: Snowfall 24h Axalp
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/pistes.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/pistes"
3 | name: Pistes open Axalp
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/pistes.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/pistes"
3 | name: Pistes open Axalp
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/status.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/status"
3 | name: Snow Status Axalp
--------------------------------------------------------------------------------
/sensors/weather/snow/axalp/status.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/axalp/status"
3 | name: Snow Status Axalp
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/amount.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/amount"
3 | name: Snow Height Grindelwald
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/amount.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/amount"
3 | name: Snow Height Grindelwald
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/lastsnow.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/lastsnow"
3 | name: Last Snowfall Grindelwald
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/lastsnow.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/lastsnow"
3 | name: Last Snowfall Grindelwald
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/lifts.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/lifts"
3 | name: Lifts open Grindelwald
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/lifts.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/lifts"
3 | name: Lifts open Grindelwald
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/newsnow24h.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/newsnow24h"
3 | name: Snowfall 24h Grindelwald
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/newsnow24h.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/newsnow24h"
3 | name: Snowfall 24h Grindelwald
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/pistes.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/pistes"
3 | name: Pistes open Grindelwald
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/pistes.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/pistes"
3 | name: Pistes open Grindelwald
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/status.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/status"
3 | name: Snow Status Grindelwald
--------------------------------------------------------------------------------
/sensors/weather/snow/grindelwald/status.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/status"
3 | name: Snow Status Grindelwald
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/amount.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/amount"
3 | name: Snow Height Jungfrauregion
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/amount.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/grindelwald/amount"
3 | name: Snow Height Jungfrauregion
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/lastsnow.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/lastsnow"
3 | name: Last Snowfall Jungfrauregion
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/lastsnow.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/lastsnow"
3 | name: Last Snowfall Jungfrauregion
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/lifts.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/lifts"
3 | name: Lifts open Jungfrauregion
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/lifts.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/lifts"
3 | name: Lifts open Jungfrauregion
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/newsnow24h.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/newsnow24h"
3 | name: Snowfall 24h Jungfrauregion
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/newsnow24h.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/newsnow24h"
3 | name: Snowfall 24h Jungfrauregion
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/pistes.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/pistes"
3 | name: Pistes open Jungfrauregion
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/pistes.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/pistes"
3 | name: Pistes open Jungfrauregion
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/status.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/status"
3 | name: Snow Status Jungfrauregion
--------------------------------------------------------------------------------
/sensors/weather/snow/jungfrauregion/status.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/jungfrauregion/status"
3 | name: Snow Status Jungfrauregion
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/amount.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/amount"
3 | name: Snow Height Schilthorn
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/amount.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/amount"
3 | name: Snow Height Schilthorn
4 | unit_of_measurement: cm
5 | icon: mdi:snowflake
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/lastsnow.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/lastsnow"
3 | name: Last Snowfall Schilthorn
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/lastsnow.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/lastsnow"
3 | name: Last Snowfall Schilthorn
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/lifts.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/lifts"
3 | name: Lifts open Schilthorn
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/lifts.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/lifts"
3 | name: Lifts open Schilthorn
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/newsnow24h.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/newsnow24h"
3 | name: Snowfall 24h Schilthorn
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/newsnow24h.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/newsnow24h"
3 | name: Snowfall 24h Schilthorn
4 | unit_of_measurement: cm
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/pistes.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/pistes"
3 | name: Pistes open Schilthorn
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/pistes.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/pistes"
3 | name: Pistes open Schilthorn
4 | unit_of_measurement: km
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/status.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/status"
3 | name: Snow Status Schilthorn
--------------------------------------------------------------------------------
/sensors/weather/snow/schilthorn/status.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "snow/schilthorn/status"
3 | name: Snow Status Schilthorn
--------------------------------------------------------------------------------
/sensors/weather/thunluft/feinstaub_pm10.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/thunluft/feinstaub"
3 | name: "Feinstaub (PM10) Thun"
4 | unit_of_measurement: "µg/m³"
--------------------------------------------------------------------------------
/sensors/weather/thunluft/feinstaub_pm10.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/thunluft/feinstaub"
3 | name: "Feinstaub (PM10) Thun"
4 | unit_of_measurement: "µg/m³"
--------------------------------------------------------------------------------
/sensors/weather/thunluft/ozon.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/thunluft/ozon"
3 | name: "Ozon (O₃) Thun"
4 | unit_of_measurement: "µg/m³"
--------------------------------------------------------------------------------
/sensors/weather/thunluft/ozon.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/thunluft/ozon"
3 | name: "Ozon (O₃) Thun"
4 | unit_of_measurement: "µg/m³"
--------------------------------------------------------------------------------
/sensors/weather/thunluft/scrape/stickstoffdioxid.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: scrape
2 | resource: http://www.netzfrequenzmessung.de/frequenz9.php
3 | name: Release
4 | # name: "Stickstoffdioxid (NO₂) Thun (scrape)"
5 | select: 'r > f'
6 | unit_of_measurement: "Hz"
--------------------------------------------------------------------------------
/sensors/weather/thunluft/stickstoffdioxid.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/thunluft/stickstoff"
3 | name: "Stickstoffdioxid (NO₂) Thun"
4 | unit_of_measurement: "µg/m³"
--------------------------------------------------------------------------------
/sensors/weather/thunluft/stickstoffdioxid.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | state_topic: "weather/thunluft/stickstoff"
3 | name: "Stickstoffdioxid (NO₂) Thun"
4 | unit_of_measurement: "µg/m³"
--------------------------------------------------------------------------------
/sensors/weather/windchill_temperature.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | windchill_temperature:
4 | friendly_name: "Windchill"
5 | unit_of_measurement: "°C"
6 | value_template: "{{ (13.12 + 0.6215 * float(states.sensor.netatmo_outdoormodule_temperature.state) - 11.37 * ((float(states.sensor.windspeed_brienz.state)*3.6)**0.16) + 0.3965 * float(states.sensor.netatmo_outdoormodule_temperature.state) * ((float(states.sensor.windspeed_brienz.state)*3.6)**0.16)) | round(1) }}"
--------------------------------------------------------------------------------
/sensors/weather/windchill_temperature.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: template
2 | sensors:
3 | windchill_temperature:
4 | friendly_name: "Windchill"
5 | unit_of_measurement: "°C"
6 | value_template: "{{ (13.12 + 0.6215 * float(states.sensor.netatmo_outdoormodule_temperature.state) - 11.37 * ((float(states.sensor.windspeed_brienz.state)*3.6)**0.16) + 0.3965 * float(states.sensor.netatmo_outdoormodule_temperature.state) * ((float(states.sensor.windspeed_brienz.state)*3.6)**0.16)) | round(1) }}"
--------------------------------------------------------------------------------
/sensors/weather_prediction.yaml:
--------------------------------------------------------------------------------
1 | platform: yr
--------------------------------------------------------------------------------
/sensors/zigbee2mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: Zigbee2mqtt Bridge state
3 | state_topic: "zigbee2mqtt/bridge/state"
4 | icon: mdi:router-wireless
--------------------------------------------------------------------------------
/switches/commandline/nvidiashield/netflix_open.yaml:
--------------------------------------------------------------------------------
1 | platform: command_line
2 | switches:
3 | netflix_open:
4 | command_on: "/usr/bin/curl -X GET http://192.168.1.81:8080/netflix/open"
5 | friendly_name: Netflix Open
--------------------------------------------------------------------------------
/switches/commandline/nvidiashield/youtube_open.yaml:
--------------------------------------------------------------------------------
1 | platform: command_line
2 | switches:
3 | youtube_open:
4 | command_on: "/usr/bin/curl -X GET http://192.168.1.81:8080/youtube/open"
5 | friendly_name: YouTube Open
--------------------------------------------------------------------------------
/switches/flux.yaml:
--------------------------------------------------------------------------------
1 | platform: flux
2 | lights:
3 | - light.living_room_under_couch
4 | - light.tv_light_bulb
5 | - light.computer_lamp_bulb
6 | - light.living_room_corner_lamp
7 | - light.bedroom_nightstand
8 | - light.bedroom_2
9 | - light.bedroom_4
10 | - light.kitchen_2
11 | - light.kitchen_1
12 | - light.bathroom_ceiling_1
13 | - light.bathroom_ceiling_2
14 | name: Fluxer
15 | disable_brightness_adjust: True
16 | mode: xy
--------------------------------------------------------------------------------
/switches/harmony_tv.yaml:
--------------------------------------------------------------------------------
1 | platform: template
2 | switches:
3 | tv:
4 | friendly_name: "TV"
5 | entity_id: remote.harmony_hub
6 | value_template: "{{ is_state('remote.harmony_hub', 'on') }}"
7 | turn_on:
8 | service: remote.turn_on
9 | data:
10 | entity_id: remote.harmony_hub
11 | activity: "Watch TV"
12 | turn_off:
13 | service: remote.turn_off
14 | data:
15 | entity_id: remote.harmony_hub
16 | icon_template: >-
17 | {% if is_state('remote.harmony_hub', 'on') %}
18 | mdi:television
19 | {% else %}
20 | mdi:television-off
21 | {% endif %}
--------------------------------------------------------------------------------
/switches/mqtt/sonoff_xmaslights.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Xmas Lights"
3 | command_topic: "cmnd/xmaslights/power"
4 | state_topic: "stat/xmaslights/POWER"
5 | qos: 1
6 | payload_on: "ON"
7 | payload_off: "OFF"
8 | retain: true
--------------------------------------------------------------------------------
/switches/mystrom_3d_printer_light.yaml:
--------------------------------------------------------------------------------
1 | platform: mystrom
2 | host: 192.168.1.72
3 | name: 3D Printer Light
--------------------------------------------------------------------------------
/switches/mystrom_3d_printer_light.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: mystrom
2 | host: 192.168.1.72
3 | name: 3D Printer Light
--------------------------------------------------------------------------------
/switches/mystrom_bathroom_heater.yaml:
--------------------------------------------------------------------------------
1 | # platform: mystrom
2 | # host: 192.168.1.65
3 | # name: Bathroom Heater
4 |
5 | platform: command_line
6 | switches:
7 | bathroom_heater:
8 | command_on: "curl -X GET 'http://192.168.1.65/relay?state=1'"
9 | command_off: "curl -X GET 'http://192.168.1.65/relay?state=0'"
10 | command_state: "curl -X GET 'http://192.168.1.65/report'"
11 | value_template: '{{ value_json.relay == true }}'
12 | friendly_name: Bathroom Heater
--------------------------------------------------------------------------------
/switches/mystrom_bedroom_alarmclock.yaml:
--------------------------------------------------------------------------------
1 | platform: mystrom
2 | host: 192.168.1.71
3 | name: Bedroom Alarmclock
--------------------------------------------------------------------------------
/switches/mystrom_bedroom_fan.yaml:
--------------------------------------------------------------------------------
1 | platform: mystrom
2 | host: 192.168.1.67
3 | name: Bedroom Fan
--------------------------------------------------------------------------------
/switches/zigbee2mqtt.yaml:
--------------------------------------------------------------------------------
1 | platform: mqtt
2 | name: "Zigbee2mqtt Main join"
3 | state_topic: "zigbee2mqtt/bridge/config/permit_join"
4 | command_topic: "zigbee2mqtt/bridge/config/permit_join"
5 | payload_on: "true"
6 | payload_off: "false"
--------------------------------------------------------------------------------
/timers/bathroom_heater.yaml:
--------------------------------------------------------------------------------
1 | bathroom_heater:
2 | name: "Bathroom Heater 30 Minutes"
3 | duration: '00:30:00'
--------------------------------------------------------------------------------
/timers/bathroom_lights.yaml:
--------------------------------------------------------------------------------
1 | bathroom_lights:
2 | name: "Bathroom Lights"
3 | duration: '00:20:00'
--------------------------------------------------------------------------------
/timers/kitchen_lights.yaml:
--------------------------------------------------------------------------------
1 | kitchen_lights:
2 | name: "Kitchen Lights"
3 | duration: '00:05:00'
--------------------------------------------------------------------------------
/timers/outdoor_lights.yaml:
--------------------------------------------------------------------------------
1 | outdoor_lights:
2 | name: "Outdoor Lights when leaving"
3 | duration: '00:10:00'
--------------------------------------------------------------------------------
/timers/zigbee2mqtt.yaml:
--------------------------------------------------------------------------------
1 | zigbee_permit_join:
2 | name: Time remaining
3 | duration: 120
--------------------------------------------------------------------------------
/weather/meteoswiss.yaml:
--------------------------------------------------------------------------------
1 | platform: meteo-swiss
--------------------------------------------------------------------------------
/weather/openweathermap.yaml:
--------------------------------------------------------------------------------
1 | platform: openweathermap
2 | api_key: !secret openweather_api_key
3 | latitude: !secret openweather_latitude
4 | longitude: !secret openweather_longitude
--------------------------------------------------------------------------------
/weather/yahoo_weather.yaml.disabled:
--------------------------------------------------------------------------------
1 | platform: yweather
2 | woeid: 12891892
3 | name: Weather Oberried
4 | monitored_conditions:
5 | - weather
6 | - weather_current
7 | - temp_min
8 | - temp_max
9 | - wind_speed
10 | - pressure
11 | - visibility
12 | - humidity
13 | - temperature
--------------------------------------------------------------------------------
/www/backgrounds/wallhaven-161989.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/backgrounds/wallhaven-161989.png
--------------------------------------------------------------------------------
/www/community/battery-state-card/battery-state-card.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/community/battery-state-card/battery-state-card.js.gz
--------------------------------------------------------------------------------
/www/custom_ui/bignumber-card/README.md:
--------------------------------------------------------------------------------
1 | # Big number card
2 |
3 | A simple card to display big numbers for sensors. It also supports severity levels as background.
4 |
5 | 
6 |
7 | **Options**
8 |
9 | | Name | Type | Default | Description
10 | | ---- | ---- | ------- | -----------
11 | | type | string | **Required** | `custom:bignumber-card`
12 | | title | string | optional | Name to display on card
13 | | scale | string | 50px | Base scale for card: '50px'
14 | | entity | string | **Required** | `sensor.my_temperature`
15 | | min | number | optional | Minimum value. If specified you get bar display
16 | | max | number | optional | Maximum value. Must be specified if you added min
17 | | from | string | left | Direction from where the bar will start filling (must have min/max specified)
18 | | severity | list | optional | A list of severity objects. Items in list must be ascending based on 'value'
19 |
20 | Severity object
21 |
22 | | Name | Type | Default | Description
23 | | ---- | ---- | ------- | -----------
24 | | value | number | **Required** | Value until which to use this severity
25 | | style | number | **Required** | Color of severity. Can be either hex or HA variable. Example: 'var(--label-badge-green)'
26 |
27 | ### WARNINGS
28 | - Make sure you use ascending object values to have consistent behaviour
29 | - Values are the upper limit until which that severity is applied
30 |
31 | **Example**
32 |
33 | ```yaml
34 | - type: custom:bignumber-card
35 | title: Humidity
36 | entity: sensor.outside_humidity
37 | scale: 30px
38 | from: bottom
39 | min: 0
40 | max: 100
41 | severity:
42 | - value: 70
43 | style: 'var(--label-badge-green)'
44 | - value: 90
45 | style: 'var(--label-badge-yellow)'
46 | - value: 100
47 | style: 'var(--label-badge-red)'
48 | ```
49 |
--------------------------------------------------------------------------------
/www/custom_ui/bignumber-card/VERSION:
--------------------------------------------------------------------------------
1 | 0.0.1
--------------------------------------------------------------------------------
/www/custom_ui/bignumber-card/changelog.md:
--------------------------------------------------------------------------------
1 | ## 0.0.1
2 | Initial release that supports versioning
--------------------------------------------------------------------------------
/www/custom_ui/floorplan/floorplan_20180213.7z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/custom_ui/floorplan/floorplan_20180213.7z
--------------------------------------------------------------------------------
/www/custom_ui/gauge-card/VERSION:
--------------------------------------------------------------------------------
1 | 0.1.0
2 |
--------------------------------------------------------------------------------
/www/custom_ui/gauge-card/changelog.md:
--------------------------------------------------------------------------------
1 | ## 0.1.0
2 | - support attributes
3 |
4 | ## 0.0.1
5 | Initial release that supports versioning
6 |
--------------------------------------------------------------------------------
/www/custom_ui/group-card/README.md:
--------------------------------------------------------------------------------
1 | # Group card
2 |
3 | Is a simple card that expands a group to a list of entities to be used with `entities`, `glance`, etc.
4 |
5 | ## Options
6 |
7 | | Name | Type | Default | Description
8 | | ---- | ---- | ------- | -----------
9 | | type | string | **Required** | `custom:group-card`
10 | | card | object | **Required** | Card object
11 | | group | string | **Required** | The entity_id of a group
12 |
13 | Card object
14 |
15 | | Name | Type | Default | Description
16 | | ---- | ---- | ------- | -----------
17 | | type | string | **Required** | A type of card (ex.`glance`) from lovelace
18 | | title | object | optional | Title of the card
19 | | ... | other | optional | Other parameters supported by card type above
20 |
21 | ## Examples
22 |
23 | Show all with some exceptions:
24 | ```yaml
25 | - type: custom:group-card
26 | card:
27 | type: entities
28 | title: Group card
29 | group: group.bedroom
30 | ```
31 |
32 | ## Credits
33 | - [ciotlosm](https://github.com/ciotlosm)
--------------------------------------------------------------------------------
/www/custom_ui/group-card/VERSION:
--------------------------------------------------------------------------------
1 | 0.0.2
--------------------------------------------------------------------------------
/www/custom_ui/group-card/changelog.md:
--------------------------------------------------------------------------------
1 | ## 0.0.2
2 | Fix for card dissapearing when switching tabs
3 |
4 | ## 0.0.1
5 | Initial release that supports versioning
--------------------------------------------------------------------------------
/www/custom_ui/group-card/group-card.js:
--------------------------------------------------------------------------------
1 | class GroupCard extends HTMLElement {
2 |
3 | setConfig(config) {
4 | if (!config.group) {
5 | throw new Error('Please specify a group');
6 | }
7 |
8 | if (this.lastChild) this.removeChild(this.lastChild);
9 | const cardConfig = Object.assign({}, config);
10 | if (!cardConfig.card) cardConfig.card = {};
11 | if (!cardConfig.card.type) cardConfig.card.type = 'entities';
12 | const element = document.createElement(`hui-${cardConfig.card.type}-card`);
13 | this.appendChild(element);
14 | this._config = cardConfig;
15 | }
16 |
17 | set hass(hass) {
18 | const config = this._config;
19 | const entities = hass.states[config.group].attributes['entity_id'];
20 | if (!config.card.entities || config.card.entities.length !== entities.length ||
21 | !config.card.entities.every((value, index) => value.entity === entities[index].entity)) {
22 | config.card.entities = entities;
23 | }
24 | this.lastChild.setConfig(config.card);
25 | this.lastChild.hass = hass;
26 | }
27 |
28 | getCardSize() {
29 | return 'getCardSize' in this.lastChild ? this.lastChild.getCardSize() : 1;
30 | }
31 | }
32 |
33 | customElements.define('group-card', GroupCard);
34 |
--------------------------------------------------------------------------------
/www/custom_ui/mini-graph-card/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Kalle Kihlström
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/www/custom_ui/mini-graph-card/changelog.md:
--------------------------------------------------------------------------------
1 | ## v0.0.1
2 | - Initial release
3 |
--------------------------------------------------------------------------------
/www/custom_ui/mini-graph-card/mini-graph-lib.js:
--------------------------------------------------------------------------------
1 | export default function getGraph(graphData, width, height) {
2 | const values = getValueArray(graphData);
3 | const coordinates = calcCoordinates(values, width, height);
4 | return getPath(coordinates);
5 | }
6 |
7 | function getValueArray(graphData) {
8 | return graphData.map((item) => {
9 | return item.state;
10 | })
11 | }
12 |
13 | function calcCoordinates(values, width, height) {
14 | const min = Math.floor(Math.min.apply(null, values) * 0.98);
15 | const max = Math.ceil(Math.max.apply(null, values) * 1.02);
16 |
17 | const yRatio = (max - min) / height;
18 | const xRatio = width / (values.length - 2);
19 |
20 | return values.map((value, i) => {
21 | let y = height - ((value - min) / yRatio );
22 | let x = (xRatio * i) - (xRatio / 2);
23 | return [x,y];
24 | })
25 | }
26 |
27 | function getPath(points) {
28 | let first, second, next, Z;
29 | let X = 0;
30 | let Y = 1;
31 | let path = '';
32 | let point = points[0];
33 |
34 | path += 'M' + point[X] + ',' + point[Y];
35 | first = point;
36 |
37 | for (let i = 1; i < points.length; i++) {
38 | next = points[i];
39 | Z = midPoint(point[X], point[Y], next[X], next[Y]);
40 | path += ' ' + Z[X] + ',' + Z[Y];
41 | path += 'Q' + next[X] + ',' + next[Y];
42 | point = next;
43 | }
44 |
45 | second = points[1];
46 | Z = midPoint(first[X], first[Y], second[X], second[Y]);
47 |
48 | path += 'Q' + first[X] + ',' + first[Y];
49 | path += ' ' + Z[X] + ',' + Z[Y];
50 | path += 'Z';
51 | return path;
52 | }
53 |
54 | function midPoint(Ax, Ay, Bx, By) {
55 | const Zx = (Ax-Bx)/2 + Bx;
56 | const Zy = (Ay-By)/2 + By;
57 | return new Array(Zx, Zy);
58 | }
59 |
--------------------------------------------------------------------------------
/www/custom_ui/remote/remote.css:
--------------------------------------------------------------------------------
1 | /* SVG shapes */
2 |
3 | svg, svg * {
4 | /*vector-effect: non-scaling-stroke !important;*/
5 | pointer-events: all !important;
6 | }
7 |
8 | /* Hover over */
9 |
10 | .ha-entity:hover {
11 | stroke: #03A9F4 !important;
12 | stroke-width: 1px !important;
13 | stroke-opacity: 1 !important;
14 | }
15 |
16 | /* Bootstrap succsss */
17 |
18 | .success-text {
19 | fill: #3c763d !important;
20 | }
21 |
22 | .success-background, .success-text-background {
23 | fill: #dff0d8 !important;
24 | fill-opacity: 1 !important;
25 | stroke: #d6e9c6 !important;
26 | stroke-width: 1px !important;
27 | }
28 |
29 | /* Bootstrap info */
30 |
31 | .info-text {
32 | fill: #31708f !important;
33 | }
34 |
35 | .info-background, .info-text-background {
36 | fill: #d9edf7 !important;
37 | fill-opacity: 1 !important;
38 | stroke: #bce8f1 !important;
39 | stroke-width: 1px !important;
40 | }
41 |
42 | /* Bootstrap warning */
43 |
44 | .warning-text {
45 | fill: #8a6d3b !important;
46 | }
47 |
48 | .warning-background, .warning-text-background {
49 | fill: #fcf8e3 !important;
50 | fill-opacity: 1 !important;
51 | stroke: #faebcc !important;
52 | stroke-width: 1px !important;
53 | }
54 |
55 | /* Bootstrap danger */
56 |
57 | .danger-text {
58 | fill: #a94442 !important;
59 | }
60 |
61 | .danger-background, .danger-text-background {
62 | fill: #f2dede !important;
63 | fill-opacity: 1 !important;
64 | stroke: #ebccd1 !important;
65 | stroke-width: 1px !important;
66 | }
67 |
68 | /* Light */
69 |
70 | .light-off {
71 | fill: #C3B7F4 !important;
72 | transition: fill 0.5s;
73 | stroke-width: 0;
74 | }
75 |
76 | .light-on {
77 | fill: #ffd40b !important;
78 | transition: fill 0.5s;
79 | stroke-width: 0;
80 | }
--------------------------------------------------------------------------------
/www/custom_ui/state-card-remote.html___:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/custom_ui/state-card-remote.html___
--------------------------------------------------------------------------------
/www/custom_ui/thermostat-card/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Original work Copyright (c) 2015 Dal Hundal
4 | Modified work Copyright (c) 2018 Marius-Stefan Ciotlos & Silas Baronda
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/www/custom_ui/thermostat-card/VERSION:
--------------------------------------------------------------------------------
1 | 0.0.2
--------------------------------------------------------------------------------
/www/custom_ui/thermostat-card/changelog.md:
--------------------------------------------------------------------------------
1 | ## 0.0.2
2 | Fix alignment on Firefox
3 |
4 | ## 0.0.1
5 | Initial release that supports versioning
--------------------------------------------------------------------------------
/www/googledb520f4c73a1a397.html:
--------------------------------------------------------------------------------
1 | google-site-verification: googledb520f4c73a1a397.html
--------------------------------------------------------------------------------
/www/icons/weather_icons/animated/weather_sagittarius.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/www/icons/weather_icons/animated/weather_sunset.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/null.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/null.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/svg/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/svg/background.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/svg/planter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/svg/planter.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/svg/tv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/svg/tv.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/svg/tv_lamp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/svg/tv_lamp.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/tv_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/tv_background.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/tv_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/tv_on.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tv/tvlamp_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tv/tvlamp_on.png
--------------------------------------------------------------------------------
/www/image_status/livingroom/tvlamp/tvlamp_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tvlamp/tvlamp_off.jpg
--------------------------------------------------------------------------------
/www/image_status/livingroom/tvlamp/tvlamp_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/livingroom/tvlamp/tvlamp_on.jpg
--------------------------------------------------------------------------------
/www/image_status/mazda/mazda_AWAY.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/mazda/mazda_AWAY.jpg
--------------------------------------------------------------------------------
/www/image_status/mazda/mazda_HOME.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/mazda/mazda_HOME.jpg
--------------------------------------------------------------------------------
/www/image_status/roomba/roomba_off.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/roomba/roomba_off.jpg
--------------------------------------------------------------------------------
/www/image_status/roomba/roomba_on.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/roomba/roomba_on.jpg
--------------------------------------------------------------------------------
/www/image_status/roomba/roomba_stuck.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/image_status/roomba/roomba_stuck.jpg
--------------------------------------------------------------------------------
/www/roomba_status.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Gummientchen/Home-AssistantConfig/7f8da36afe7a3cfb4b96489e7fb247fb679ef7ca/www/roomba_status.psd
--------------------------------------------------------------------------------