# Configure a default setup of Home Assistant (frontend, api, etc) #default_config: frontend: mobile_app: person: sun: system_health: updater: #input_boolean: #input_datetime: #input_number: #input_select: #input_text: # Uncomment this if you are using SSL/TLS, running in Docker container, etc. http: base_url: https://ha.bauer.tech # Di over some devices automatically #discovery: homeassistant: name: MyHome latitude: 49.369477 longitude: 10.9831468 auth_mfa_modules: - type: totp customize: cover.arbeitszimmer_martin_rollo: half_position: 16 cover.arbeitszimmer_rebecca_rollo: half_position: 16 cover.schlafzimmer_rollo_gross: half_position: 16 cover.schlafzimmer_rollo_klein: half_position: 16 cover.esszimmer_fenster_rollo: half_position: 25 cover.kuche_fenster_rollo: half_position: 25 cover.wohnzimmer_fenster_rollo: half_position: 25 cover.wohnzimmer_terrassentur_rollo: half_position: 25 # enable configuration editor config: zone: - name: Uni latitude: 49.573626 longitude: 11.029467 radius: 30 icon: mdi:office-building owntracks: max_gps_accuracy: 200 waypoints: false homekit: name: !secret homekit_name filter: include_domains: - scene history: exclude: domains: - automation - updater - scene ios: shopping_list: #http: # - base_url: ha.bauer.tech telegram_bot: - platform: webhooks parse_mode: html url: https://ha.bauer.tech api_key: !secret telegram_token allowed_chat_ids: - !secret telegram_chatid_martin trusted_networks: - 127.0.0.1/32 - 192.168.178.80 - 149.154.167.197/32 - 149.154.167.198/31 - 149.154.167.200/29 - 149.154.167.208/28 - 149.154.167.224/29 - 149.154.167.232/31 notify: - name: telegram_martin platform: telegram chat_id: !secret telegram_chatid_martin # Custom stuff dimmer: cover_half: long_click: duration: 0.6 switches: - switch.esszimmer_szene_0 - switch.esszimmer_szene_1 - switch.esszimmer_szene_2 - switch.esszimmer_szene_3 - switch.esszimmer_szene_4 - switch.esszimmer_szene_5 - switch.wohnzimmer_szene_0 - switch.wohnzimmer_szene_1 - switch.wohnzimmer_szene_2 - switch.wohnzimmer_szene_3 - switch.wohnzimmer_szene_4 - switch.wohnzimmer_szene_5 - switch.eingang_szene_2 - switch.eingang_szene_3 - switch.eingang_szene_4 - switch.eingang_szene_5 logger: default: info logs: custom_components.fhem: debug #custom_components: debug #custom_components.reconnecting_client: debug # Sensors #sensor: # Weather prediction # - platform: yr tts: - platform: watson_tts watson_apikey: !secret watson_api_key watson_url: https://gateway-lon.watsonplatform.net/text-to-speech/api voice: de-DE_BirgitVoice output_format: audio/flac output_audio_rate: 44100 knx: rate_limit: 20 tunneling: host: 192.168.178.65 port: 3671 fhem: host: localhost port: 7072 cul_device_name: CUL_HM zwave: usb_path: /dev/serial/by-id/usb-0658_0200-if00 network_key: "0xE0, 0x64, 0x50, 0x55, 0x20, 0x63, 0xC7, 0x05, 0x62, 0xD3, 0xEA, 0x91, 0x87, 0xE0, 0x1E, 0x74" lirc_network: - host: kitchenpi.fritz.box port: 2222 - host: bedroompi.fritz.box port: 2222 - host: esszimmerradio.fritz.box port: 8765 - host: musikserverWohnzimmerOben.fritz.box port: 8765 binary_sensor: - platform: lirc_network # sensor to show for each host if it is currently connected media_player: - platform: squeezebox_telnet host: server.fritz.box - platform: squeezebox_telnet host: musikserverWohnzimmerOben.fritz.box - platform: denonavr host: avreceiver.fritz.box vacuum: - platform: xiaomi_miio host: rockrobo.fritz.box token: !secret vacuum_token sensor: - platform: template sensors: motion_combined: friendly_name: Bewegung value_template: > {%- set pirs = {'Arbeitszimmer': states.binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung, 'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte, 'Eingang': states.binary_sensor.gang_bewegungsmelder_ost, 'Gang Hinten': states.binary_sensor.gang_bewegungsmelder_schlafzimmer, 'Gang Wohnzimmer': states.binary_sensor.gang_bewegungsmelder_wohnzimmer} %} {% for pir_name, pir in pirs.items() %} {% if as_timestamp(pir.last_changed) == as_timestamp(pirs.values() | map(attribute='last_changed') | max) %} {{ pir_name }} {% endif %} {% endfor %} - platform: time_date display_options: - 'time' - 'date' - 'date_time' - 'date_time_iso' - 'time_date' # - platform: history_stats # name: Pool Pumpe Heute # entity_id: switch.pool_pumpe # type: time # state: 'on' # start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}' # end: '{{ now() }}' # - platform: history_stats # name: Pool Pumpe Gestern # entity_id: switch.pool_pumpe # type: time # state: 'on' # start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}' # end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}' group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include_dir_merge_list scenes # Light groups light: - platform: group name: Küche & Esszimmer Lichter entities: - light.kuche_deckenlampe - light.esszimmer_deckenlampe_west - light.esszimmer_deckenlampe_mitte - light.kuche_links - light.kuche_rechts - light.kuche_vorne - platform: group name: Wohnzimmer Lichter entities: - light.wohnzimmer_deckenlampe - light.wohnzimmer_kugel - light.wohnzimmer_stehlampe - light.wohnzimmer_stehlampe_oben - light.wohnzimmer_regal_rechts - light.wohnzimmer_regal_links - platform: group name: Garten Lichter entities: - light.garten_spot_birke - light.garten_spot_magnolie - light.garten_spot_beet - light.garten_stehleuchte - light.aussen_terassenlicht