Closed MizterB closed 11 months ago
@MizterB Please upload your device diagnostics
Just wanted to confirm I'm seeing this same behavior with the HT25-0000 as well as with my HT31-0001 devices using 3.2.1 b1
Same on my HT32-0001
My lettuce died.
@sebr can you review and merge this PR which should fix this issue?
EDIT: I manually applied the patch from that PR to the bhyve custom component in my system and (after an HA restart) it did indeed fix this issue for me.
Thanks @lukemeyer.
Apologies about the extended delay on this - I've merged the PR and will do a release asap.
next_start_time_raw = status.get("next_start_time")
if next_start_time_raw is not None:
next_start_time = orbit_time_to_local_time(
next_start_time_raw
).isoformat()
next_start_programs = status.get("next_start_programs")
self._attrs.update(
{
ATTR_NEXT_START_TIME: next_start_time,
ATTR_NEXT_START_PROGRAMS: next_start_programs,
}
)
Describe the bug When loading the BHyve integration, an error is thrown is switches are no longer created for controlling the faucet. Diagnostic sensors load fine.
The error seems to occur because the code is expecting a watering schedule ("next start_time") to be defined for the device. I do not have a schedule defined - I water manually (typically through this integration!).
Expected behaviour A switch should be created that allows me to control the flow of the faucet.
BHyve devices
Device Diagnostics