@maximo80 wrote:
Hi everybody,
Maybe it is a very silly question but i’ve not found it in blog so let me see if someone can help me.
I want to count everyday time switched on but i don’t know how to do that. I wrote something like this but it doesn’t work.
- id: '1590504745677' alias: Contador hores piscina description: '' trigger: - entity_id: switch.motor platform: state to: “on” - minutes: /1 platform: time_pattern condition: [] action: - data: {} entity_id: counter.contador_minutos_piscina service: counter.increment`
Posts: 3
Participants: 3