core/homeassistant/components/wilight/services.yaml

25 lines
565 B
YAML
Raw Normal View History

Add switch to wilight (#62873) * Created switch.py and support * updated support.py * test for wilight switch * Update for Test * Updated test_switch.py * Trigger service with index * Updated support.py and switch.py * Updated support.py * Updated switch.py as PR#63614 * Updated switch.py * add type hints * Updated support.py * Updated switch.py * Updated switch.py and services.yaml * Updated pywilight * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update ci.yaml * Update ci.yaml * Updated as pywilight Renamed Device as PyWiLightDevice in pywilight. * Updated as pywilight Renamed Device as PyWiLightDevice in pywilight. * Updated as pywilight Renamed Device as PyWiLightDevice in pywilight. * Updated as pywilight Renamed Device as PyWiLightDevice in pywilight. * Update switch.py * Update homeassistant/components/wilight/support.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update support.py * Update switch.py * Update support.py * Update support.py * Update switch.py * Update switch.py * Update services.yaml * Update switch.py * Update services.yaml * Update switch.py * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/wilight/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update switch.py * Update switch.py * Update switch.py * Update test_switch.py * Update test_switch.py * Update test_switch.py * Decrease exception scope * Clean up Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-07 09:07:01 +00:00
set_watering_time:
description: Set watering time
target:
fields:
watering_time:
description: Duration for this irrigation to be turned on
example: 30
set_pause_time:
description: Set pause time
target:
fields:
pause_time:
description: Duration for this irrigation to be paused
example: 24
set_trigger:
description: Set trigger
target:
fields:
trigger_index:
description: Index of Trigger from 1 to 4
example: "1"
trigger:
description: Configuration of trigger
example: "'12707001'"