For changes to take affect you must exclude the entity (in the filter) first, restart HA, include the entity back in (in the filter) and restart again. Make sure that type: sprinkler is set before the last restart (seems good right now). Than it should work.
Great thanks:) It works now;) BTW is there a opportunity to make the timer function in the accessory? I had it before, when I used homebridge. This is actually working better, but I miss the timer functionality:)
I think that it looks more or less correct but it could be down to the indentations etc. I have my configuration in configuration.yaml and it looks like this. Maybe it helps: