From 581938161e1aed290f1258c4359f4020892b5144 Mon Sep 17 00:00:00 2001 From: adonno Date: Sat, 24 Nov 2018 17:39:56 +0100 Subject: [PATCH] Initial Commit of my home Assistant --- .gitignore | 22 + automations.yaml | 733 ++++++++++++++++++++++ configuration.yaml | 287 +++++++++ customize.yaml | 3 + groups.yaml | 0 scripts.yaml | 149 +++++ sensors.yaml | 0 themes.yaml | 317 ++++++++++ ui-lovelace.yaml | 1457 ++++++++++++++++++++++++++++++++++++++++++++ zones.yaml | 17 + 10 files changed, 2985 insertions(+) create mode 100644 .gitignore create mode 100755 automations.yaml create mode 100755 configuration.yaml create mode 100644 customize.yaml create mode 100644 groups.yaml create mode 100644 scripts.yaml create mode 100755 sensors.yaml create mode 100755 themes.yaml create mode 100644 ui-lovelace.yaml create mode 100755 zones.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa5c227 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Example .gitignore file for your config dir. +# A * ensures that everything will be ignored. +* + +# You can whitelist files/folders with !, these will not be ignored. +!*.yaml +!.gitignore +!*.md + +# Ignore folders. +.storage +.cloud +.google.token + + + + +# Ensure these YAML files are ignored, otherwise your secret data/credentials will leak. +ip_bans.yaml +secrets.yaml +known_devices.yaml + diff --git a/automations.yaml b/automations.yaml new file mode 100755 index 0000000..3f14249 --- /dev/null +++ b/automations.yaml @@ -0,0 +1,733 @@ +- id: Phone Stat notifications + alias: Notify about phone state + initial_state: true + hide_entity: true + trigger: + - platform: state + entity_id: sensor.phone + action: + - service: notify.ios_iphoneadonno + data: + title: Phone + message: "{% if is_state(\"sensor.phone\", \"idle\") %}\n Phone is idle\n{%\ + \ elif is_state(\"sensor.phone\", \"dialing\") %}\n Calling {{ states.sensor.phone.attributes.to_name\ + \ }} ({{ states.sensor.phone.attributes.to }})\n{% elif is_state(\"sensor.phone\"\ + , \"ringing\") %}\n Incoming call from {{ states.sensor.phone.attributes.from_name\ + \ }} ({{ states.sensor.phone.attributes.from }})\n{% else %}\n Talking to\ + \ {{ states.sensor.phone.attributes.with_name }} ({{ states.sensor.phone.attributes.with\ + \ }})\n{% endif %}" + - service: notify.rinas_iphone + data: + title: Phone + message: "{% if is_state(\"sensor.phone\", \"idle\") %}\n Phone is idle\n{%\ + \ elif is_state(\"sensor.phone\", \"dialing\") %}\n Calling {{ states.sensor.phone.attributes.to_name\ + \ }} ({{ states.sensor.phone.attributes.to }})\n{% elif is_state(\"sensor.phone\"\ + , \"ringing\") %}\n Incoming call from {{ states.sensor.phone.attributes.from_name\ + \ }} ({{ states.sensor.phone.attributes.from }})\n{% else %}\n Talking to\ + \ {{ states.sensor.phone.attributes.with_name }} ({{ states.sensor.phone.attributes.with\ + \ }})\n{% endif %}" + - service: tts.google_say + entity_id: media_player.chromecast_messages + data_template: + message: "{% if is_state(\"sensor.phone\", \"ringing\") %}\n Appel entrant\ + \ de {{ states.sensor.phone.attributes.from_name }} ({{ states.sensor.phone.attributes.from\ + \ }})\n{% endif %}" + language: fr + # - service: media_player.volume_set + # data_template: + # entity_id: media_player.chromecastkeller + # volume_level: 0.5 + # - service: media_player.volume_set + # data_template: + # entity_id: media_player.chromecastchparents + # volume_level: 0.5 + +######################################################################################################### + + +- id: Nuki battery low + alias: Nuki battery low + initial_state: true + hide_entity: true + trigger: + platform: template + value_template: "{{ states.lock.home.attributes.battery_critical == 'true' }}" + action: + - service: notify.ios_iphoneadonno + data_template: + title: Nuki Battery Warning + message: Nuki battery level critical. Please replace batteries + + +######################################################################################################### + +- id: New Version notification + alias: Update notifications + initial_state: true + hide_entity : true + trigger: + - platform: state + entity_id: updater.updater + action: + - service: notify.ios_iphoneadonno + data_template: + title: New Home Assistant Release + message: Home Assistant {{ states.updater.updater.state }} is now available. + + +######################################################################################################### + + +- id: Hass Startup Notification + alias: Hass Startup Notification + initial_state: true + hide_entity : true + trigger: + - event: start + platform: homeassistant + action: + - data: + message: Hass restarted + title: Warning hassio + service: notify.ios_iphoneadonno + + +######################################################################################################### + + +- id: Hass Shutdown Notification + alias: Hass Shutdown Notification + initial_state: true + hide_entity : true + trigger: + - platform: homeassistant + event: shutdown + action: + service: notify.ios_iphoneadonno + data: + title: Warning + message: Hassio shutdown + + +######################################################################################################### + + +#- id: Notify when rina leaves and arrives home +# alias: Notify when rina leaves and arrives home +# initial_state: true +# trigger: +# - platform: state +# entity_id: device_tracker.iphonederina +# action: +# - service: notify.ios_iphoneadonno +# data: +# title: Presence Rina +# message: "{% if is_state(\"device_tracker.iphonederina\", \"home\") %}\n Rina\ +# \ Arrived Home\n{% elif is_state(\"sensor.phone\", \"not_home\") %}\n Rina\ +# \ Left Home\n{% else is_state(\"sensor.phone\", \"not home\") %}\n Rina Left\ +# \ Home \n{% endif %}" + + +######################################################################################################### + + +- id: Fire Alarm + alias: Trigger fire alarm when smoke detected + initial_state: true + hide_entity : true + trigger: + - platform: state + entity_id: binary_sensor.smoke_sensor_1er_13 + to: 'on' + - platform: state + entity_id: binary_sensor.smoke_sensor_2eme_15 + to: 'on' + - platform: state + entity_id: binary_sensor.smoke_sensor_rdc_17 + to: 'on' + action: + - service: notify.ios_iphoneadonno + data_template: + title: '*BRAND alarm!*' + message: "Firealarm um: {% for state in states.binary_sensor -%}\n {% if state.state\ + \ == 'on' and state.name != 'Wasmachine' and state.name != 'Ping to Vera'\ + \ %}\n {{ state.name }}\n {%- endif -%}\n{% endfor %}\n" + - service: light.turn_on + entity_id: group.all_lights + - service: tts.google_say + entity_id: media_player.chromecast_messages + data: + message: Feuer! Verlasst das Haus! + language: de + - service: tts.google_say + entity_id: media_player.chromecast_messages + data: + message: Incendie Detecté! Quittez la maison! + language: fr + +######################################################################################################### + +- id: Welcome Home Andrea + alias: welcome home Andrea + trigger: + - entity_id: device_tracker.iphoneandrea + platform: state + to: home + condition: + - after: 08:00:00 + before: '20:00:00' + condition: time + - condition: state + entity_id: device_tracker.rinas_iphone + state: not home + action: + - data: + language: en + message: Welcome home. Andrea! + entity_id: media_player.chromecast_messages + service: tts.google_say + +######################################################################################################### + +- id: Welcome Home Rina + alias: welcome home Rina + trigger: + - platform: state + entity_id: device_tracker.rinas_iphone + to: home + condition: + - condition: time + after: 08:00:00 + before: '20:00:00' + action: + - service: tts.google_say + entity_id: media_player.chromecast_messages + data: + message: Bienvenue. Rina + language: fr + + + +######################################################################################################### + +- id: light sam on morning + alias: light sam on morning + initial_state: true + trigger: + - platform: state + entity_id: light.mirroir_sdb_p + to: 'off' + condition: + condition: and + conditions: + - condition: time + after: 06:00:00 + before: 08:00:00 + weekday: + - mon + - tue + - wed + - thu + - fri + - condition: sun + before: sunrise + action: + - service: light.turn_on + entity_id: light.lumiere_sam + +######################################################################################################### + +- id: light sam off morning + alias: light sam off morning + initial_state: true + trigger: + - platform: time + at: 08:00:00 + - platform: numeric_state + entity_id: sun.sun + value_template: '{{ state.attributes.elevation }}' + above: 9 + condition: + condition: and + conditions: + - condition: time + weekday: + - mon + - tue + - wed + - thu + - fri + action: + - service: light.turn_off + entity_id: light.lumiere_sam + - service: light.turn_off + entity_id: light.spots_cuisine_ilot + +######################################################################################################### +- id: inform when door is unlocked or locked phones + alias: doorstaate + initial_state: true + trigger: + - platform: state + entity_id: lock.home + action: + - service: notify.ios_iphoneadonno + data: + title: Front Door + message: > + {% if is_state('lock.home', 'locked' ) %} Door Locked {% else %} !!Door Unlocked!! {% endif %} + data: + push: + badge: 0 + category: 'lockdoor' + - service: notify.ios_rinas_iphone + data: + title: Entrée + message: > + {% if is_state('lock.home', 'locked' ) %} Porte Verouillée {% else %} Déverouillée!!! {% endif %} + +- id: inform when door is unlocked or locked speakers + alias: doorstaate2 + initial_state: true + trigger: + - platform: state + entity_id: lock.home + action: + - service: tts.google_say + entity_id: media_player.chromecast_messages + data_template: + message: > + {% if is_state('lock.home', 'locked' ) %} Porte Verouillée {% else %}Attention! Porte déverouillée! {% endif %} + language: fr +######################################################################################################## +- id: ios_lock_door + alias: 'lock door io app' + initial_state: True + hide_entity: true + trigger: + platform: event + event_type: ios.notification_action_fired + event_data: + actionName: LOCK_DOOR + action: + - service: lock.lock + entity_id: lock.nuki +######################################################################################################### + +- id: light couch on + alias: Couch an schierf owes Un + initial_state: true + trigger: + platform: numeric_state + entity_id: sun.sun + value_template: '{{ state.attributes.elevation }}' + below: -1 + condition: + condition: and + conditions: +# - condition: state +# entity_id: group.network_devices_mobile +# state: not_home + - condition: time + after: '16:00:00' + before: '23:00:00' + action: + - service: homeassistant.turn_on + entity_id: switch.lampe_canape + - service: switch.turn_on + entity_id: switch.armoire_sam + - service: switch.turn_on + entity_id: switch.armoire_cuisine + - service: notify.ios_iphoneadonno + data: + title: Light + message: Switching on light living + - service: frontend.set_theme + data: + name: darkcyan + + +######################################################################################################### + +- id: light couch off + alias: Couch an schierf owes aus + initial_state: true + trigger: + platform: time + at: '23:30:00' + + condition: + condition: and + conditions: + - condition: state + entity_id: group.network_devices_mobile + state: not_home + action: + - service: homeassistant.turn_off + entity_id: switch.lampe_canape + - service: switch.turn_off + entity_id: switch.armoire_sam + - service: switch.turn_off + entity_id: switch.armoire_cuisine + - service: notify.ios_iphoneadonno + data: + title: Light + message: Switching off lights + +######################################################################################################### + +- id: Frontend day mode + alias: frontend day mode + initial_state: true + hide_entity: true + trigger: + - platform: time + at: 07:00:00 + action: + - service: frontend.set_theme + data: + name: default + + +######################################################################################################### + +- alias: Switch on lights when coming home + initial_state: true + trigger: + - platform: state + entity_id: device_tracker.rinas_iphone + to: home + - platform: state + entity_id: device_tracker.iphoneandrea + to: home + condition: + condition: sun + after: sunset + before_offset: '-1:00:00' + action: + - service: notify.ios_iphoneadonno + data: + title: Welcome home + message: Welcome + - service: light.turn_on + entity_id: light.hall_entree + +######################################################################################################### + +- alias: Radio off when leaving home + initial_state: true + hide_entity: true + trigger: + - platform: state + entity_id: device_tracker.rinas_iphone + to: not_home + - platform: state + entity_id: device_tracker.iphoneandrea + to: not_home + condition: + condition: state + entity_id: group.network_devices_mobile + state: not_home + action: + - service: notify.ios_iphoneadonno + data: + title: Goodbye + message: Goodbye + - service: light.turn_off + entity_id: light.hall_entree + - service: media_player.turn_off + data: + entity_id: media_player.chromecastkeller + - service: media_player.turn_off + data: + entity_id: media_player.chromecastchparents + +######################################################################################################### + +- alias: 'Fernseh un radio aus ' + initial_state: true + trigger: + platform: state + entity_id: remote.living + condition: + condition: template + value_template: '{{ trigger.to_state.attributes.current_activity == "Watch TV" + }}' + action: + - service: media_player.turn_off + entity_id: media_player.chromecastkeller + +######################################################################################################### + + +- id: Led_sdb_parents_on + alias: allumer led sdb Parents + initial_state: true + hide_entity: true + trigger: + - platform: state + entity_id: light.spots_douche_p + to: 'on' + action: + - service: light.turn_on + entity_id: light.LED_SDB_P + - delay: + seconds: 1 + - service: light.turn_on + entity_id: light.brightness_62 + - service: light.turn_on + entity_id: light.rgbw_sdb_61 + +######################################################################################################### + + +- id: Led_sdb_parentsOff + alias: allumer led sdb Parents + initial_state: true + hide_entity: true + trigger: + - platform: state + entity_id: light.spots_douche_p + to: 'off' + action: + - service: light.turn_off + entity_id: light.LED_SDB_P + + + + + +######################################################################################################### +- alias: Light center 1er on + initial_state: True + hide_entity: true + trigger: + - platform: state + entity_id : light.spots_sam + to: 'on' + - platform: state + entity_id : light.spots_living + to: 'on' + action: + service: light.turn_on + entity_id: light.spots_millieux + +######################################################################################################### + +- alias: Light center 1er off + initial_state: True + trigger: + - platform: state + entity_id : light.spots_sam + to: 'off' + - platform: state + entity_id : light.spots_living + to: 'off' + condition: + condition: and + conditions: + - condition: state + entity_id : light.spots_sam + state : 'off' + - condition: state + entity_id : light.spots_living + state : 'off' + action: + service: light.turn_off + entity_id: light.spots_millieux + +######################################################################################################### + +- alias: light off couloir avec reserve cave + initial_state: True + hide_entity: true + trigger: + - platform: state + entity_id : light.cave_couloir + to: 'off' + action: + - service: light.turn_off + entity_id: light.reserve + - service: light.turn_off + entity_id: light.spots_escalier_01_bis + +######################################################################################################### + +- alias: light on couloir avec reserve cave + initial_state: True + hide_entity: true + trigger: + - platform: state + entity_id : light.cave_couloir + to: 'on' + condition: + - condition: numeric_state + entity_id: sun.sun + value_template: '{{ state.attributes.elevation }}' + below: 10 + + action: + - service: light.turn_on + entity_id: light.reserve + - service: light.turn_on + entity_id: light.spots_escalier_01_bis + +######################################################################################################### + +- alias: light off LED Dressing + initial_state: True + hide_entity: true + trigger: + - platform: state + entity_id : light.dressing + to: 'off' + condition: + condition: state + entity_id: light.dressing + state: 'off' + action: + service: light.turn_off + entity_id: light.led_dressing + +######################################################################################################### + +- alias: light on LED Dressing + initial_state: True + hide_entity: true + trigger: + - platform: state + entity_id : light.Dressing + to: 'on' + condition: + condition: time + after: '07:00:00' + before: '23:00:00' + action: + - service: light.turn_on + entity_id: light.led_dressing + +######################################################################################################## +- alias: light on SDB P avec Dressing + initial_state: True + trigger: + - platform: state + entity_id : light.Dressing + to: 'on' + + condition: + condition: or + conditions: + - condition: time + after: '06:00:00' + before: '08:00:00' + - condition: time + after: '21:00:00' + before: '00:00:00' + + action: + service: light.turn_on + entity_id: light.mirroir_sdb_p + +##################################################################### +- alias: switch off Stairs with bed_light + initial_state: True + id: switch_off_lights_with_bedlights + trigger: + - platform: state + entity_id: light.lit_d + to: 'off' + - platform: state + entity_id: light.lit_g + to: 'off' + condition: + condition: and + conditions: + - condition: state + entity_id: light.lit_d + state: 'off' + - condition: state + entity_id: light.lit_g + state: 'off' + action: + service: light.turn_off + entity_id: light.spots_escalier_12 + +#################################################################### + +- alias: weeklysnapshot + initial_state: True + id: weeklysnapshot + trigger: + - platform: time + at: 03:00:00 + condition: + - condition: time + weekday: + - sun + action: + - service: hassio.snapshot_full + data_template: + name: Automated Backup {{ now().strftime('%Y-%m-%d') }} + # - service: notify.slack_notify + # data_template: + # message: Creating backup named "Automated Backup {{ now().strftime('%Y-%m-%d') }}" + +######################################################################################################### + + +# - id: Led_Living_rgbw +# alias: rgbw_living +# initial_state: true +# hide_entity: true +# trigger: +# - platform: state +# entity_id: light.led_living +# to: 'on' +# action: +# - service: light.turn_on +# entity_id: light.brightness_rgbw_liv_32 +# - service: light.turn_on +# entity_id: light.rgbw_liv_31 + + + +# - id: Led_Living_rgbw +# alias: rgbw_living +# initial_state: true +# hide_entity: true +# trigger: +# - platform: state +# entity_id: light.led_living +# action: +# - service_template: "light.turn{{ trigger.to_state.state | lower}}" +# entity_id: light.rgbw_liv_31 + + + +- id: Led_Living_rgbw_2 + alias: rgbw_living_2 + trigger: + - platform: state + entity_id: light.led_living + action: + - service_template: "light.turn_{{ states('light.led_living') | lower }}" + entity_id: light.brightness_rgbw_liv_32 + # - service_template: "light.turn_{{ states('light.led_living') | lower }}" + # entity_id: light.rgbw_liv_31 + # - service_template: "homeassistant.turn_{{ trigger.to_state.state | lower}}" + # data_template: + # entity_id: "{{ 'light.rgbw_liv_31 light.brightness_rgbw_liv_32' }}" + +# - id: Led_Living_rgbw +# alias: rgbw_living +# initial_state: true +# hide_entity: true +# trigger: +# - platform: state +# entity_id: light.rgbw_liv_31 +# action: + + + # - service_template: "homeassistant.turn_{{ trigger.to_state.state | lower}}" + # data_template: + # entity_id: "{{ 'light.my_ligths switch.my_switch' | replace(trigger.entity_id, '') }}" \ No newline at end of file diff --git a/configuration.yaml b/configuration.yaml new file mode 100755 index 0000000..060e6e6 --- /dev/null +++ b/configuration.yaml @@ -0,0 +1,287 @@ +homeassistant: + # Name of the location where Home Assistant is running + name: Home + # Location required to calculate the time the sun rises and sets + latitude: !secret latitude_home + longitude: !secret longitude_home + # Impacts weather/sunrise data (altitude above sea level in meters) + elevation: !secret eleveation_home + # metric for Metric, imperial for Imperial + unit_system: metric + # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones + time_zone: !secret time_zone + # Customization file + customize: !include customize.yaml + packages: !include_dir_named packages + +# Show links to resources in log and frontend +#introduction: + # auth_providers: + # - type: legacy_api_password + + +vera: + vera_controller_url: !secret veraip + exclude: [ 39,40,45,48,47,48] + +weather: + - platform: darksky + api_key: !secret dks_api_key + language: fr + + +lock: + - platform: nuki + host: !secret nuki_ip + port: 8080 + token: !secret nuki_token + +mqtt: + broker: !secret mqttip + +zone: !include zones.yaml + +# Enables the frontend +frontend: + themes: !include themes.yaml + + +panel_iframe: + + logviewer: + title: logviewer + icon: mdi:cellphone-text + url: http://hassio.local:4277 + + # configurator: + # title: Configurator + # icon: mdi:wrench + # url: http://hassio.local:3218 + + + # influxdb: + # title: InfluxDB + # icon: mdi:chart-areaspline + # url: http://hassio.local:8888 + + # nodered: + # title: Node-RED + # icon: mdi:sitemap + # url: http://hassio.local:1880 + +# grafana: +# title: Grafana +# icon: mdi:chart-areaspline +# url: http://hassio.local:3000 + + # shinobi: + # title: Shinobi + # icon: mdi:cctv + # url: http://hassio.local:7440 + + # lovelace: + # title: Lovelace + # icon: mdi:heart + # url: http://hassio.local:8123/lovelace + + ide: + title: IDE + icon: mdi:code-braces + url: http://hassio.local:8321 + +logger: + default: warn + logs: + pychromecast.socket_client: fatal + + + +# Enables configuration UI +config: + + base_url: !secret fritz_base_url + +http: + # api_password: !secret HA_PW + ip_ban_enabled: True + login_attempts_threshold: 5 + # Secrets are defined in the file secrets.yaml + # api_password: !secret http_password + # Uncomment this if you are using SSL/TLS, running in Docker container, etc. + # base_url: example.duckdns.org:8123 + +# Checks for available updates +# Note: This component will send some information about your system to +# the developers to assist with development of Home Assistant. +# For more information, please see: +# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/ +updater: + # Optional, allows Home Assistant developers to focus on popular components. + # include_used_components: true + +# Discover some devices automatically +discovery: + ignore: + - plex_mediaserver +# Allows you to issue voice commands from the frontend in enabled browsers +conversation: + +# Enables support for tracking state changes over time +history: + +# View all events in a logbook +logbook: + +# Enables a map showing the location of tracked devices +map: + +# Track the sun +sun: + +recorder: + exclude: + entities: + - sun.sun # Don't record sun data + + - sensor.date + +# Weather prediction +sensor: + + - platform: darksky + api_key: !secret dks_api_key + monitored_conditions: + - summary + - icon + - nearest_storm_distance + - temperature + - cloud_cover + - humidity + - ozone + + + - platform: version + + - platform: synologydsm + host: !secret synology_ip + username: !secret synology_username + password: !secret synology_password + monitored_conditions: + - cpu_total_load + - memory_real_usage + - network_up + - disk_status + - disk_smart_status + - disk_temp + - network_down + - volume_size_used + - volume_size_total + - cpu_system_load + - cpu_user_load + - cpu_other_load + - volume_percentage_used + - volume_device_type + - volume_disk_temp_avg + + + - platform: speedtest + monitored_conditions: + - ping + - download + - upload + + + - platform: fritzbox_netmonitor + + + - platform: fritzbox_callmonitor + name: Phone + username: !secret fritz_user + password: !secret fritz_password + phonebook: 0 + prefixes: + - '+49' + - '+4989' + - '089' + - '+352' + + + - platform: time_date + display_options: + - 'time' + - 'date' +# - 'date_time' +# - 'time_date' + + +# - platform: template +# sensors: !include template/sensors.yaml + +# Text to speech +tts: + - platform: google + +# influxdb: +# host: a0d7b954-influxdb +# port: 8086 +# database: homeassistant +# username: !secret influxdb_user +# password: !secret influxdb_secret +# max_retries: 3 +# default_measurement: state + + + +knx: + +# Cloud +cloud: + + +# - platform: spotify +# client_id: !secret spotify_id +# client_secret: !secret spotify_secret + +device_tracker: + - platform: unifi + username: !secret unify_id + password: !secret unify_secret + site_id: !secret unify_siteid + detection_time: 240 + verify_ssl: false +# ssid_filter: +# - 'HomeSSID' +# - 'IoTSSID' + + + - platform: fritz + interval_seconds: 30 +# consider_home: 180 + +ios: + push: + categories: + - name: 'rollo' + identifier: 'rollo' + actions: + - identifier: 'STOP_ROLLO' + title: 'Stop' + destructive: true + activationMode: 'background' + - name: 'quiet' + identifier: 'quiet' + actions: + - identifier: 'QUIET_DISABLE' + title: 'Disable' + activationMode: 'background' + - name: 'lockdoor' + identifier: 'lockdoor' + actions: + - identifier: 'LOCK_DOOR' + title: 'Lock The Door' + destructive: true + activationMode: 'background' + +group: !include_dir_merge_named group +automation: !include automations.yaml +script: !include scripts.yaml diff --git a/customize.yaml b/customize.yaml new file mode 100644 index 0000000..d53e73f --- /dev/null +++ b/customize.yaml @@ -0,0 +1,3 @@ +switch.armoire_cuisine: + friendly_name: Armoire Cuisine + icon: mdi:power-socket-eu diff --git a/groups.yaml b/groups.yaml new file mode 100644 index 0000000..e69de29 diff --git a/scripts.yaml b/scripts.yaml new file mode 100644 index 0000000..b8eb711 --- /dev/null +++ b/scripts.yaml @@ -0,0 +1,149 @@ + +# rollo_close_gn: +# alias: rollo close at goodnight +# sequence: +# - service: notify.ios_iphoneadonno +# data: +# title: "Closing Binds" +# message: Closing blinds +# data: +# push: +# badge: 0 +# category: 'rollo' +# ############cave# +# - service: cover.set_cover_position +# data: +# entity_id: cover.cave +# position: 0 +# #############1er# +# - service: cover.set_cover_position +# data: +# entity_id: cover.kueche_links_a +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.kueche_links_m +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.kueche_rechts_m +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.kueche_rechts_a +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.living +# position: 45 +# - service: cover.set_cover_position +# data: +# entity_id: cover.buero +# position: 22 +# ############2eme# +# - service: cover.set_cover_position +# data: +# entity_id: cover.chac_enfant_route +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.chac_enfant_arriere +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.sdb_parents +# position: 22 +# - service: cover.set_cover_position +# data: +# entity_id: cover.chac_parents +# position: 10 + +good_night: + alias: good night + sequence: + - service: light.turn_off + data: + entity_id: group.all_lights + - service: switch.turn_off + data: + entity_id: + - switch.armoire_cuisine + - switch.armoire_tv + - switch.lampe_canape + - switch.armoire_sam + - switch.rdoliving + - switch.rdochparents + - switch.terrasse + - delay: + # supports milliseconds, seconds, minutes, hours, days + seconds: 3 + - service: light.turn_on + data: + entity_id: + - light.lit_d + - light.lit_g + - light.spots_escalier_12 + - service: automation.trigger + data: + entity_id: automation.fermer_jalousies_au_soir + - service: lock.lock + entity_id: lock.nuki + +tschau: + alias: tschau + sequence: + - service: light.turn_off + data: + entity_id: group.all_lights + - service: switch.turn_off + data: + entity_id: + - switch.armoire_tv + - switch.rdoliving + - switch.rdochparents + - switch.terrasse + - service: cover.set_cover_position + data: + entity_id: cover.cave + position: 0 + +aufhi: + alias: aufhi + sequence: + - service: cover.open_cover + entity_id: cover.cuisine + +zuhi: + alias: zuhi + sequence: + - service: cover.set_cover_position + data: + entity_id: cover.cuisine + position: 22 + + +open1st: + alias: open1st + sequence: + - service: cover.open_cover + entity_id: cover.1er_etage + +close1st: + alias: close1st + sequence: + - service: cover.set_cover_position + data: + entity_id: cover.cuisine + position: 22 + - service: cover.set_cover_position + data: + entity_id: cover.buero + posistion: 22 + - service: cover.set_cover_position + data: + entity_id: cover.living + position: 45 +reboothouse: + alias: neustart + sequence: + - service: homeassistant.restart \ No newline at end of file diff --git a/sensors.yaml b/sensors.yaml new file mode 100755 index 0000000..e69de29 diff --git a/themes.yaml b/themes.yaml new file mode 100755 index 0000000..b00e39b --- /dev/null +++ b/themes.yaml @@ -0,0 +1,317 @@ +green: + primary-color: "#6CA518" + +midnight: + # Main colors + primary-color: '#5294E2' # Header + accent-color: '#E45E65' # Accent color + dark-primary-color: 'var(--accent-color)' # Hyperlinks + light-primary-color: 'var(--accent-color)' # Horizontal line in about + # Text colors + primary-text-color: '#FFFFFF' # Primary text colour, here is referencing dark-primary-color + text-primary-color: 'var(--primary-text-color)' # Primary text colour + secondary-text-color: '#5294E2' # For secondary titles in more info boxes etc. + disabled-text-color: '#7F848E' # Disabled text colour + label-badge-border-color: 'green' # Label badge border, just a reference value + # Background colors + primary-background-color: '#383C45' # Settings background + secondary-background-color: '#383C45' # Main card UI background + divider-color: 'rgba(0, 0, 0, .12)' # Divider + # Table rows + table-row-background-color: '#353840' # Table row + table-row-alternative-background-color: '#3E424B' # Table row alternative + # Nav Menu + paper-listbox-color: 'var(--primary-color)' # Navigation menu selection hoover + paper-listbox-background-color: '#2E333A' # Navigation menu background + paper-grey-50: 'var(--primary-text-color)' + paper-grey-200: '#414A59' # Navigation menu selection + # Paper card + paper-card-header-color: 'var(--accent-color)' # Card header text colour + paper-card-background-color: '#434954' # Card background colour + paper-dialog-background-color: '#434954' # Card dialog background colour + paper-item-icon-color: 'var(--primary-text-color)' # Icon color + paper-item-icon-active-color: '#F9C536' # Icon color active + paper-item-icon_-_color: 'green' + paper-item-selected_-_background-color: '#434954' # Popup item select + paper-tabs-selection-bar-color: 'green' + # Labels + label-badge-red: 'var(--accent-color)' # References the brand colour label badge border + label-badge-text-color: 'var(--primary-text-color)' # Now same as label badge border but that's a matter of taste + label-badge-background-color: '#2E333A' # Same, but can also be set to transparent here + # Switches + paper-toggle-button-checked-button-color: 'var(--accent-color)' + paper-toggle-button-checked-bar-color: 'var(--accent-color)' + paper-toggle-button-checked-ink-color: 'var(--accent-color)' + paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)' + paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)' + paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)' +# Sliders + paper-slider-knob-color: 'var(--accent-color)' + paper-slider-knob-start-color: 'var(--accent-color)' + paper-slider-pin-color: 'var(--accent-color)' + paper-slider-active-color: 'var(--accent-color)' + paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat' + paper-slider-secondary-color: 'var(--secondary-background-color)' + paper-slider-disabled-active-color: 'var(--disabled-text-color)' + paper-slider-disabled-secondary-color: 'var(--disabled-text-color)' +# Google colors + google-red-500: '#E45E65' + google-green-500: '#39E949' + + +darkcyan: + # Main colors that can be changed + primary-color: "#00bcd4" + disabled-text-color: "#545454" + divider-color: "rgba(255, 255, 255, 0.12)" + paper-card-background-color: "#4e4e4e" + paper-grey-200: "#191919" + paper-item-icon-color: "#d3d3d3" + paper-listbox-background-color: "#202020" + paper-listbox-color: "#FFFFFF" + primary-background-color: "#303030" + primary-text-color: "#cfcfcf" + secondary-background-color: "#2b2b2b" + secondary-text-color: "#04a7bc" + # Colors based on variables, see above + label-badge-background-color: "var(--secondary-background-color)" + label-badge-text-color: "var(--text-primary-color)" + paper-card-header-color: "#var(--paper-item-icon-color)" + paper-grey-50: "var(--primary-text-color)" + paper-item-icon-active-color: "var(--primary-color)" + paper-item-icon_-_color: "var(--primary-text-color)" + paper-slider-active-color: "var(--primary-color)" + paper-slider-knob-color: "var(--primary-color)" + paper-slider-knob-start-color: "var(--primary-color)" + paper-slider-pin-color: "var(--primary-color)" + paper-slider-secondary-color: "var(--light-primary-color)" + paper-toggle-button-checked-ink-color: "var(--dark-primary-color)" + paper-toggle-button-checked-button-color: "var(--primary-color)" + paper-toggle-button-checked-bar-color: "var(--light-primary-color)" + paper-toggle-button-unchecked-bar-color: "var(--primary-text-color)" + +solarized: + primary-color: "#2aa198" + disabled-text-color: "#859900" + divider-color: "#586e75" #"rgba(255, 255, 255, 0.12)" + paper-card-background-color: "#002b36" + paper-grey-200: "#586e75" + paper-item-icon-color: "#b58900" + paper-listbox-background-color: "#002b36" + paper-listbox-color: "#b58900" + primary-background-color: "#073642" + primary-text-color: "#839496" + secondary-background-color: "#073642" + secondary-text-color: "#859900" + text-primary-color: "#839496" + label-badge-background-color: "var(--secondary-background-color)" + label-badge-text-color: "var(--text-primary-color)" + paper-card-header-color: "#cb4b16" + paper-grey-50: "#b58900" + paper-item-icon-active-color: "#dc322f" + paper-item-icon_-_color: "#FF00FF" # no clue + paper-slider-active-color: "#dc322f" + paper-slider-knob-color: "#dc322f" + paper-slider-knob-start-color: "#b58900" + paper-slider-pin-color: "#FF00FF" # no clue + paper-slider-secondary-color: "#dc322f" + paper-toggle-button-checked-ink-color: "#dc322f" + paper-toggle-button-checked-button-color: "#dc322f" + paper-toggle-button-checked-bar-color: "#cb4b16" + paper-toggle-button-unchecked-bar-color: "#b58900" + table-row-background-color: "#002b36" + table-row-alternative-background-color: "#073642" + google-red: "#dc322f" + google-green: "#859900" + google-blue: "#268bd2" + google-yellow: "#b58900" + accent-color: "#cb4b16" + paper-green: "#859900" + paper-blue: "#268bd2" + paper-orange: "#cb4b16" + + +wood: + primary-color: "#6B3A1F" + disabled-text-color: "#A58456" + divider-color: "#EDE4D8" #"rgba(255, 255, 255, 0.15)" + dark-primary-color: "#592A13" + + primary-background-color: "#C4AD92" + primary-text-color: "#FFFFFF" + secondary-background-color: "#675335" + secondary-text-color: "#6B3A1F" + text-primary-color: "#693A23" + + label-badge-background-color: "var(--primary-background-color)" + label-badge-text-color: "var(--text-primary-color)" + + paper-card-background-color: "#A58456" + paper-grey-50: "#6B3A1F" + paper-grey-200: "#DDD4C8" + paper-item-icon-color: "#6B3A1F" + paper-listbox-background-color: "#A58456" + paper-listbox-color: "#6B3A1F" + + paper-card-header-color: "#EDE4D8" + + paper-item-icon-active-color: "#F7C02A" + paper-item-icon_-_color: "#FF00FF" + + paper-slider-active-color: "#A56521" + paper-slider-knob-color: "#A56521" + paper-slider-knob-start-color: "#6B3A1F" + paper-slider-pin-color: "#FF00FF" + paper-slider-secondary-color: "#A06020" + + paper-toggle-button-checked-ink-color: "#A56521" + paper-toggle-button-checked-button-color: "#A56521" + paper-toggle-button-checked-bar-color: "#EDE4D8" + paper-toggle-button-unchecked-bar-color: "#EDE4D8" + + table-row-background-color: "#A58456" + table-row-alternative-background-color: "#C67A2E" + + google-red: "#A56521" + google-green: "#A58456" + google-blue: "#268BD2" + google-yellow: "#6B3A1F" + accent-color: "#EDE4D8" + paper-green: "#A58456" + paper-blue: "#268BD2" + paper-orange: "#EDE4D8" + + + +PmxMononight: + # MyVariables + base-hue: '220' #Controls the base (and accent) color hue (0-360) | 0=Red 60=Yellow 120=Green 180=Cyan 240=Blue 300=Magenta 360=Red + base-sat: '16%' #Controls the saturation of the theme (0%-100%) | 0%=Grey 100%=Full Saturation + # MyVar + huesat: 'var(--base-hue), var(--base-sat),' + # Primary Color + primary-color: 'hsl(var(--huesat) 20%)' + # Backgrounds + primary-background-color: 'var(--primary-color)' + secondary-background-color: 'hsl(var(--huesat) 16%)' + paper-listbox-background-color: 'var(--primary-color)' + paper-card-background-color: 'hsl(var(--huesat) 12%)' + paper-dialog-background-color: 'var(--paper-card-background-color)' + table-row-background-color: 'hsl(var(--huesat) 12%)' + table-row-alternative-background-color: 'hsl(var(--huesat) 10%)' + # Devider + divider-color: 'hsla(0, 0%, 0%, 0)' + dark-divider-opacity: '0' + light-divider-opacity: '0' + # Text colors + primary-text-color: 'hsl(var(--huesat) 60%)' + text-primary-color: 'hsl(var(--huesat) 60%)' + secondary-text-color: 'hsl(var(--huesat) 60%)' + disabled-text-color: 'hsl(var(--huesat) 70%)' + sidebar-text_-_color: 'hsl(var(--huesat) 90%)' + sidebar-text-color: 'hsl(var(--huesat) 90%)' + paper-card-header-color: 'hsl(var(--base-hue), 90%, 50%)' + # Text Adjustments + paper-font-headline_-_letter-spacing: '-0.5px' + paper-font-headline_-_font-weight: '500' + paper-font-body1_-_font-weight: '500' + # Nav Menu + paper-listbox-color: 'hsl(var(--huesat) 50%)' + paper-grey-50: 'hsl(var(--huesat) 50%)' + paper-grey-200: 'hsla(var(--huesat) 26%)' + # Paper card + paper-item-icon-color: 'hsl(var(--huesat) 30%)' + paper-item-icon-active-color: 'var(--paper-item-icon-color)' + paper-item-icon_-_color: 'var(--paper-item-icon-color)' + paper-item-selected_-_background-color: 'hsla(0, 0%, 0%, 0.2)' + paper-tabs-selection-bar-color: 'hsla(0, 0%, 0%, 0.2)' + # Labels + label-badge-red: 'hsla(0, 0%, 0%, 0)' + label-badge-border-color: 'var(--label-badge-red)' + label-badge-background-color: 'var(--paper-card-background-color)' + label-badge-text-color: 'var(--primary-text-color)' + # Shadows + shadow-elevation-2dp_-_box-shadow: 'inset 0px 0px 0px 4px hsl(var(--huesat) 18%)' + shadow-elevation-16dp_-_box-shadow: 'inset 0px 0px 0px 4px hsl(var(--huesat) 28%)' + # Switches + paper-toggle-button-checked-button-color: 'hsl(var(--base-hue), 90%, 50%)' + paper-toggle-button-checked-bar-color: 'hsl(var(--huesat) 25%)' + paper-toggle-button-unchecked-button-color: 'hsl(var(--huesat) 25%)' + paper-toggle-button-unchecked-bar-color: 'hsl(var(--huesat) 5%)' + # Sliders + paper-slider-knob-color: 'hsl(var(--base-hue), 90%, 50%)' + paper-slider-knob-start-color: 'hsl(var(--base-hue), 80%, 25%)' + paper-slider-pin-color: 'hsl(var(--base-hue), 90%, 50%)' + paper-slider-active-color: 'hsl(var(--base-hue), 90%, 50%)' + paper-slider-container-color: 'hsl(var(--huesat) 28%)' + paper-slider-secondary-color: 'hsl(var(--huesat) 90%)' + paper-slider-disabled-active-color: 'hsl(var(--base-hue), 80%, 25%)' + paper-slider-disabled-secondary-color: 'hsl(var(--base-hue), 80%, 25%)' + paper-dialog-color: 'hsl(var(--base-hue), 20%, 80%)' + + +christmas: +#Main colors + primary-color: '#3C8D0D' # Header + accent-color: '#d32f2f' # Accent color + dark-primary-color: 'var(--accent-color)' # Hyperlinks + light-primary-color: 'var(--accent-color)' # Horizontal line in about + +#Text colors + primary-text-color: '#000000' # Primary text colour, here is referencing dark-primary-color + text-primary-color: 'var(--primary-text-color)' # Primary text colour + secondary-text-color: '#5294E2' # For secondary titles in more info boxes etc. + disabled-text-color: '#7F848E' # Disabled text colour + label-badge-border-color: 'green' # Label badge border, just a reference value + +#Background colors + primary-background-color: '#ff7878' # Settings background + secondary-background-color: '#d32f2f' # Main card UI background + divider-color: 'rgba(0, 0, 0, .12)' # Divider + +#Table rows + table-row-background-color: '#353840' # Table row + table-row-alternative-background-color: '#3E424B' # Table row alternative + +#Nav Menu + paper-listbox-color: 'var(--primary-color)' # Navigation menu selection hoover + paper-listbox-background-color: '#ffffff' # Navigation menu background + paper-grey-50: 'var(--primary-text-color)' + paper-grey-200: '#ffffff' # Navigation menu selection + +#Paper card + paper-card-header-color: 'var(--accent-color)' # Card header text colour + paper-card-background-color: '#ffffff' # Card background colour + paper-dialog-background-color: '#ff0000' # Card dialog background colour + paper-item-icon-color: '#74d680' #'var(--primary-text-color)' # Icon color + paper-item-icon-active-color: '#ff7878' # Icon color active + paper-item-icon_-_color: 'green' + paper-item-selected_-_background-color: '#74d680' # Popup item select + paper-tabs-selection-bar-color: 'green' + +#Labels + label-badge-red: 'var(--accent-color)' # References the brand colour label badge border + label-badge-text-color: 'var(--primary-text-color)' # Now same as label badge border but that's a matter of taste + label-badge-background-color: '#ffffff' # Same, but can also be set to transparent here + +#Switches + paper-toggle-button-checked-button-color: 'var(--accent-color)' + paper-toggle-button-checked-bar-color: 'var(--accent-color)' + paper-toggle-button-checked-ink-color: 'var(--accent-color)' + paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)' + paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)' + paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)' + +#Sliders + paper-slider-knob-color: 'var(--accent-color)' + paper-slider-knob-start-color: 'var(--accent-color)' + paper-slider-pin-color: '#378b29' #'var(--accent-color)' + paper-slider-active-color: '74d680' #'var(--accent-color)' + paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat' + paper-slider-secondary-color: 'var(--secondary-background-color)' + paper-slider-disabled-active-color: 'var(--disabled-text-color)' + paper-slider-disabled-secondary-color: 'var(--disabled-text-color)' + +#Google colors + google-red-500: '#E45E65' + google-green-500: '#39E949' diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml new file mode 100644 index 0000000..48f6fbe --- /dev/null +++ b/ui-lovelace.yaml @@ -0,0 +1,1457 @@ +title: My Awesome Home + +# Exclude entities from "Unused entities" view +excluded_entities: + - weblink.router +resources: + - url: /local/plan-coordinates.js?v=2.1 + type: module + - url: /local/monster-card.js?v=2.1 + type: module +# background: center / contain no-repeat url("/local/background.png") +background: center / cover no-repeat url("/local/background.png") fixed +views: + + + +#################################################################################################### + + + - icon: mdi:floor-plan + title: Floorplan + # panel: true + cards: + - type: vertical-stack + cards: + - type: entities + title: Date & Time + # background: rgba( 0, 0, 0, 0.4) + background: rgba(0,0,0,0.4) + entities: + - entity: sensor.time + - entity: sensor.date + - type: weather-forecast + entity: weather.dark_sky + - type: glance + title: Presence + entities: + - entity: device_tracker.iphoneandrea + name: Andrea + - entity: device_tracker.rinas_iphone + name: Rina + + - type: entities + title: Temperatures + entities: + - sensor.eingang + - sensor.buero + - sensor.living + - sensor.kueche + - sensor.kind2 + - sensor.flur_og + - sensor.kind1 + - sensor.eltern + - sensor.sdb_eltern + - sensor.sdb_kinder + - sensor.speicher + + + + - type: entities + title: Radio + entities: + - switch.rdoliving + - input_number.volume_radio_living + - switch.rdochparents + - input_number.volume_radio_parents + + + - type: vertical-stack + cards: + + - type: picture-elements + image: /local/Floor0V.PNG + elements: + - type: state-icon + tap_action: toggle + entity: light.cave_couloir + style: + top: 52% + left: 38% + - type: state-icon + tap_action: toggle + entity: light.hall_entree + style: + top: 70% + left: 38% + + - type: state-icon + tap_action: toggle + entity: light.reserve + style: + top: 70% + left: 12% + - type: state-icon + tap_action: toggle + entity: light.technique + style: + top: 34% + left: 30% + - type: state-icon + tap_action: toggle + entity: light.spots_escalier_01 + style: + top: 50% + left: 15% + - type: state-icon + tap_action: toggle + entity: light.spots_escalier_01_bis + style: + top: 55% + left: 15% + - type: state-icon + tap_action: toggle + entity: light.wc_cave + style: + top: 44% + left: 28% + - type: state-icon + tap_action: toggle + entity: light.lum_ext_avant + style: + top: 85% + left: 30% + - type: state-icon + tap_action: toggle + entity: light.lamp_ext_arr + style: + top: 15% + left: 50% + - type: state-icon + tap_action: toggle + entity: light.garage + style: + top: 52% + left: 75% + - type: state-icon + tap_action: toggle + entity: lock.home + style: + top: 74% + left: 38% +#Missing prise Avant & arrière + - type: state-icon + tap_action: toggle + entity: switch.rdoliving + style: { top: 57% , left: 38% } + ########################################################################## + #DOORS######### + + - type: image + entity: binary_sensor.local_technique_fenetre + image: /local/exclamation.png + style: { top: 20%, left: 23%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.local_technique_porte + image: /local/exclamation.png + style: { top: 20%, left: 39%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.garage_porte + image: /local/exclamation.png + style: { top: 20%, left: 63%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.garage_fenetre + image: /local/exclamation.png + style: { top: 20%, left: 78%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.garage + image: /local/exclamation.png + style: { top: 75%, left: 72%, width: 10% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.entree + image: /local/exclamation.png + style: { top: 79%, left: 38%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.reserve + image: /local/exclamation.png + style: { top: 79%, left: 22%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + + - type: state-label + entity: sensor.ss_temp_rdc_18 + style: { top: 51%, left: 45%,transform: rotate(90deg)} + + + ########################################################################## + #Rolladen######### + - type: horizontal-stack + cards: + - type: entities + entities: + - entity: cover.local_technique_fenetre + name: LTF + - entity: cover.local_technique_porte + name: LTP + icon: mdi:door + - type: entities + entities: + - entity: cover.garage_porte + name: GP + icon: mdi:door + - entity: cover.garage_fenetre + name: GF + + + - type: vertical-stack + cards: + + - type: picture-elements + image: /local/Floor1V.PNG + elements: + + - type: state-icon + tap_action: toggle + entity: light.spots_cuisine_ilot + style: { top: 30%, left: 50% } + + + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.spots_cuisine + style: { top: 30%, left: 23% } + - type: state-icon + tap_action: toggle + entity: switch.armoire_cuisine + style: { top: 30%, left: 87% } + - type: state-icon + tap_action: toggle + entity: switch.armoire_sam + style: { top: 50%, left: 87% } + - type: state-icon + tap_action: toggle + entity: switch.lampe_canape + style: { top: 68%, left: 87% } + - type: state-icon + tap_action: toggle + entity: switch.armoire_tv + style: { top: 71%, left: 51% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.spots_living + style: { top: 65%, left: 58% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.spots_sam + style: { top: 50%, left: 58% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.spots_millieux + style: { top: 57%, left: 72% } + - type: state-icon + tap_action: toggle + entity: light.buro + style: { top: 70%, left: 28% } + - type: state-icon + tap_action: toggle + entity: switch.prise_buero_arriere + style: { top: 70%, left: 48% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.couloir_1er + style: { top: 50%, left: 40% } + - type: state-icon + tap_action: toggle + entity: light.lampe_wc + style: { top: 60%, left: 19% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.lumiere_sam + style: { top: 50%, left: 70% } + - type: state-icon + tap_action: toggle + entity: light.lampe_terrasse + style: { top: 15%, left: 43% } + - type: state-icon + tap_action: toggle + entity: switch.terrasse + style: { top: 15%, left: 65% } + - type: state-icon + tap_action: toggle + entity: switch.prise_sol_escalier + style: { top: 50%, left: 33% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.centre_living + style: { top: 60%, left: 74% } + - type: state-icon + tap_action: toggle + entity: switch.rdoliving + style: { top: 25%, left: 82% } + - type: state-label + entity: sensor.ss_temp_1er_14 + style: { top: 54%, left: 37%} + + + ############################################################################## + + ####DOORS##### + + + - type: image + entity: binary_sensor.cuisine_la + image: /local/exclamation.png + style: { top: 20%, left: 23%, width: 5% } + state_filter: + "off": opacity(100%) + "on": opacity(1%) + - type: image + entity: binary_sensor.cuisinie_lm + image: /local/exclamation.png + style: { top: 20%, left: 42%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.cuisinie_rm + image: /local/exclamation.png + style: { top: 20%, left: 59%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.cuisinie_ra + image: /local/exclamation.png + style: { top: 20%, left: 78%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.living_l + image: /local/exclamation.png + style: { top: 75%, left: 69%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.living_r + image: /local/exclamation.png + style: { top: 75%, left: 79%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.buro + image: /local/exclamation.png + style: { top: 79%, left: 29%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + + - type: horizontal-stack + cards: + - type: entities + entities: + - entity: cover.kueche_links_a + name: CLA + icon: mdi:door + - entity: cover.kueche_links_m + name: CLM + icon: mdi:door + - type: entities + entities: + - entity: cover.kueche_rechts_m + name: CRM + icon: mdi:door + - entity: cover.kueche_rechts_a + name: CRA + - type: horizontal-stack + cards: + - type: entities + entities: + - entity: cover.buero + name: Living + icon: mdi:door + - type: entities + entities: + - entity: cover.living + name: Buro + + - type: vertical-stack + cards: + + - type: picture-elements + image: /local/Floor2V.PNG + elements: + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.chambre_ar + style: {top: 32%, left: 30% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.chambre_av + style: {top: 70%, left: 30% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.couloir_2e + style: {top: 49%, left: 38% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.dressing + style: {top: 40%, left: 80% } + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.escalier_lumieres_centrale + style: {top: 49%, left: 25% } + - type: state-icon + tap_action: toggle + entity: light.led_dressing + style: {top: 40%, left: 91%} + - type: state-icon + tap_action: toggle + entity: light.led_dressing + style: {top: 40%, left: 73%} + - type: state-icon + tap_action: toggle + entity: light.led_sdb_p + style: {top: 31%,left: 51%} + - type: state-icon + tap_action: toggle + entity: light.lit_g + style: + top: 68% + left: 88% + - type: state-icon + tap_action: toggle + entity: light.lit_d + style: + top: 57% + left: 88% + - type: state-icon + tap_action: toggle + entity: light.lumiere_sdb_e + style: + top: 43% + left: 56% + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.spots_douche_p + style: + top: 31% + left: 59% + - type: state-icon + tap_action: toggle + hold-action: more-info + entity: light.spots_sdb_p + style: + top: 25% + left: 67% + - type: state-icon + tap_action: toggle + entity: light.mirroir_parents + style: + top: 72% + left: 56% + - type: state-icon + tap_action: toggle + entity: light.mirroir_sdb_p + style: + top: 25% + left: 51% + - type: state-icon + tap_action: toggle + entity: light.spots_escalier_12 + style: + top: 55% + left: 15% + - type: state-icon + tap_action: toggle + entity: light.spots_escalier_23 + style: + top: 43% + left: 15% + - type: state-icon + tap_action: toggle + entity: switch.rdochparents + style: + top: 55% + left: 65% + # - type: state-icon + + ##################### + # DOOOORS + ##################### + + + - type: image + entity: binary_sensor.chac_ar + image: /local/exclamation.png + style: { top: 20%, left: 30%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.sdb_p + image: /local/exclamation.png + style: { top: 20%, left: 72%, width: 5% } + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.chac_parents + image: /local/exclamation.png + style: { top: 75%, left: 71%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + - type: image + entity: binary_sensor.chac_av + image: /local/exclamation.png + style: { top: 79%, left: 29%, width: 5% } + color: red + state_filter: + "off": opacity(1%) + "on": opacity(100%) + +################## +## Rolladen +################## + + - type: state-icon + entity: cover.chac_enfant_arriere + style: { top: 10%, left: 20%, width: 5% } + + - type: icon + icon: mdi:arrow-up + entity: cover.chac_enfant_arriere + tap_action: call-service + service: cover.open_cover + style: { top: 10%, left: 27%, width: 5% } + state_filter: + "open": opacity(5%) + "closed": opacity(100%) + - type: icon + icon: mdi:stop + entity: cover.chac_enfant_arriere + tap_action: call-service + service: cover.stop_cover + style: { top: 10%, left: 32%, width: 5% } + + - type: icon + icon: mdi:arrow-down + entity: cover.chac_enfant_arriere + tap_action: call-service + service: cover.close_cover + style: { top: 10%, left: 37%, width: 5% } + state_filter: + "open": opacity(100%) + "closed": opacity(5%) + + + + + - type: state-icon + entity: cover.chac_enfant_route + style: { top: 90%, left: 20%, width: 5% } + + - type: icon + icon: mdi:arrow-up + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.open_cover + style: { top: 90%, left: 27%, width: 5% } + state_filter: + "open": opacity(5%) + "closed": opacity(100%) + - type: icon + icon: mdi:stop + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.stop_cover + style: { top: 90%, left: 32%, width: 5% } + + - type: icon + icon: mdi:arrow-down + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.close_cover + style: { top: 90%, left: 37%, width: 5% } + state_filter: + "open": opacity(100%) + "closed": opacity(5%) + + + + - type: state-icon + entity: cover.chac_enfant_route + style: { top: 10%, left: 20%, width: 5% } + + - type: icon + icon: mdi:arrow-up + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.open_cover + style: { top: 10%, left: 27%, width: 5% } + state_filter: + "open": opacity(5%) + "closed": opacity(100%) + - type: icon + icon: mdi:stop + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.stop_cover + style: { top: 10%, left: 32%, width: 5% } + + - type: icon + icon: mdi:arrow-down + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.close_cover + style: { top: 10%, left: 37%, width: 5% } + state_filter: + "open": opacity(100%) + "closed": opacity(5%) + + + + - type: state-icon + entity: cover.chac_enfant_route + style: { top: 10%, left: 20%, width: 5% } + + - type: icon + icon: mdi:arrow-up + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.open_cover + style: { top: 10%, left: 27%, width: 5% } + state_filter: + "open": opacity(5%) + "closed": opacity(100%) + - type: icon + icon: mdi:stop + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.stop_cover + style: { top: 10%, left: 32%, width: 5% } + + - type: icon + icon: mdi:arrow-down + entity: cover.chac_enfant_route + tap_action: call-service + service: cover.close_cover + style: { top: 10%, left: 37%, width: 5% } + state_filter: + "open": opacity(100%) + "closed": opacity(5%) + + + # - entity: cover.chac_enfant_route + # name: CCR + # icon: mdi:door + # - entity: cover.chac_enfant_arriere + # name: CCA + # icon: mdi:door + # - type: entities + # entities: + # - entity: cover.sdb_parents + # name: SDBP + # icon: mdi:door + # - entity: cover.chac_parents + # name: CCP + + + +#################################################################################################### + - title: Cave + icon: mdi:numeric-0-box-multiple-outline + cards: + - type: entities + title: Rolladen + entities: + - entity: cover.cave + name: Cave Global + - type: divider + style: + height: 1px + width: 80% + margin-left: auto + margin-right: auto + background: '#62717b' + - entity: cover.local_technique_fenetre + name: Local Technique Fenêtre + - entity: cover.local_technique_porte + name: Local Technique Porte + - entity: cover.garage_fenetre + name: Garage Fenêtre + - entity: cover.garage_porte + name: Garage Porte + - type: horizontal-stack + cards: + - type: entities + entities: + - entity: light.hall_entree + name: Eingang + - entity: light.cave_couloir + name: Flur + - entity: light.technique + name: Technik + - entity: light.wc_cave + name: WC + - type: entities + entities: + - entity: light.reserve + name: Reserve + - entity: light.garage + name: Garage + - entity: light.lum_ext_avant + name: Front + - entity: light.lamp_ext_arr + name: Garten + - entity: light.spots_escalier_01 + name: Treppen 0 - 1 + icon: mdi:stairs + - entity: light.spots_escalier_01_bis + name: Treppen 0 - 1 Lamper + icon: /local/treppe_bis.png +########################################################################### + - title: 1er + icon: mdi:numeric-1-box-multiple-outline + cards: + # - type: vertical-stack + # cards: + # - type: entities + # title: Date & Time + # # background: rgba( 0, 0, 0, 0.4) + # background: rgba(0,0,0,0.4) + # entities: + # - entity: sensor.time + # - entity: sensor.date + # - type: weather-forecast + # entity: weather.dark_sky + # - type: glance + # title: Presence + # entities: + # - entity: device_tracker.iphoneandrea + # name: Andrea + # - entity: device_tracker.rinas_iphone + # name: Rina + + - type: entities + title: Radio + entities: + - switch.rdoliving + - input_number.volume_radio_living + - switch.rdochparents + - input_number.volume_radio_parents + - type: entities + id: rol1stfloor + title: Rolladen + entities: + - entity: cover.1er_etage + name: Global + icon: mdi:numeric-1-box-multiple-outline + - type: section + label: Front + style: + height: 3px + - entity: cover.buero + name: Buro + icon: mdi:format-align-justify + - entity: cover.living + name: Living + icon: mdi:format-align-justify + - type: section + label: Küche + style: + height: 3px + - entity: cover.kueche_links_a + name: Links Aussen + icon: mdi:format-align-justify + - entity: cover.kueche_links_m + name: Links Mitte + icon: mdi:format-align-justify + - entity: cover.kueche_rechts_m + name: Rechts Mitte + icon: mdi:format-align-justify + - entity: cover.kueche_rechts_a + name: Links Aussen + icon: mdi:format-align-justify + + + + ####### LIVING ###### + + - type: vertical-stack + cards: + - type: entities + title: Living + entities: + - type: divider + style: + height: 1px + width: 80% + margin-left: auto + margin-right: auto + background: '#62717b' + - entity: light.centre_living + icon: mdi:ceiling-light + name: Center + - entity: light.spots_living + icon: mdi:spotlight-beam + name: Spots + - entity: switch.lampe_canape + icon: mdi:sofa + name: Couch + - entity: switch.armoire_tv + icon: mdi:television + Name: TV + - entity: light.led_living + name: LED + icon: mdi:led-strip + +####### SAM ###### + + - type: entities + title: Salle à manger + entities: + - type: divider + style: + height: 1px + width: 80% + margin-left: auto + margin-right: auto + background: '#62717b' + + - entity: light.lumiere_sam + name: Center + icon: mdi:ceiling-light + - entity: light.spots_sam + name: Spots + icon: mdi:spotlight-beam + - entity: switch.armoire_sam + name: Armoire + icon: mdi:file-cabinet + - entity: light.led_sam + name: LED + icon: mdi:led-strip + +####### CUISINE ###### + + - type: entities + title: Cuisine + entities: + - type: divider + style: + height: 1px + width: 80% + margin-left: auto + margin-right: auto + background: '#62717b' + - entity: light.spots_cuisine_ilot + name: Ilot + icon: mdi:spotlight + - entity: light.spots_cuisine + name: Cuisine + icon: mdi:spotlight-beam + - entity: switch.armoire_cuisine + name: Armoire + icon: mdi:file-cabinet + - entity: light.led_cuisine + name: LED + icon: mdi:led-strip + +####### GLOBAL ###### + + - type: vertical-stack + cards: + - type: entities + title: Lights + entities: + - type: divider + style: + height: 1px + width: 80% + margin-left: auto + margin-right: auto + background: '#62717b' + - entity: light.buro + name: Buro + icon: mdi:office + - entity: light.centre_living + name: Center + icon: mdi:border-vertical + + - entity: light.lampe_wc + name: WC + icon: mdi:toilet + - entity: light.spots_escalier_01 + name: 0 - 1 + icon: mdi:stairs + - entity: light.spots_escalier_12 + name: 1 - 2 + icon: mdi:stairs + - entity: light.couloir_1er + name: Flur + icon: mdi:select + + + - type: vertical-stack + cards: + - type: markdown + title: Temperatures + content: " " + - type: entities + entities: + - entity: sensor.buero + name: Buro + - entity: sensor.living + name: Living + + # - type: horizontal-stack + # cards: + - type: sensor + entity: sensor.living + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + - type: sensor + entity: sensor.buero + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + - type: sensor + entity: sensor.kueche + hours to show: 48 + accuracy: 5 + line_color: "#039be5" +########################################################################### +########################################################################### +########################################################################### +#2nd + + - title: 2nd + icon: mdi:numeric-2-box-multiple-outline + cards: + # - type: vertical-stack + # cards: + # - type: entities + # title: Date & Time + # # background: rgba( 0, 0, 0, 0.4) + # background: rgba(0,0,0,0.4) + # entities: + # - entity: sensor.time + # - entity: sensor.date + # - type: weather-forecast + # entity: weather.dark_sky + # - type: glance + # title: Presence + # entities: + # - entity: device_tracker.iphoneandrea + # name: Andrea + # - entity: device_tracker.rinas_iphone + # name: Rina + + - type: entities + title: Radio + entities: + - switch.rdoliving + - input_number.volume_radio_living + - switch.rdochparents + - input_number.volume_radio_parents + + - type: entities + id: rol2ndfloor + title: Rolladen + entities: + - entity: cover.2ieme_etage + name: Global + icon: mdi:numeric-2-box-multiple-outline + - type: section + label: Kinder + style: + height: 3px + + - entity: cover.chac_enfant_route + name: Rolladen Strasse + icon: mdi:format-align-justify + - entity: binary_sensor.chac_av + name: Fenter Strasse + + - entity: cover.chac_enfant_arriere + name: Hinten + icon: mdi:format-align-justify + - type: section + label: Eltern + style: + height: 3px + + - entity: cover.chac_parents + name: Schlafzimmer + icon: mdi:format-align-justify + - entity: cover.sdb_parents + name: Badezimmer + icon: mdi:format-align-justify + +###################################### +#Lights + + - type: vertical-stack + cards: + - type: entities + title: Kinder + icon: ceiling-light + entities: + - type: section + label: Front + style: + height: 3px + - entity: light.chambre_av + icon: mdi:ceiling-light + name: Licht + - entity: switch.prise_ch_enfant_av + icon: mdi:power-socket-eu + name: Steckdose + - type: section + label: Hinten + style: + height: 3px + - entity: light.chambre_ar + icon: mdi:ceiling-light + name: Licht + - entity: switch.prise_ch_enfant_arr + icon: mdi:sofa + name: Steckdose + + + - type: vertical-stack + cards: + - type: entities + title: Eltern + icon: ceiling-light + entities: + - type: section + label: Schlafzimmer + style: + height: 3px + - entity: light.spots_parents + icon: mdi:spotlight-beam + name: Spots + - entity: light.led_parents + icon: mdi:led-strip + name: LED + - entity: light.mirroir_parents + icon: mdi:tablet + name: Coiffeuse + - entity: light.lit_d + icon: mdi:wall-sconce + name: Andrea + - entity: light.lit_g + icon: mdi:wall-sconce + name: Rina + + - type: section + label: Dressing + style: + height: 3px + - entity: light.dressing + icon: mdi:ceiling-light + name: Licht + - entity: light.led_dressing + icon: mdi:led-strip + name: LED + + - type: section + label: Badezimmer + style: + height: 3px + - entity: light.spots_sdb_p + icon: mdi:ceiling-light + name: Licht + - entity: light.spots_douche_p + icon: mdi:shower-head + name: Dusche + - entity: light.led_sdb_p + icon: mdi:led-strip + name: LED + - entity: light.mirroir_sdb_p + icon: mdi:tablet + name: Spiegel + + - type: vertical-stack + cards: + - type: entities + title: Badezimmer Kinder + entities: + - entity: light.lumiere_sdb_e + icon: mdi:ceiling-light + name: Licht + - entity: light.mirroir_sdb_enfants + icon: mdi:tablet + name: Spiegel + + - type: entities + title: Licht + entities: + - entity: light.couloir_2e + name: Flur + + - entity: light.spots_escalier_12 + name: 1-2 + icon: mdi:stairs + - entity: light.spots_escalier_23 + name: 2-3 + icon: mdi:stairs + + +########################################################################### +########################################################################### +########################################################################### +#3rd + + + - title: 3rd + icon: mdi:numeric-3-box-multiple-outline + cards: + # - type: vertical-stack + # cards: + # - type: entities + # title: Date & Time + # # background: rgba( 0, 0, 0, 0.4) + # background: rgba(0,0,0,0.4) + # entities: + # - entity: sensor.time + # - entity: sensor.date + # - type: weather-forecast + # entity: weather.dark_sky + # - type: glance + # title: Presence + # entities: + # - entity: device_tracker.iphoneandrea + # name: Andrea + # - entity: device_tracker.rinas_iphone + # name: Rina + + - type: entities + title: Radio + entities: + - switch.rdoliving + - input_number.volume_radio_living + - switch.rdochparents + - input_number.volume_radio_parents + +###################################### +#Lights + + - type: vertical-stack + cards: + - type: entities + title: Licht + icon: ceiling-light + entities: + - entity: light.escalier_lumieres_centrale + icon: mdi:ceiling-light + name: Escalier + - entity: light.combles + icon: mdi:spotlight-beam + name: Speicher + - entity: light.local_technique + icon: mdi:water-pump + name: Technik + + + - title: Synology Status + icon: mdi:server + cards: + + + - type: vertical-stack + cards: + - type: markdown + title: Syno global + content: " " + # - type: horizontal-stack + # cards: + - type: sensor + entity: sensor.memory_usage_real + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: Memory Usage + - type: horizontal-stack + cards: + # icon: mdi: + - type: sensor + entity: sensor.network_down + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: Download + - type: sensor + entity: sensor.network_up + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: Upload + + + + - type: vertical-stack + cards: + - type: markdown + title: CPU Usage + content: " " + - type: horizontal-stack + cards: + - type: sensor + entity: sensor.cpu_load_total + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + - entity: sensor.cpu_load_system + type: sensor + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + - type: horizontal-stack + cards: + - entity: sensor.cpu_load_user + type: sensor + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + - entity: sensor.cpu_load_other + type: sensor + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + + - type: vertical-stack + cards: + - type: markdown + title: Disk Temperatures + content: " " + - type: horizontal-stack + cards: + - type: sensor + entity: sensor.temperature_sda + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: SDC + icon: mdi:harddisk + - type: sensor + entity: sensor.temperature_sdb + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: SDC + icon: mdi:harddisk + - type: horizontal-stack + cards: + + - type: sensor + entity: sensor.temperature_sdc + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: SDC + icon: mdi:harddisk + - type: sensor + entity: sensor.temperature_sdd + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: SDC + icon: mdi:harddisk + - type: vertical-stack + cards: + - type: entities + title: Disk Space + entities: + - entity: sensor.total_size_volume_1 + name: Available Space + - entity: sensor.used_space_volume_1 + name: Used Space + - type: gauge + entity: sensor.volume_used_volume_1 + title: Volume Use + + - type: horizontal-stack + cards: + - type: entities + title: Disk Status + entities: + - sensor.status_sda + - sensor.status_sdb + - sensor.status_sdc + - sensor.status_sdd + + + - type: entities + title: S.M.A.R.T Status + entities: + - sensor.status_smart_sda + - sensor.status_smart_sdb + - sensor.status_smart_sdc + - sensor.status_smart_sdd + + + + + - title: Network Devices + icon: mdi:network + cards: + - type: glance + title: Access Points + entities: + - entity: device_tracker.aplocaltechnique + name: Cave + - entity: device_tracker.apbureau + name: Living + - entity: device_tracker.apchambrearr + name: Deuxième + - type: vertical-stack + cards: + - type: markdown + title: Speedtest + content: " " + - type: sensor + entity: sensor.speedtest_ping + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: Ping + - type: horizontal-stack + cards: + - type: sensor + entity: sensor.speedtest_download + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: Down + - type: sensor + entity: sensor.speedtest_upload + hours_to_show: 48 + accuracy: 5 + line_color: "#039be5" + name: UP + + + + + - type: glance + title: Tablettes + entities: + - entity: device_tracker.ipaddeadonno + name: iPad + + + + ##################################################3 + + - title: Automations and scripts + id: at_sc + icon: mdi:robot + cards: + - type: entity-filter + id: etfilterradio + entities: + - group.residence_radio + - device_tracker.iphoneandrea + - device_tracker.iphonederina + state_filter: + - 'home' + card_config: + type: glance + title: People that are home + - type: entities + title: test + entities: + - entity: device_tracker.iphoneandrea + name: Andrea + - entity: device_tracker.rinas_iphone + name: Rina + - entity: script.calm_off + name: Calm Off + - entity: script.calm_on + name: Calm On + + - entity: switch.quiet_mode + name: Quiet Mode + - entity: automation.notify_about_phone_state + - entity: automation.open_blinds_at_dawn + - entity: automation.welcome_home_andrea + - entity: automation.welcome_home_rina + - entity: automation.doorstaate2 + - type: custom:monster-card + card: + type: entities + filter: + include: + - entity_id: automation.* + - type: custom:monster-card + card: + type: entities + filter: + include: + - entity_id: script.* + - type: iframe + url: hassio.local:3333 + + + + + - title: ARGBW + id: RGBW + icon: mdi:led-strip + cards: + + - type: entities + title: RGBW + entities: + - light.blue_65 + - light.blue_liv_35 + - light.rgbw_liv_31 + - light.rgbw_controller_sam_25 + - light.rgbw_sdb_61 \ No newline at end of file diff --git a/zones.yaml b/zones.yaml new file mode 100755 index 0000000..c2ed61b --- /dev/null +++ b/zones.yaml @@ -0,0 +1,17 @@ +#zones + +- name: BBT + latitude: !secret latitude_bbt + longitude: !secret longitude_bbt + radius: 100 + icon: mdi:school + +- name: Kadaster + latitude: !secret latitude_kad + longitude: !secret longitude_kad + icon: mdi:worker + +- name: Koerich + latitude: !secret latitude_koerich + longitude: !secret longitude_Koerich + icon: mdi:home-variant \ No newline at end of file