Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99145

Switch time counter

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 99145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>