Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
''' | |
You'll need to pip install some dependencies: | |
* python-dateutil | |
* requests | |
Also, populate your EMAIL and PASSWORD below. | |
''' | |
from xml.etree import ElementTree |
- id: '1688129246113' | |
alias: Irrigation intelligente - Calculer fin arrosage | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: | |
- switch.irrigation_switch | |
to: 'on' | |
from: 'off' | |
condition: |