Skip to content

Instantly share code, notes, and snippets.

View rechena's full-sized avatar

Joao Rechena rechena

View GitHub Profile
- alias: update slider boiler_run_time
hide_entity: True
trigger:
platform: time
seconds: /60
action:
- service: input_number.set_value
data_template:
entity_id: input_number.boiler_run_time
value: '{{states.input_number.boiler_run_time.state | int -1}}'
Automations
alias: Run Boiler for X time...
trigger:
platform: state
entity_id: switch.arest_pin_one_boiler
to: 'on'
action:
- service: script.turn_on
entity_id: script.boiler_time
### Keybase proof
I hereby claim:
* I am rechena on github.
* I am rechena (https://keybase.io/rechena) on keybase.
* I have a public key whose fingerprint is C5AD 4421 88C4 033A 7FCA 2871 3860 4575 5546 84EA
To claim this, I am signing this object: