IKEA Badring configuration or bluepring

I can’t find a blueprint. Is there one?

Alternatively, how do I set up an automation from scratch?

Hello funkytwig,

The best way to learn is to just try. Run thru the docs on getting started with the automation editor. If you get stuck, come back with what you have done.

and
The Home Assistant Cookbook - Index.

Was hoping for a bluepring but think this may work

alias: Water Leak Detected
description: Alert when BADRING detects moisture
triggers:
  - entity_id: binary_sensor.kitchin_moisture_sensor
    to: "on"
    for:
      hours: 0
      minutes: 0
      seconds: 5
    trigger: state
conditions: []
actions:
  - repeat:
      while:
        - condition: state
          entity_id: binary_sensor.frontdoor_isopen
          state: "on"
      sequence:
        - data:
            title: Sink tap left on
            message: Turn it off now!!
            data:
              sound: siren
              priority: 1
          action: notify.pushover
        - metadata: {}
          data:
            media_content_type: audio/mp3
            media_content_id: >-
              http://funkytwig.com/wp-content/uploads/2024/01/mixkit-classic-alarm-4-995.mp3              
          action: media_player.play_media
        - delay:
            hours: 0
            minutes: 1
            seconds: 0
            milliseconds: 0
mode: single