# Configure a default setup of Home Assistant (frontend, api, etc) default_config: # Uncomment this if you are using SSL/TLS, running in Docker container, etc. http: base_url: https://ha.bauer.tech # Discover 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: 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: 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: !secret knxd_host port: 3671 local_ip: !secret local_ip fhem: host: server port: 7072 cul_device_name: CUL_HM zwave: usb_path: /dev/zwave-stick network_key: "0xE0, 0x64, 0x50, 0x55, 0x20, 0x63, 0xC7, 0x05, 0x62, 0xD3, 0xEA, 0x91, 0x87, 0xE0, 0x1E, 0x74" lirc_network: - host: kitchenpi port: 2222 - host: bedroompi port: 2222 - host: esszimmerradio port: 8765 - host: musikserverWohnzimmerOben port: 8765 media_player: - platform: squeezebox_telnet host: server - platform: denonavr host: avreceiver vacuum: - platform: xiaomi_miio host: rockrobo 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 scenes.yaml