diff --git a/README.md b/README.md index 8d82087..ad7d394 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ This integration provides the following services: | `bhyve.disable_rain_delay` | `entity_id` - device to enable a rain delay. This can reference either a zone or rain delay switch | Cancel a rain delay on a given device | | `bhyve.set_manual_preset_runtime` | `entity_id` - zone(s) entity to set the preset runtime. This should be a reference to a zone switch entity <br/> `minutes` - number of minutes to water for | Set the default time a switch is activated for when enabled. Support for this service appears to be patchy, and it has been difficult to identify under which conditions it works | | `bhyve.set_smart_watering_soil_moisture` | `entity_id` - zone(s) entity to set the moisture level for. This should be a reference to a zone switch entity <br/> `percentage` - soil moisture level between 0 - 100 | Set Smart Watering soil moisture level for a zone | +| `bhyve.start_program` | `entity_id` - program entity to start. This should be a reference to a program switch entity | Starts a pre-configured watering program. Watering programs cannot be created nor configured via this integration, and require the B-Hyve app to create or modify | ## Python Script diff --git a/custom_components/bhyve/switch.py b/custom_components/bhyve/switch.py index d928a7e..de58b47 100644 --- a/custom_components/bhyve/switch.py +++ b/custom_components/bhyve/switch.py @@ -637,6 +637,7 @@ async def start_watering(self, minutes): station_payload = [{"station": self._zone_id, "run_time": minutes}] self._is_on = True await self._send_station_message(station_payload) + async def stop_watering(self): """Turns off the switch and stops watering.""" station_payload = []