Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lyric integration (Honeywell Home) cannot set cool temperature #125272

Closed
totallydifferent opened this issue Sep 4, 2024 · 4 comments · Fixed by #125382
Closed

Lyric integration (Honeywell Home) cannot set cool temperature #125272

totallydifferent opened this issue Sep 4, 2024 · 4 comments · Fixed by #125382

Comments

@totallydifferent
Copy link

The problem

When trying to change the thermostat temperature, the thermostat integration throws an error:

Failed to perform the action climate/set_temperature. Lyric.update_thermostat() got an unexpected keyword argument 'coolSetpoint'

home-assistant_lyric_2024-09-04T21-05-32.777Z.log

What version of Home Assistant Core has the issue?

core-2024.9.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

lyric

Link to integration documentation on our website

https://www.home-assistant.io/integrations/lyric

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Have tried to reload the integration as well as disable and re-enable it. Have also restarted HA. Same result.
Controlling the HVAC unit using HomeKit works (thermostat integrates directly with HomeKit). Also works with the Residio App. Just having issues with the HA integration. Before this point, the HA integration was the fastest and most reliable control mechanism.

@home-assistant
Copy link

home-assistant bot commented Sep 4, 2024

Hey there @timmo001, mind taking a look at this issue as it has been labeled with an integration (lyric) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of lyric can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign lyric Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


lyric documentation
lyric source
(message by IssueLinks)

@genehand
Copy link

genehand commented Sep 4, 2024

Looks like these changed to snake case in 2.0.0 that was recently pulled in from #123424.

@dalinicus, there were a bunch! I updated these locally to (cool|heat)_setpoint and it's working for me again:

try:
await self._update_thermostat(
self.location,
device,
coolSetpoint=target_temp_high,
heatSetpoint=target_temp_low,
mode=mode,
)
except LYRIC_EXCEPTIONS as exception:
_LOGGER.error(exception)
await self.coordinator.async_refresh()
else:
temp = kwargs.get(ATTR_TEMPERATURE)
_LOGGER.debug("Set temperature: %s", temp)
try:
if self.hvac_mode == HVACMode.COOL:
await self._update_thermostat(
self.location, device, coolSetpoint=temp
)
else:
await self._update_thermostat(
self.location, device, heatSetpoint=temp
)

@warthog10
Copy link

Is there a way to fix this without getting into the editor? I'm running HASS OS on an intel Nuc and i can't get to the core files from Studio Code Server

@dalinicus
Copy link
Contributor

Is there a way to fix this without getting into the editor? I'm running HASS OS on an intel Nuc and i can't get to the core files from Studio Code Server

This is fixed by #125382 and went out with the release earlier today.

https://github.com/home-assistant/core/releases/tag/2024.9.1

@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants