timed_sleep: alias: Einschlafen mit Licht und Musik auto-aus sequence: - service: media_player.shuffle_set data_template: entity_id: media_player.bedroompi shuffle: '{% if shuffle %}True{% else %}False{% endif %} ' - service: media_player.repeat_set data: entity_id: media_player.bedroompi repeat: 'off' - service: media_player.play_media data_template: entity_id: media_player.bedroompi media_content_id: '{{media_content_id}}' media_content_type: music - service: scene.turn_on data: entity_id: scene.schlafzimmer_einschlaflicht - service: light.turn_off data_template: transition: '{{light_off_secs}}' entity_id: group.bedroom - service: media_player.squeezebox_call_method data_template: entity_id: media_player.bedroompi command: sleep {{music_off_secs}} bedroom_music_off_20: alias: Schlafzimmer Musik aus 20min sequence: - service: media_player.squeezebox_call_method data: entity_id: media_player.bedroompi command: sleep 1200 bedroom_music_off_30: alias: Schlafzimmer Musik aus 30min sequence: - service: media_player.squeezebox_call_method data: entity_id: media_player.bedroompi command: sleep 1800 bedroom_music_off_45: alias: Schlafzimmer Musik aus 45min sequence: - service: media_player.squeezebox_call_method data: entity_id: media_player.bedroompi command: sleep 2700 bedroom_music_off_60: alias: Schlafzimmer Musik aus 1h sequence: - service: media_player.squeezebox_call_method data: entity_id: media_player.bedroompi command: sleep 3600 bedroom_waves: alias: Schlafzimmer Wellen sequence: - service: media_player.shuffle_set data: entity_id: media_player.bedroompi shuffle: true - service: media_player.play_media data: entity_id: media_player.bedroompi media_content_id: spotify:playlist:5D1liEDe4Fo6guA2M28hO2 media_content_type: music - service: media_player.squeezebox_call_method data: entity_id: media_player.bedroompi command: sleep 3600 bedroom_rain: alias: Schlafzimmer Regen sequence: - service: media_player.shuffle_set data: entity_id: media_player.bedroompi shuffle: true - service: media_player.play_media data: entity_id: media_player.bedroompi media_content_id: spotify:playlist:37i9dQZF1DXbcPC6Vvqudd media_content_type: music - service: media_player.squeezebox_call_method data: entity_id: media_player.bedroompi command: sleep 3600 bedroom_sleep_music_long: alias: Einschlaf Playlist sequence: - service: media_player.shuffle_set data: entity_id: media_player.bedroompi shuffle: false - service: media_player.play_media data: media_content_id: Good Night Long media_content_type: music entity_id: media_player.bedroompi bedroom_sleep_music_short: alias: Einschlaf Playlist Kurz sequence: - service: media_player.shuffle_set data: entity_id: media_player.bedroompi shuffle: false - service: media_player.play_media data: media_content_id: Good Night media_content_type: music entity_id: media_player.bedroompi esphome_light_toggle: alias: EspHome Light toggle sequence: - service: light.toggle data_template: entity_id: '{{ light_name }}' transition: '{{ transition }}' rgbw_color: - '{{ red }}' - '{{ green }}' - '{{ blue }}' - '{{ white }}' mode: single icon: mdi:lightbulb-auto sprinkler_an_5_minuten: alias: Sprinkler an für einige Minuten description: Starte Sprinkler für ein paar Minuten fields: minutes: name: minutes description: Dauer in Minute wie lange an default: 3 selector: number: min: 0 max: 10 step: 1 unit_of_measurement: minutes mode: slider sequence: - service: switch.turn_on data: {} target: entity_id: - switch.ventil_sprinkler_sud - switch.ventil_sprinkler_westen - delay: minutes: '{{minutes | default(3) }}' - service: switch.turn_off data: {} target: entity_id: - switch.ventil_sprinkler_sud - switch.ventil_sprinkler_westen mode: restart icon: mdi:sprinkler-variant pool_pumpe_schalten: alias: Pool Pumpe schalten description: Pool Pumpe Geschwindigkeit schalten fields: value: name: Speed description: 'Speed, 0 off, 1,2,3 ' selector: number: min: 0 max: 3 step: 1 mode: slider sequence: - if: - condition: template value_template: '{{value == 0 }}' then: - service: switch.turn_on data: {} target: entity_id: switch.poolpumpe_speed_off - if: - condition: template value_template: '{{value == 1 }}' then: - service: switch.turn_on data: {} target: entity_id: switch.poolpumpe_speed1 - if: - condition: template value_template: '{{value == 2 }}' then: - service: switch.turn_on data: {} target: entity_id: switch.poolpumpe_speed2 - if: - condition: template value_template: '{{value == 3 }}' then: - service: switch.turn_on data: {} target: entity_id: switch.poolpumpe_speed3 - delay: seconds: 1 - service: switch.turn_off data: {} target: entity_id: - switch.poolpumpe_speed_off - switch.poolpumpe_speed1 - switch.poolpumpe_speed2 - switch.poolpumpe_speed3 mode: single icon: hue:room-pool roomtracker_learn_aktueller_raum: alias: 'RoomTracker Learn: Aktueller Raum' sequence: - service: mqtt.publish metadata: {} data: qos: '0' topic: my_btmonitor/known_room payload_template: '{{real_room}}' mode: single icon: mdi:desk fields: real_room: selector: select: multiple: false options: - arbeitszimmer - wohnzimmer - esszimmer - küche - sofa - eingangsbereich - buero_oben - wohnzimmer_oben - schlafzimmer - garten - kinderzimmer - abstellraum3dDrucker - keins required: true name: real_room description: Aktueller Raum in dem Apple Watch und iPhone ist