Advertisement
fablav

Script conta terrazzo

Feb 2nd, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. alias: Conta terrazzo
  2. sequence:
  3. - service: counter.set_value
  4. data:
  5. value: |
  6. {{ (states('counter.conta_terrazzo') | int +1 ) % 4 }}
  7. target:
  8. entity_id: counter.conta_terrazzo
  9. mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement