-
Notifications
You must be signed in to change notification settings - Fork 54
Not working any more with core 2024.1.0 #67
Comments
Delete the integration in HACS, and add this fork https://github.com/IIsSchulstad/climate_group, I didn't need to change anything else in my config |
None of the forks are working properly for me, attempting to interact with it using Lovelace controls never successfully turns it off. @erikpendragon could you test it? please |
I am running 1.0.0-rc6 and it works as expected |
Same here. disabled status does not work.. |
`For the fork, log says:
|
I have the same Error code every time the thermostate gets controlled... |
Same for me:
|
I tryed to install 1.0.0-rc6 and all modes work except turning off. Has anyone found a solution since this is not maintained? |
Since 1.0.0-rc6 is not working well for me either, I started from 0.6.0 and edited climate.py fixing all the errors reported by HA. The resulting version is attached below and works well for me. |
Thanks for doing this - Installed and working again |
I only use heating thermostats and have found a solution that works for me (https://github.com/bjrnptrsn/climate_group) |
This also works for me now. Thanks |
This correction worked like a charm for me!!! Thank you!!!! |
Hey bjrnptrsn, thank you very much for your help. The integration also works for me |
Update: with HA 2024.1.1, Climate Group version 0.6.0 works again without any modifications. |
Here's there is a change in the code that can be merged. |
does https://github.com/bjrnptrsn/climate_group this fix the unique ID that 1.0.0-rc6 was supposed to fix? |
Yes, unique_id works as this version is based on 1.0.0-rc6 |
Oh I'm having trouble keeping up. So this repository we're commenting is deprecated right? I moved to https://github.com/IIsSchulstad/climate_group as requested earlier, and made some tweaks to .py to allow the rounding of figures to .5 accuracy, to avoid errors when changing the temperature of a group. For anyone else that has the same issue, the code below fixes it for me. Perhaps this could be added to the right repository as a PR but I figure it needs to configurable to different accuracy to be user friendly.
Sounds like I should move again to https://github.com/bjrnptrsn/climate_group to remove the errors in the HA logs? |
Thanks for that idea, I implemented it with Version 1.0.3 |
@bjrnptrsn - on v1.0.3, I'm no longer able to use I know this isn't the right place for it but your fork https://github.com/bjrnptrsn/climate_group doesn't have an issues or discussions page on it. |
HS with 2024.4 😞 |
Not sure what HS is but, yes, 2024.4 has some sort of breaking change for this (note I'm using https://github.com/bjrnptrsn/climate_group).
|
I am no python expert, but I think the import should be from homeassistant.component.group.entity |
You are 100% correct :) just changed it and my climate groups are working again. Opened a Pull Request. |
homeassistant.components.group.entity you forgotten the s |
@bjrnptrsn I just made a fork of your fork to submit a PR for your version but see you're all over it :) You must have just merged the changes because I checked for an update before doing it! |
you were all much faster, i hadn't even installed the latest HA version at the time :) |
Just have seen the following repro: |
Tried testing with Honeywell thermostats. The high and low temp keep changing to 35 and 35 degrees no matter what I do. |
Discovered the same just today accidentally (late to the party, I know). This bug and the lack of "continue_on_error: true" created some serious security issues in my coming/leaving home automations for 6 days now... -.- Just to be clear:
|
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 07:40:00 (1 occurrences)
Last logged: 07:40:00
Unexpected exception importing platform custom_components.climate_group.climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/climate_group/climate.py", line 66, in
SUPPORT_TARGET_TEMPERATURE | SUPPORT_TARGET_TEMPERATURE_RANGE | SUPPORT_PRESET_MODE | SUPPORT_SWING_MODE | SUPPORT_FAN_MODE
^^^^^^^^^^^^^^^^^^^^^^^^^^
NameError: name 'SUPPORT_TARGET_TEMPERATURE' is not defined
The text was updated successfully, but these errors were encountered: