jmcollin78 / versatile_thermostat

A full featured Thermostat for Home Assistant: presets, window, motion, presence and overpowering management
MIT License
340 stars 38 forks source link

TPI parameters are not set when creating a new over_climate with valve regulation - 6.8.0Beta9 #665

Open Dave811 opened 2 days ago

Dave811 commented 2 days ago

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

firefox_9JxF9SuqN3 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


2024-11-26 19:03:38.234 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-11-26 19:03:38.234 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration better_thermostat which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-11-26 19:03:38.235 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook_inverse which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-11-26 19:03:38.235 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration versatile_thermostat which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-11-26 19:03:38.235 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-11-26 19:03:38.235 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-11-26 19:03:38.603 INFO (MainThread) [homeassistant.setup] Setting up system_log
2024-11-26 19:03:38.641 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.04 seconds
2024-11-26 19:03:38.641 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.04 seconds
2024-11-26 19:03:38.641 INFO (MainThread) [homeassistant.bootstrap] Setting up frontend: {'frontend'}
2024-11-26 19:03:38.641 INFO (MainThread) [homeassistant.setup] Setting up http
2024-11-26 19:03:38.641 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2024-11-26 19:03:38.641 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.00 seconds
2024-11-26 19:03:38.644 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.00 seconds
2024-11-26 19:03:38.645 INFO (MainThread) [homeassistant.setup] Setting up auth
2024-11-26 19:03:38.645 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.00 seconds
2024-11-26 19:03:38.645 INFO (MainThread) [homeassistant.setup] Setting up config
2024-11-26 19:03:38.646 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.00 seconds
2024-11-26 19:03:38.646 INFO (MainThread) [homeassistant.setup] Setting up diagnostics
2024-11-26 19:03:38.647 INFO (MainThread) [homeassistant.setup] Setup of domain diagnostics took 0.00 seconds
2024-11-26 19:03:38.647 INFO (MainThread) [homeassistant.setup] Setting up file_upload
2024-11-26 19:03:38.647 INFO (MainThread) [homeassistant.setup] Setup of domain file_upload took 0.00 seconds
2024-11-26 19:03:38.647 INFO (MainThread) [homeassistant.setup] Setting up image_upload
2024-11-26 19:03:38.647 INFO (MainThread) [homeassistant.setup] Setup of domain image_upload took 0.00 seconds
2024-11-26 19:03:38.647 INFO (MainThread) [homeassistant.setup] Setting up repairs
2024-11-26 19:03:38.648 INFO (MainThread) [homeassistant.setup] Setup of domain repairs took 0.00 seconds
2024-11-26 19:03:38.648 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2024-11-26 19:03:38.648 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.00 seconds
2024-11-26 19:03:38.648 INFO (MainThread) [homeassistant.setup] Setting up api
2024-11-26 19:03:38.648 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.00 seconds
2024-11-26 19:03:38.648 INFO (MainThread) [homeassistant.setup] Setting up person
2024-11-26 19:03:38.649 INFO (MainThread) [homeassistant.setup] Setting up search
2024-11-26 19:03:38.649 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.00 seconds
2024-11-26 19:03:38.649 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.00 seconds
2024-11-26 19:03:38.649 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2024-11-26 19:03:38.649 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.00 seconds
2024-11-26 19:03:38.650 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2024-11-26 19:03:38.650 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.00 seconds
2024-11-26 19:03:38.650 INFO (MainThread) [homeassistant.setup] Setting up frontend
2024-11-26 19:03:38.653 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.00 seconds
2024-11-26 19:03:38.654 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder: {'recorder'}
2024-11-26 19:03:38.654 INFO (MainThread) [homeassistant.setup] Setting up recorder
2024-11-26 19:03:38.655 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
2024-11-26 19:03:38.656 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.00 seconds
2024-11-26 19:03:38.699 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.04 seconds
2024-11-26 19:03:38.699 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'hassio', 'network', 'websocket_api', 'webhook', 'bluetooth', 'http', 'usb', 'repairs', 'api', 'auth', 'zeroconf', 'ssdp', 'cloud', 'dhcp'}
2024-11-26 19:03:38.699 INFO (MainThread) [homeassistant.setup] Setting up hassio
2024-11-26 19:03:38.700 INFO (MainThread) [homeassistant.setup] Setting up network
2024-11-26 19:03:38.700 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.00 seconds
2024-11-26 19:03:38.700 INFO (MainThread) [homeassistant.setup] Setting up webhook
2024-11-26 19:03:38.700 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.00 seconds
2024-11-26 19:03:38.708 INFO (MainThread) [homeassistant.setup] Setting up usb
2024-11-26 19:03:38.708 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.00 seconds
2024-11-26 19:03:38.772 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2024-11-26 19:03:38.775 INFO (MainThread) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2024-11-26 19:03:38.775 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.00 seconds
2024-11-26 19:03:38.788 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2024-11-26 19:03:38.790 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.00 seconds
2024-11-26 19:03:38.872 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.17 seconds
2024-11-26 19:03:38.897 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2024-11-26 19:03:38.897 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.00 seconds
2024-11-26 19:03:38.897 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up hassio.binary_sensor
2024-11-26 19:03:38.898 INFO (MainThread) [homeassistant.setup] Setting up sensor
2024-11-26 19:03:38.898 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.00 seconds
2024-11-26 19:03:38.898 INFO (MainThread) [homeassistant.components.sensor] Setting up hassio.sensor
2024-11-26 19:03:38.899 INFO (MainThread) [homeassistant.setup] Setting up update
2024-11-26 19:03:38.899 INFO (MainThread) [homeassistant.setup] Setup of domain update took 0.00 seconds
2024-11-26 19:03:38.900 INFO (MainThread) [homeassistant.components.update] Setting up hassio.update
2024-11-26 19:03:38.926 INFO (MainThread) [homeassistant.setup] Setting up cloud
2024-11-26 19:03:38.927 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg
2024-11-26 19:03:38.927 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 0.00 seconds
2024-11-26 19:03:38.927 INFO (MainThread) [homeassistant.setup] Setting up tts
2024-11-26 19:03:38.927 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.00 seconds
2024-11-26 19:03:38.929 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.00 seconds
2024-11-26 19:03:39.199 INFO (MainThread) [homeassistant.setup] Setting up dhcp
2024-11-26 19:03:39.199 INFO (MainThread) [homeassistant.setup] Setup of domain dhcp took 0.00 seconds
2024-11-26 19:03:39.225 INFO (MainThread) [homeassistant.setup] Setting up bluetooth
2024-11-26 19:03:39.239 INFO (MainThread) [homeassistant.setup] Setup of domain bluetooth took 0.01 seconds
2024-11-26 19:03:39.239 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'ffmpeg', 'select', 'tag', 'mobile_app', 'sun', 'schedule', 'stream', 'default_config', 'script', 'application_credentials', 'counter', 'ipp', 'blueprint', 'device_automation', 'input_number', 'config', 'input_text', 'diagnostics', 'input_button', 'number', 'onboarding', 'file_upload', 'lovelace', 'history', 'person', 'input_select', 'wake_word', 'tts', 'assist_pipeline', 'energy', 'my', 'shopping_list', 'scheduler', 'google_translate', 'media_source', 'hardware', 'go2rtc', 'conversation', 'timer', 'input_datetime', 'versatile_thermostat', 'met', 'camera', 'input_boolean', 'spook', 'automation', 'intent', 'openweathermap', 'radio_browser', 'stt', 'search', 'image_upload', 'hacs', 'homeassistant_alerts', 'system_health', 'logbook', 'analytics', 'trace', 'scene', 'backup', 'persistent_notification', 'homeassistant', 'mqtt', 'zone'}
2024-11-26 19:03:39.239 INFO (MainThread) [homeassistant.setup] Setting up select
2024-11-26 19:03:39.240 INFO (MainThread) [homeassistant.setup] Setup of domain select took 0.00 seconds
2024-11-26 19:03:39.240 INFO (MainThread) [homeassistant.setup] Setting up camera
2024-11-26 19:03:39.241 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.00 seconds
2024-11-26 19:03:39.241 INFO (MainThread) [homeassistant.setup] Setting up stt
2024-11-26 19:03:39.241 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.00 seconds
2024-11-26 19:03:39.241 INFO (MainThread) [homeassistant.setup] Setting up number
2024-11-26 19:03:39.242 INFO (MainThread) [homeassistant.setup] Setup of domain number took 0.00 seconds
2024-11-26 19:03:39.242 INFO (MainThread) [homeassistant.setup] Setting up scene
2024-11-26 19:03:39.242 INFO (MainThread) [homeassistant.components.scene] Setting up homeassistant.scene
2024-11-26 19:03:39.243 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.00 seconds
2024-11-26 19:03:39.243 INFO (MainThread) [homeassistant.setup] Setting up wake_word
2024-11-26 19:03:39.243 INFO (MainThread) [homeassistant.setup] Setup of domain wake_word took 0.00 seconds
2024-11-26 19:03:39.243 INFO (MainThread) [homeassistant.setup] Setting up history
2024-11-26 19:03:39.243 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.00 seconds
2024-11-26 19:03:39.243 INFO (MainThread) [homeassistant.setup] Setting up media_source
2024-11-26 19:03:39.244 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 0.00 seconds
2024-11-26 19:03:39.244 INFO (MainThread) [homeassistant.setup] Setting up stream
2024-11-26 19:03:39.244 INFO (MainThread) [homeassistant.setup] Setting up logbook
2024-11-26 19:03:39.245 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.00 seconds
2024-11-26 19:03:39.245 INFO (MainThread) [homeassistant.setup] Setting up blueprint
2024-11-26 19:03:39.245 INFO (MainThread) [homeassistant.setup] Setup of domain blueprint took 0.00 seconds
2024-11-26 19:03:39.245 INFO (MainThread) [homeassistant.setup] Setting up trace
2024-11-26 19:03:39.245 INFO (MainThread) [homeassistant.setup] Setup of domain trace took 0.00 seconds
2024-11-26 19:03:39.245 INFO (MainThread) [homeassistant.setup] Setting up script
2024-11-26 19:03:39.246 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.00 seconds
2024-11-26 19:03:39.246 INFO (MainThread) [homeassistant.setup] Setting up timer
2024-11-26 19:03:39.246 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 0.00 seconds
2024-11-26 19:03:39.247 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2024-11-26 19:03:39.247 INFO (MainThread) [homeassistant.setup] Setting up input_number
2024-11-26 19:03:39.247 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.00 seconds
2024-11-26 19:03:39.248 INFO (MainThread) [homeassistant.setup] Setting up input_select
2024-11-26 19:03:39.249 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 0.00 seconds
2024-11-26 19:03:39.249 INFO (MainThread) [homeassistant.setup] Setting up zone
2024-11-26 19:03:39.250 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.00 seconds
2024-11-26 19:03:39.251 INFO (MainThread) [homeassistant.setup] Setting up input_button
2024-11-26 19:03:39.251 INFO (MainThread) [homeassistant.setup] Setup of domain input_button took 0.00 seconds
2024-11-26 19:03:39.251 INFO (MainThread) [homeassistant.setup] Setting up system_health
2024-11-26 19:03:39.251 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.00 seconds
2024-11-26 19:03:39.252 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.01 seconds
2024-11-26 19:03:39.281 INFO (MainThread) [homeassistant.setup] Setting up intent
2024-11-26 19:03:39.281 INFO (MainThread) [homeassistant.setup] Setup of domain intent took 0.00 seconds
2024-11-26 19:03:39.282 INFO (MainThread) [homeassistant.setup] Setting up conversation
2024-11-26 19:03:39.282 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.00 seconds
2024-11-26 19:03:39.282 INFO (MainThread) [homeassistant.setup] Setting up assist_pipeline
2024-11-26 19:03:39.283 INFO (MainThread) [homeassistant.setup] Setup of domain assist_pipeline took 0.00 seconds
2024-11-26 19:03:39.298 INFO (MainThread) [homeassistant.setup] Setting up energy
2024-11-26 19:03:39.298 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.00 seconds
2024-11-26 19:03:39.299 INFO (MainThread) [homeassistant.setup] Setting up my
2024-11-26 19:03:39.299 INFO (MainThread) [homeassistant.setup] Setup of domain my took 0.00 seconds
2024-11-26 19:03:39.311 INFO (MainThread) [homeassistant.setup] Setting up shopping_list
2024-11-26 19:03:39.311 INFO (MainThread) [homeassistant.setup] Setup of domain shopping_list took 0.00 seconds
2024-11-26 19:03:39.318 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.07 seconds
2024-11-26 19:03:39.323 INFO (MainThread) [homeassistant.setup] Setting up scheduler
2024-11-26 19:03:39.323 INFO (MainThread) [homeassistant.setup] Setup of domain scheduler took 0.00 seconds
2024-11-26 19:03:39.324 INFO (MainThread) [homeassistant.setup] Setting up tag
2024-11-26 19:03:39.325 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 0.00 seconds
2024-11-26 19:03:39.327 INFO (MainThread) [homeassistant.setup] Setting up sun
2024-11-26 19:03:39.327 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.00 seconds
2024-11-26 19:03:39.328 INFO (MainThread) [homeassistant.components.sensor] Setting up sun.sensor
2024-11-26 19:03:39.329 INFO (MainThread) [homeassistant.setup] Setting up google_translate
2024-11-26 19:03:39.329 INFO (MainThread) [homeassistant.setup] Setup of domain google_translate took 0.00 seconds
2024-11-26 19:03:39.332 INFO (MainThread) [homeassistant.setup] Setting up schedule
2024-11-26 19:03:39.333 INFO (MainThread) [homeassistant.setup] Setup of domain schedule took 0.00 seconds
2024-11-26 19:03:39.336 INFO (MainThread) [homeassistant.setup] Setting up hardware
2024-11-26 19:03:39.430 INFO (MainThread) [homeassistant.setup] Setting up go2rtc
2024-11-26 19:03:39.439 INFO (MainThread) [homeassistant.setup] Setting up homeassistant_alerts
2024-11-26 19:03:39.439 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant_alerts took 0.00 seconds
2024-11-26 19:03:39.439 INFO (MainThread) [homeassistant.setup] Setting up application_credentials
2024-11-26 19:03:39.439 INFO (MainThread) [homeassistant.setup] Setup of domain application_credentials took 0.00 seconds
2024-11-26 19:03:39.439 INFO (MainThread) [homeassistant.setup] Setup of domain hardware took 0.10 seconds
2024-11-26 19:03:39.439 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2024-11-26 19:03:39.440 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 0.00 seconds
2024-11-26 19:03:39.447 INFO (MainThread) [homeassistant.setup] Setting up versatile_thermostat
2024-11-26 19:03:39.447 INFO (MainThread) [custom_components.versatile_thermostat] Initializing versatile_thermostat integration with config: None
2024-11-26 19:03:39.447 INFO (MainThread) [custom_components.versatile_thermostat] No global config from configuration.yaml available
2024-11-26 19:03:39.447 INFO (MainThread) [homeassistant.setup] Setup of domain versatile_thermostat took 0.00 seconds
2024-11-26 19:03:39.451 INFO (MainThread) [homeassistant.setup] Setting up counter
2024-11-26 19:03:39.451 INFO (MainThread) [homeassistant.setup] Setup of domain counter took 0.00 seconds
2024-11-26 19:03:39.460 INFO (MainThread) [homeassistant.setup] Setting up ipp
2024-11-26 19:03:39.460 INFO (MainThread) [homeassistant.setup] Setup of domain ipp took 0.00 seconds
2024-11-26 19:03:39.466 INFO (MainThread) [homeassistant.setup] Setting up met
2024-11-26 19:03:39.466 INFO (MainThread) [homeassistant.setup] Setup of domain met took 0.00 seconds
2024-11-26 19:03:39.475 INFO (MainThread) [homeassistant.setup] Setting up spook
2024-11-26 19:03:39.475 INFO (MainThread) [homeassistant.setup] Setup of domain spook took 0.00 seconds
2024-11-26 19:03:39.475 INFO (MainThread) [homeassistant.setup] Setting up input_text
2024-11-26 19:03:39.476 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 0.00 seconds
2024-11-26 19:03:39.486 INFO (MainThread) [homeassistant.setup] Setting up openweathermap
2024-11-26 19:03:39.486 INFO (MainThread) [homeassistant.setup] Setup of domain openweathermap took 0.00 seconds
2024-11-26 19:03:39.486 INFO (MainThread) [pyopenweathermap.client.owm_client_factory] Initializing OWMClient with api type: v3.0
2024-11-26 19:03:39.731 INFO (SyncWorker_4) [homeassistant.loader] Loaded template from homeassistant.components.template
2024-11-26 19:03:39.733 INFO (MainThread) [homeassistant.setup] Setting up radio_browser
2024-11-26 19:03:39.733 INFO (MainThread) [homeassistant.setup] Setup of domain radio_browser took 0.00 seconds
2024-11-26 19:03:39.735 INFO (MainThread) [homeassistant.setup] Setup of domain go2rtc took 0.30 seconds
2024-11-26 19:03:39.747 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2024-11-26 19:03:39.747 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.00 seconds
2024-11-26 19:03:39.775 INFO (MainThread) [homeassistant.setup] Setting up hacs
2024-11-26 19:03:39.775 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 0.00 seconds
2024-11-26 19:03:39.775 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)

Version: 2.0.1
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------

2024-11-26 19:03:39.782 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
2024-11-26 19:03:39.803 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore done
2024-11-26 19:03:39.803 INFO (MainThread) [custom_components.hacs] Enable category: integration
2024-11-26 19:03:39.803 INFO (MainThread) [custom_components.hacs] Enable category: plugin
2024-11-26 19:03:39.803 INFO (MainThread) [custom_components.hacs] Enable category: template
2024-11-26 19:03:39.804 INFO (MainThread) [custom_components.hacs] Enable category: theme
2024-11-26 19:03:39.807 INFO (MainThread) [homeassistant.setup] Setting up backup
2024-11-26 19:03:39.807 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.00 seconds
2024-11-26 19:03:39.808 INFO (MainThread) [custom_components.hacs] Setting up plugin endpoint
2024-11-26 19:03:39.808 INFO (MainThread) [custom_components.hacs] <HacsFrontend> storage mode, cache for /hacsfiles/: True
2024-11-26 19:03:39.813 INFO (MainThread) [homeassistant.components.sensor] Setting up energy.sensor
2024-11-26 19:03:39.820 INFO (MainThread) [homeassistant.setup] Setting up analytics
2024-11-26 19:03:39.820 INFO (MainThread) [homeassistant.setup] Setup of domain analytics took 0.00 seconds
2024-11-26 19:03:39.822 INFO (MainThread) [homeassistant.setup] Setting up todo
2024-11-26 19:03:39.824 INFO (MainThread) [homeassistant.setup] Setup of domain todo took 0.00 seconds
2024-11-26 19:03:39.824 INFO (MainThread) [homeassistant.components.todo] Setting up shopping_list.todo
2024-11-26 19:03:39.911 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2024-11-26 19:03:39.911 INFO (MainThread) [homeassistant.setup] Setting up notify
2024-11-26 19:03:39.911 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.00 seconds
2024-11-26 19:03:39.911 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.00 seconds
2024-11-26 19:03:39.912 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor
2024-11-26 19:03:39.912 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2024-11-26 19:03:39.912 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.00 seconds
2024-11-26 19:03:39.912 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker
2024-11-26 19:03:39.913 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor
2024-11-26 19:03:39.914 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2024-11-26 19:03:39.914 INFO (MainThread) [homeassistant.setup] Setting up default_config
2024-11-26 19:03:39.914 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.00 seconds
2024-11-26 19:03:39.918 INFO (MainThread) [homeassistant.setup] Setting up switch
2024-11-26 19:03:39.918 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.00 seconds
2024-11-26 19:03:39.918 INFO (MainThread) [homeassistant.components.switch] Setting up scheduler.switch
2024-11-26 19:03:39.926 INFO (MainThread) [homeassistant.components.tts] Setting up google_translate.tts
2024-11-26 19:03:39.933 INFO (MainThread) [homeassistant.components.select] Setting up versatile_thermostat.select
2024-11-26 19:03:39.934 INFO (MainThread) [homeassistant.setup] Setting up climate
2024-11-26 19:03:39.934 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.00 seconds
2024-11-26 19:03:39.935 INFO (MainThread) [homeassistant.components.climate] Setting up versatile_thermostat.climate
2024-11-26 19:03:39.935 INFO (MainThread) [homeassistant.components.sensor] Setting up versatile_thermostat.sensor
2024-11-26 19:03:39.935 INFO (MainThread) [homeassistant.components.number] Setting up versatile_thermostat.number
2024-11-26 19:03:39.936 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up versatile_thermostat.binary_sensor
2024-11-26 19:03:39.936 INFO (MainThread) [homeassistant.components.switch] Setting up versatile_thermostat.switch
2024-11-26 19:03:39.937 INFO (MainThread) [homeassistant.components.select] Setting up versatile_thermostat.select
2024-11-26 19:03:39.937 INFO (MainThread) [homeassistant.components.climate] Setting up versatile_thermostat.climate
2024-11-26 19:03:39.937 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-V-Arbeitszimmer - Updating VersatileThermostat with infos {'ac_mode': False, 'auto_fan_mode': 'auto_fan_none', 'auto_regulation_dtemp': 0.5, 'auto_regulation_mode': 'auto_regulation_valve', 'auto_regulation_periode_min': 5, 'auto_regulation_use_device_temp': False, 'auto_start_stop_level': 'auto_start_stop_none', 'central_boiler_activation_service': None, 'central_boiler_deactivation_service': None, 'closing_degree_entity_ids': ['number.thermostat_arbeitszimmer_valve_closing_degree'], 'cycle_min': 5, 'device_power': 1.0, 'max_power_sensor_entity_id': None, 'motion_sensor_entity_id': None, 'name': 'V-Arbeitszimmer', 'offset_calibration_entity_ids': ['number.thermostat_arbeitszimmer_local_temperature_calibration'], 'opening_degree_entity_ids': ['number.thermostat_arbeitszimmer_valve_opening_degree'], 'power_sensor_entity_id': None, 'presence_sensor_entity_id': None, 'proportional_function': 'tpi', 'temperature_sensor_entity_id': 'sensor.th_sensor_arbeitszimmer_temperature', 'thermostat_type': 'thermostat_over_climate', 'underlying_entity_ids': ['climate.thermostat_arbeitszimmer'], 'use_advanced_central_config': True, 'use_auto_start_stop_feature': False, 'use_central_boiler_feature': False, 'use_central_mode': True, 'use_main_central_config': True, 'use_motion_central_config': False, 'use_motion_feature': False, 'use_power_central_config': False, 'use_power_feature': False, 'use_presence_central_config': False, 'use_presence_feature': False, 'use_presets_central_config': True, 'use_tpi_central_config': True, 'use_window_central_config': False, 'use_window_feature': False, 'used_by_controls_central_boiler': False, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'window_auto_open_threshold': None, 'window_sensor_entity_id': None}
2024-11-26 19:03:39.937 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-V-Arbeitszimmer - The merged configuration is {'auto_start_stop_level': 'auto_start_stop_none', 'central_boiler_activation_service': None, 'central_boiler_deactivation_service': None, 'external_temperature_sensor_entity_id': 'sensor.openweathermap_temperature', 'max_power_sensor_entity_id': None, 'minimal_activation_delay': 10, 'motion_sensor_entity_id': None, 'name': 'V-Arbeitszimmer', 'power_sensor_entity_id': None, 'presence_sensor_entity_id': None, 'security_default_on_percent': 0.1, 'security_delay_min': 60, 'security_min_on_percent': 0.5, 'step_temperature': 0.1, 'temp_max': 35.0, 'temp_min': 7.0, 'thermostat_type': 'thermostat_over_climate', 'use_advanced_central_config': True, 'use_auto_start_stop_feature': False, 'use_central_boiler_feature': False, 'use_central_mode': True, 'use_main_central_config': True, 'use_motion_central_config': False, 'use_motion_feature': False, 'use_power_central_config': False, 'use_power_feature': False, 'use_presence_central_config': False, 'use_presence_feature': False, 'use_presets_central_config': True, 'use_tpi_central_config': True, 'use_window_central_config': False, 'use_window_feature': False, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'window_auto_open_threshold': None, 'window_sensor_entity_id': None, 'ac_mode': False, 'auto_fan_mode': 'auto_fan_none', 'auto_regulation_dtemp': 0.5, 'auto_regulation_mode': 'auto_regulation_valve', 'auto_regulation_periode_min': 5, 'auto_regulation_use_device_temp': False, 'closing_degree_entity_ids': ['number.thermostat_arbeitszimmer_valve_closing_degree'], 'cycle_min': 5, 'device_power': 1.0, 'offset_calibration_entity_ids': ['number.thermostat_arbeitszimmer_local_temperature_calibration'], 'opening_degree_entity_ids': ['number.thermostat_arbeitszimmer_valve_opening_degree'], 'proportional_function': 'tpi', 'temperature_sensor_entity_id': 'sensor.th_sensor_arbeitszimmer_temperature', 'underlying_entity_ids': ['climate.thermostat_arbeitszimmer'], 'used_by_controls_central_boiler': False}
2024-11-26 19:03:39.937 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-V-Arbeitszimmer - Power management is not fully configured
2024-11-26 19:03:39.937 ERROR (MainThread) [custom_components.versatile_thermostat.prop_algorithm] V-Arbeitszimmer - configuration is wrong. function_type=tpi, entity_id is V-Arbeitszimmer, tpi_coef_int is None, tpi_coef_ext is None, cycle_min is 5, minimal_activation_delay is 10
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. See previous log for values
2024-11-26 19:03:39.943 INFO (MainThread) [homeassistant.components.sensor] Setting up versatile_thermostat.sensor
2024-11-26 19:03:39.945 INFO (MainThread) [homeassistant.components.number] Setting up versatile_thermostat.number
2024-11-26 19:03:39.945 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up versatile_thermostat.binary_sensor
2024-11-26 19:03:39.945 INFO (MainThread) [homeassistant.components.switch] Setting up versatile_thermostat.switch
2024-11-26 19:03:39.955 INFO (MainThread) [homeassistant.components.sensor] Setting up ipp.sensor
2024-11-26 19:03:40.085 INFO (MainThread) [homeassistant.components.switch] Setting up hacs.switch
2024-11-26 19:03:40.087 INFO (MainThread) [homeassistant.components.update] Setting up hacs.update
2024-11-26 19:03:40.089 INFO (MainThread) [custom_components.hacs] Stage changed: setup
2024-11-26 19:03:40.090 INFO (MainThread) [custom_components.hacs] Stage changed: waiting
2024-11-26 19:03:40.090 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts
2024-11-26 19:03:40.092 INFO (MainThread) [homeassistant.setup] Setting up weather
2024-11-26 19:03:40.092 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.00 seconds
2024-11-26 19:03:40.092 INFO (MainThread) [homeassistant.components.weather] Setting up met.weather
2024-11-26 19:03:40.094 INFO (MainThread) [homeassistant.components.sensor] Setting up openweathermap.sensor
2024-11-26 19:03:40.096 INFO (MainThread) [homeassistant.components.weather] Setting up openweathermap.weather
2024-11-26 19:03:40.127 INFO (MainThread) [homeassistant.components.sensor] Setting up mqtt.sensor
2024-11-26 19:03:40.128 INFO (MainThread) [homeassistant.components.switch] Setting up mqtt.switch
2024-11-26 19:03:40.128 INFO (MainThread) [homeassistant.components.select] Setting up mqtt.select
2024-11-26 19:03:40.128 INFO (MainThread) [homeassistant.setup] Setting up button
2024-11-26 19:03:40.128 INFO (MainThread) [homeassistant.setup] Setup of domain button took 0.00 seconds
2024-11-26 19:03:40.128 INFO (MainThread) [homeassistant.components.button] Setting up mqtt.button
jmcollin78 commented 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.

Dave811 commented 2 days ago

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.

jmcollin78 commented 1 day ago

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:

  1. After I updated to the latest 6.8.0Beta9,
  2. 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 ?
  3. 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.

Thanks for the report !

Dave811 commented 1 day ago

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:

  1. After I updated to the latest 6.8.0Beta9,
  2. 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 ?
  3. 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: @.***>

jmcollin78 commented 23 hours ago

Hello, i try many and many combinations without success to reproduce. If you find a way please tell me how you do.