Open Dave811 opened 2 days ago
Hello,
The log are pretty clear:
2024-11-26 19:03:39.937 ERROR (MainThread) [homeassistant.components.climate] Error while setting up versatile_thermostat platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/versatile_thermostat/climate.py", line 62, in async_setup_entry
entity = ThermostatOverClimateValve(hass, unique_id, name, entry.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/versatile_thermostat/thermostat_climate_valve.py", line 54, in __init__
super().__init__(hass, unique_id, name, entry_infos)
File "/config/custom_components/versatile_thermostat/thermostat_climate.py", line 91, in __init__
super().__init__(hass, unique_id, name, entry_infos)
File "/config/custom_components/versatile_thermostat/base_thermostat.py", line 242, in __init__
self.post_init(entry_infos)
File "/config/custom_components/versatile_thermostat/thermostat_climate_valve.py", line 80, in post_init
self._prop_algorithm = PropAlgorithm(
^^^^^^^^^^^^^^
File "/config/custom_components/versatile_thermostat/prop_algorithm.py", line 66, in __init__
raise TypeError(
TypeError: TPI parameters are not set correctly. VTherm will not work as expected. Please reconfigure it correctly.
You don't have configured the TPI coefficients. See in the main menu.
Then there is another bug I guess. In the main configuration both TPI values are set. I unchecked use central configuration for that, and set them manual and now it is working.
Hello @Dave811 ,
In the main configuration both TPI values are set.
When you say in the main configuration, you mean in the central configuration ? I think it is too late, but can you remember what steps you have done to reproduce this bug ? In the first post it is written:
I'm looking for a way to reproduce.
Thanks for the report !
I added the central configuration with most default settings and I didn't touch the tpi settings, but they had the default values in there
The central configuration is checked by default, for the thermostat I guess. I can try it later the day again
Jean-Marc Collin @.***> schrieb am Mi., 27. Nov. 2024, 08:15:
Hello @Dave811 https://github.com/Dave811 ,
In the main configuration both TPI values are set.
When you say in the main configuration, you mean in the central configuration ? I think it is too late, but can you remember what steps you have done to reproduce this bug ? In the first post it is written:
- After I updated to the latest 6.8.0Beta9,
- I added a central configuration. --> so haven't any central configuration yet. Did you remember to set the TPI parameters at this step or keep the default values ?
- Then I tried to add a "Thermostat over a climate". ---> I suppose you didn't check the 'use central configuration'. Did you remember if you have displayed the TPI menu
I'm looking for a way to reproduce.
— Reply to this email directly, view it on GitHub https://github.com/jmcollin78/versatile_thermostat/issues/665#issuecomment-2503084144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAUJLXALGKZSKLRK66RTZD2CVWPTAVCNFSM6AAAAABSRBWXX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTGA4DIMJUGQ . You are receiving this because you were mentioned.Message ID: @.***>
Hello, i try many and many combinations without success to reproduce. If you find a way please tell me how you do.
Description:
I wanted to try the new "Direct control of valve" feature in the beta After I updated to the latest 6.8.0Beta9 I added a central configuration. Then I tried to add a "Thermostat over a climate".
Now V-Therm didn't create a new climate entity
Then I tried to add one with no self regulation, this worked Then I tried to edit this working device to add the valve control. After that the climate entity was removed again, as in the image
I uploaded the photo, because I did not know how to exactly to get the yaml. Should I copy every attribute from every entity?
Also, if you edit the V-Therm and want to remove the Direct control of valve you get the following error. And if you try to remove the valves manually before that, you get the same error too.
The number of valve entities for valve regulation should be equal to the number of underlyings
Debug log