Homeassitant log warnings
Hi I am running latest version of HA
Home Assistant 2023.3.0
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230301.0
Iammeter FW v ATVi.75.98.1@MX1290
Cloud mode
HA log
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for iammeter_http using this method at custom_components/iammeter_http/__init__.py, line 25: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
HACS addon v1.0.9
I have previously tried updating to your latest versions either v1.0.10 or v1.0.11 and they have failed... ie no data and error logs
Regards
Shane
Hi I updated to latest version v...11 and get the following error:
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/iammeter_http/__init__.py:52
Integration: Iammeter_http
First occurred: 18:10:59 (1 occurrences)
Last logged: 18:10:59
Error setting up entry iammeter for iammeter_http
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/iammeter_http/__init__.py", line 22, in async_setup_entry
coordinator = IammeterData(hass, entry)
File "/config/custom_components/iammeter_http/__init__.py", line 52, in __init__
self.port = entry.data[CONF_PORT]
KeyError: 'port'
I just tested the following versions, and I didn’t find the problem you mentioned. The device was added smoothly.
Home Assistant 2023.3.1
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230302.0 - latest
hacs version:1.31.0
iammeter_http v1.0.11
Thanks miwyf,
The error log I get mentions:
File "/config/custom_components/iammeter_http/__init__.py", line 52, in __init__
self.port = entry.data[CONF_PORT]
KeyError: 'port'
So what do I need to look for on my Homeassist install, with regards to KeyError: 'port'
Regards
Shane
Hi:
I thought the ideas that Miwyf want to express is
The version he used about the HA and corresponding component are listed below ,
Home Assistant 2023.3.1
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230302.0 - latest
hacs version:1.31.0
iammeter_http v1.0.11
And he never met the error log.
So he want to confirm what is the corresponding version you used .
when he knows the version difference,he can test whether the specific version would have such an error log.
Hi:
we do not know the FW version of the energy meter, but the FW version of the Home assistant and the corresponding component.
Because we thought this error log is caused by the different version of HA,not the device.
We do not recommend posting private information SN on public, so we delete your previous post.