v1.6.28 - Rain sensor switch
What's new
New entity: Rain sensor switch
Adds switch.rainmachine_rain_sensor to toggle provision/useRainSensor directly from Home Assistant.
Use case: Automate the hardware rain sensor (Normally Closed) via external sensors or weather station data — turn it on when rain is detected, off when dry, without manual REST commands.
Details:
- Reads current state from
provision.system.useRainSensor - POSTs
{"system": {"useRainSensor": true/false}}to/api/4/provision - Entity category: Configuration
- Disabled by default in the entity registry — enable manually in HA to use it
Closes #28. Thanks to @sidsolutions-net for the request and the example REST command.