Automation on KNX sensor

Hi!

I have a KNX-sensor configured like this:

sensor:
- name: “pitlevel”
state_address: “13/3/0”
type: percent

It gives a number which is presented as a percentage in how full a pit is.

Now I want to create a trigger which fires when this percentage reaches a certain level and then send a notification.

I’m looking for a brief explanation on how to achieve this. Who can help? :slight_smile:

Use a numeric_state trigger in an automation. It is available directly in the automation builder or via yaml https://www.home-assistant.io/docs/automation/trigger/#numeric-state-trigger

Thanks, got it :wink: