Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### SKRYPT ###
- alias: input_number_offset
- sequence:
- - service: input_number.set_value
- data:
- entity_id: "{{ entity_id }}"
- value: "{{ states[entity_id] | float(0) + value | float(0) }}"
- ### KARTA ###
- - show_name: true
- show_icon: true
- type: button
- tap_action:
- action: call-service
- service: script.input_number_offset
- data:
- entity_id: input_number.inserted_coal_weight
- value: 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement