diff --git a/automations.yaml b/automations.yaml index e9bc8cd..24e0ed8 100644 --- a/automations.yaml +++ b/automations.yaml @@ -72,10 +72,12 @@ - kuche - schlafzimmer - kinderzimmer + data: {} - service: media_player.turn_off target: area_id: - wohnzimmer + data: {} - type: turn_off device_id: 6d1be741876624a70ab5b01b54c6fd6f entity_id: switch.kuche_musik @@ -83,6 +85,23 @@ - service: notify.mobile_app_le2123 data: message: Gute Nacht! + - service: media_player.play_media + target: + entity_id: media_player.raspiaudio_muse_luxe + data: + media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%21+Schlaf+gut. + media_content_type: provider + metadata: + title: Gute Nacht! Schlaf gut. + thumbnail: https://brands.home-assistant.io/_/picotts_remote/logo.png + media_class: app + children_media_class: + navigateIds: + - {} + - media_content_type: app + media_content_id: media-source://tts + - media_content_type: provider + media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%21+Schlaf+gut. mode: single - id: '1623868115464' alias: 420! @@ -378,3 +397,41 @@ - service: wake_on_lan.send_magic_packet data: mac: a8:23:fe:5d:4c:f8 +- id: '1661194740297' + alias: Stundenansage + description: '' + trigger: + - platform: time_pattern + hours: '*' + minutes: '0' + condition: + - condition: time + after: 07:00:00 + before: '23:55:00' + weekday: + - sun + - sat + - fri + - thu + - wed + - mon + - tue + action: + - service: media_player.play_media + target: + entity_id: media_player.raspiaudio_muse_luxe + data: + media_content_id: media-source://tts/picotts_remote?message=Es+ist+%7B%7B+time.now%28%29+%7D%7D+Uhr. + media_content_type: provider + metadata: + title: Es ist {{ time.now() }} Uhr. + thumbnail: https://brands.home-assistant.io/_/picotts_remote/logo.png + media_class: app + children_media_class: + navigateIds: + - {} + - media_content_type: app + media_content_id: media-source://tts + - media_content_type: provider + media_content_id: media-source://tts/picotts_remote?message=Es+ist+%7B%7B+time.now%28%29+%7D%7D+Uhr. + mode: single diff --git a/configuration.yaml b/configuration.yaml index 178580d..6d12cda 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -11,6 +11,8 @@ http: tts: - platform: picotts_remote language: "de-DE" + - platform: google_translate + language: "de" # Include modules group: !include groups.yaml @@ -31,9 +33,6 @@ homeassistant: # Include helpers input_number: !include input_number.yaml -# Spotify -spotify: !include spotify.yaml - # Additional sensors sensor: !include sensors.yaml @@ -84,6 +83,9 @@ influxdb: max_retries: 3 default_measurement: state +# Enable Bluetooth +bluetooth: + # Bluetooth Low Energy tracker device_tracker: - platform: bluetooth_le_tracker @@ -113,3 +115,4 @@ generic_hygrostat: away_humidity: 60 away_fixed: true sensor_stale_duration: 00:15:00 +