Open bmcclure opened 1 year ago
Maybe this is supposed to be working already? I noticed it says this integration was based on the same Homebridge plugin that does work with my Restore, and I noticed there's a file for the Restore IOT device in the integration, so I decided to check my logs and found this:
2023-03-16 00:53:33.351 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry (redacted) for ha_hatch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 539, in async_unload
result = await component.async_unload_entry(hass, self)
File "/config/custom_components/ha_hatch/__init__.py", line 178, in async_unload_entry
config_update_listener = hass.data[DOMAIN][DATA_CONFIG_UPDATE_LISTENER]
KeyError: 'config_update_listener'
I did try reloading the integration so maybe that's the only reason that showed up. I'm not sure if it's relevant or not.
I aim to only add support for devices I can test so I'll leave this open for another developer to pickup.
As for that config_update_listener that is an error being caused by unused code so I have fixed it by removing the unused code.
Thank you for the info!
I'm a developer so maybe I can figure out how to get the Restore and Restore 2 in there. I will try and figure that out soon.
It seems like this PR is what recently added Restore support, however my first-gen Restore doesn't get detected: https://github.com/dahlb/ha_hatch/pull/36
Perhaps this is a bug fix instead of a feature request, but I'd also like to add support for the Restore 2 if I can figure out the API so it can probably stay as a request.
hey @bmcclure - wondering if you've looked into this any further? I also have a Restore and it's not showing up in the integraiton.
hey @bmcclure - wondering if you've looked into this any further? I also have a Restore and it's not showing up in the integraiton.
I haven't looked much further into this yet. So far I haven't been able to get my Restore (1 or 2) to be detected by the integration. Currently I'm still using the Homebridge plugin as a workaround, though the functionality is extremely limited.
Wanting to come in here and see if there is any status update on this request? By chance are you still using the workaround with Homebridge plugin @bmcclure ? If so how is that setup?
@TheClassyTurkey I did see that this was released, but my restore still isnt recognized by this integration.
Wanting to come in here and see if there is any status update on this request? By chance are you still using the workaround with Homebridge plugin @bmcclure ? If so how is that setup?
I'm still using the Homebridge plugin myself, as it seems to be the only thing that works with my Hatch Restore.
It works pretty smoothly once set up, but getting Homebridge running is the main hurdle. In my case, I'm running it in a Virtualbox VM alongside my Home Assistant VM. From there, you can easily install plugins through the Homebridge UI, such as the Hatch plugin.
Everything that Homebridge exposes are automatically detected by Home Assistant, so it's pretty seamless after that.
I'd much rather use this integration if it would work for me, but I haven't had time to make progress on that myself. Though admittedly I haven't tried to use it for many months since switching to this alternate integration, so I'm not sure if there's been any significant progress on getting Restores working.
Any updates on this? Would love to get hatch restore working
Hello!
I tried to use this integration first, but it didn't seem to recognize my Hatch Restore. I moved over to the Homebridge plugin instead (https://github.com/dgreif/homebridge-hatch-baby-rest), and it sort of works there, except it only allows me to turn it on (starting from the first step of my workflow only) or off, rather than actually being able to control anything on it.
So this is a two-parter: