Skip to content

sensor 'time_1_sec' has incorrect trigger setup #4

Description

@vl-pub

why sensor (system_sensors.yaml)

  - trigger:
      - platform: time_pattern
        seconds: "/30"
    sensor:
      - name: time_1_sec
        state: '{{ as_timestamp(now()) | round(default=0)}}'

has trigger 'seconds: "/30"' ??
it works wrong

it should use 'seconds: "/1"' to be changed each second

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions