I made an automatic for when my laundry is done. HA sends a message to me and my girlfriend’s phone, and a message plays through my google home speakers. Now I also want to add the volume in the automation. I have two questions:
- What code do I need for this and where do I put it?
- What a reasonable sound level that is audible but does not scare us?
Thanks for your help!
alias: Wasmachine is klaar description: '' trigger: - platform: numeric_state entity_id: sensor.wasmachine_smart_stekker for: hours: 0 minutes: 1 seconds: 0 milliseconds: 0 below: '4' condition: - type: is_not_open condition: device device_id: d5c307599cbd71b6f3eb40e484f1ab42 entity_id: binary_sensor.wasmachine_deursensor domain: binary_sensor action: - service: input_boolean.turn_off target: entity_id: input_boolean.wasmachine - repeat: count: '2' sequence: - service: notify.mobile_app_oneplus_van_elvira data: message: De was is klaar! :-) - service: notify.mobile_app_oneplus_van_rob data: message: De was is klaar! - service: tts.google_translate_say data: entity_id: >- media_player.keuken, media_player.mini, media_player.studeerkamer, media_player.woonkamer message: De was is klaar! mode: single