Comments (5)
Thanks for reporting, try out https://github.com/signalkraft/mypyllant-component/releases/tag/v0.0.12 - I made the missing field optional.
This sort of problem will probably pop up a few more times while you're setting up this component, because I had no way of testing which data the myVAILLANT API returns for different installations. Please turn on debug logging for this integration if you encounter another problem and add it to this issue.
from mypyllant-component.
Also very happy with the component, only problems to get it work.
v0.0.17
See below logging, hopefully you can manage the problem
2023-02-28 13:21:32.303 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 1 validation error for DomesticHotWater
current_dhw_tank_temperature
field required (type=value_error.missing)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/mypyllant/init.py", line 129, in _async_update_data
data = [
File "/config/custom_components/mypyllant/init.py", line 129, in
data = [
File "/usr/local/lib/python3.10/site-packages/myPyllant/api.py", line 198, in get_systems
system = System(
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 116, in init
self.domestic_hot_water = [
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 117, in
DomesticHotWater(system_id=self.id, **d)
File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 342, in init
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for DomesticHotWater
current_dhw_tank_temperature
field required (type=value_error.missing)
2023-02-28 13:21:32.402 WARNING (MainThread) [homeassistant.config_entries] Config entry 'localhost' for eufy_security integration not ready yet; Retrying in background
2023-02-28 13:21:33.214 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 1 validation error for DomesticHotWater
current_dhw_tank_temperature
field required (type=value_error.missing)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/mypyllant/init.py", line 146, in _async_update_data
async for system in await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.10/site-packages/myPyllant/api.py", line 198, in get_systems
system = System(
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 116, in init
self.domestic_hot_water = [
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 117, in
DomesticHotWater(system_id=self.id, **d)
File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 342, in init
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for DomesticHotWater
current_dhw_tank_temperature
field required (type=value_error.missing)
2023-02-28 13:21:33.526 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: 1 validation error for DomesticHotWater
current_dhw_tank_temperature
field required (type=value_error.missing)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/mypyllant/init.py", line 167, in _async_update_data
async for system in await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.10/site-packages/myPyllant/api.py", line 198, in get_systems
system = System(
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 116, in init
self.domestic_hot_water = [
File "/usr/local/lib/python3.10/site-packages/myPyllant/models.py", line 117, in
DomesticHotWater(system_id=self.id, **d)
File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 342, in init
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for DomesticHotWater
current_dhw_tank_temperature
field required (type=value_error.missing)
2023-02-28 13:21:33.661 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up mypyllant platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/mypyllant/binary_sensor.py", line 32, in async_setup_entry
for index, system in enumerate(coordinator.data):
TypeError: 'NoneType' object is not iterable
2023-02-28 13:21:33.668 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up mypyllant platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/mypyllant/sensor.py", line 62, in async_setup_entry
for index, system in enumerate(system_coordinator.data):
TypeError: 'NoneType' object is not iterable
2023-02-28 13:21:33.674 ERROR (MainThread) [homeassistant.components.climate] Error while setting up mypyllant platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/mypyllant/climate.py", line 59, in async_setup_entry
for index, system in enumerate(coordinator.data):
TypeError: 'NoneType' object is not iterable
2023-02-28 13:21:33.683 ERROR (MainThread) [homeassistant.components.water_heater] Error while setting up mypyllant platform for water_heater
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/mypyllant/water_heater.py", line 39, in async_setup_entry
for index, system in enumerate(coordinator.data):
TypeError: 'NoneType' object is not iterable
from mypyllant-component.
@erikvtv I created a new release that may fix your problem.
This sort of problem will probably pop up a few more times while you're setting up this component, because I had no way of testing which data the myVAILLANT API returns for different installations. Please turn on debug logging for this integration if you encounter another problem and add it to this issue.
from mypyllant-component.
Hi Signalkraft,
thx v0.018 is fixing the problem
from mypyllant-component.
@erikvtv glad to hear that!
from mypyllant-component.
Related Issues (20)
- Unable to fetch myValliant data - 0.7.4b6 HOT 3
- 'Internal Server Error' when fetching myValliant data HOT 4
- Migrate from Multimatic to myVaillant, no entity created HOT 4
- Adding support for new sensors on/off cycles and running time HOT 8
- Climate control creates an warning HOT 1
- Recovair 260 Support? HOT 3
- Climate entity gone?
- Error when setting zone operating mode
- All entities are marked as "no longer provided by the integration" HOT 11
- No auth HOT 4
- Could not get MPC / RTS data HOT 2
- Add FAN level 1-5 for Recovair 260/360/4
- Only full integer for electrical values instead of float HOT 1
- Error when setting away mode
- Circulation binary sensor missing (binary_sensor.dhw_circulation) HOT 2
- Vaillant Device 0 ecoTEC plus > Status unavailable HOT 5
- Consumed Electrical or Primary for Hot Water or Heating is Unknown (4 Entities) HOT 4
- 'AUTO' is not a valid DHWOperationMode (migrated from multimatic) HOT 1
- Ambisense support HOT 1
- All Sensors gone after latest mapyllant update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mypyllant-component.