Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: '1579779307932'
- alias: vejr_test
- description: ''
- trigger:
- - platform: time_pattern
- seconds: /10
- condition:
- - condition: template
- value_template: '{{ 10 > state_attr(''weather.dark_sky'', ''temperature'') > 0 }}'
- action:
- service: input_number.set_value
- data_template:
- entity_id: input_number.varmeiskurslider
- value: '{{ state_attr(''weather.dark_sky'', ''temperature'')|float + 1 }}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement