core: Opentherm Gateway not showing up in google assistant
Home Assistant release with the issue:
Home Assistant0.82.1
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Raspberry Pi 3, manual installation
Component/platform:
Description of problem:
Climate control doesn’t show up in google assistant/home with the opentherm gateway. I have exposed the domain climate!
Problem-relevant configuration.yaml
entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Additional information:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 35 (29 by maintainers)
Thanks for linking the architecture discussion, looks like that will be the way forward in the long term.
There’s no operation mode concept within the OpenTherm Gateway, only the current state of the system. As a result there’s no way to make it work two-way. On top of that there’s the issue that Google Assistant doesn’t support STATE_IDLE. For a short-term solution, there’s the custom_component I linked in my earlier posts. It mocks these non-existing operation modes to make it work with Google Assistant, but that seems a bit too hacky to me to release it in the main repo.
The true answer lies in home-assistant/architecture#22 Once that is resolved and we can standardize the climate components, this problem will be fixed. Short term, the component should be modified to match what the major climate components are doing to support this properly.
That hit the nail right on the head. Changing
STATE_AUTO
toSTATE_HEAT
fixed it. Gist was updated accordingly.Try using this file as
custom_components/climate/opentherm_gw.py
in your config dir to work around this issue for now. Note that this workaround was only subjected to a quick functionality test in Home Assistant without Google Assistant, so no guarantees and use at your own risk.