You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The switch→valve conversion registered services like enable_rain_delay,
disable_rain_delay, set_manual_preset_runtime and start_program in the
valve platform but never ported the corresponding methods onto
BHyveZoneValve, so calling them with a valve entity errored out with
"Service not implemented". The service handler also only looked up
entities in the valve domain, breaking start_program on program
switches.
- Move websocket payload construction for rain delay and manual preset
runtime onto BHyveClient, where the wire protocol belongs.
- Give BHyveZoneValve thin service wrappers that delegate to the client.
- Route the valve service handler through both VALVE_DOMAIN and
SWITCH_DOMAIN so program switches can handle start_program, and
surface unsupported (entity, service) pairs instead of aborting the
whole loop.
- Collapse BHyveRainDelaySwitch turn on/off onto the shared client
methods.
0 commit comments