Counter stuff

Hi, i like to know how to read counter values

Do you mean the integrated https://www.home-assistant.io/components/counter/ counter?

If so, you can use. {{ states('counter.my_custom_counter')}} to read its value.

thank you! it works.:smile:
here a part of my file:
trigger:
platform: state
entity_id: counter.luikje
condition:
condition: template
value_template: ‘{{ states(“counter.luikje”) | float >2 }}’