2021.7: A new entity, trigger IDs and script debugging

hdmi_cec stopped working for me. I know that it’s listed in breaking changes, it says:

Our Docker container has limited support for CEC drivers to those provided by the Linux kernel.

This will cover most CEC drivers out there.

I’m running Home Assistant OS on Raspberry Pi 3, which I think is a pretty common setup. But now I get a “No adapters found” error. So apparently it no longer works here. Now I’ll have to find another way to reliably tell if my TV is on (the Panasonic TV integration was not very reliable last time I tried it)…

I confirm that the SMS platform has stopped working since version 7.1. of course there is a snapshot with the core-2021.6.6 version and thanks to this I was able to restore the SMS work

Well, I updated to 2021.7.2, as there was a reference to insteon in the release notes, but I still get the same error:

2021-07-14 16:56:39 ERROR (MainThread) [homeassistant.components.insteon] Could not connect to Insteon modem
2021-07-14 16:56:39 DEBUG (MainThread) [homeassistant.config_entries] Config entry '' for insteon integration not ready yet: Modem did not respond to ID request; Retrying in 80 seconds

or sometimes

2021-07-14 17:17:54 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/protocol.py", line 187, in _write_messages
    await self._transport.async_write(msg)
  File "/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_transport.py", line 110, in async_write
    await self._async_write_url(url=url, msg=bytes(data))
  File "/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_transport.py", line 119, in _async_write_url
    await self._read_write_lock

I have no idea which config item it’s referring to, as I configured it in the integration.

Any ideas?

New fix coming in 2021.7.3 The fix is detailed here:

The new Xiaomi update, requires me to add one device at a time, which mean for each device I need to first enter the username/password and then select the device from the drop down list. I have close to 80 xiaomi devices in my home and I think I’ll loose my sanity if I have to add all of them to home assistant. I wish there was a way to select multiple devices at once. It would make things a lot simpler.

What also worries me more is that if I add all of the devices and later decide to change the Xiaomi account password then the I may probably have to do the whole thing again.

I think I’ll be sticking to the June 2021 release for now.

2 Likes

Same problem here. Another thread on RainBird integration to be broken suggests it might have something to do with the Python version 2021.7 broke Rainbird integration
Any news on that?

I’m experiencing the same MODBUS problems with the new configuration when using multiple hosts. Where can i follow the fix? Any news on this?

Most of the issues are listed here: Issues · home-assistant/core · GitHub

If you click on Milestones you can see what the current version being worked on. So right now that is 2021.7.3 and all the items closed for that release are listed here: Issues · home-assistant/core · GitHub

That link above is what you will find under Milestones. It shows the current version being worked on, and what is Open and what is Closed.

There are some Modbus fixes in there that you can read up on.

3 Likes

Modbus does not work at all with 2021.7.3 :frowning: (at least in my case)
Here #52872 it was working at least partially
Must return back to 2021.6.6

It’s been already discussed, but InfluxDB integration still not working in 2021.7.3.

Here is more detailed log:

2021-07-16 14:41:09 ERROR (MainThread) [homeassistant.setup] Setup failed for influxdb: unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 201, in _async_setup_component
component = integration.get_component()
File "/usr/src/homeassistant/homeassistant/loader.py", line 490, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/influxdb/__init__.py", line 13, in <module>
from influxdb import InfluxDBClient, exceptions
File "/usr/local/lib/python3.9/site-packages/influxdb/__init__.py", line 10, in <module>
from .dataframe_client import DataFrameClient
File "/usr/local/lib/python3.9/site-packages/influxdb/dataframe_client.py", line 12, in <module>
import pandas
File "/usr/local/lib/python3.9/site-packages/pandas/__init__.py", line 22, in <module>
from pandas.compat import (
File "/usr/local/lib/python3.9/site-packages/pandas/compat/__init__.py", line 15, in <module>
from pandas.compat.numpy import (
File "/usr/local/lib/python3.9/site-packages/pandas/compat/numpy/__init__.py", line 7, in <module>
from pandas.util.version import Version
File "/usr/local/lib/python3.9/site-packages/pandas/util/__init__.py", line 1, in <module>
from pandas.util._decorators import ( # noqa
File "/usr/local/lib/python3.9/site-packages/pandas/util/_decorators.py", line 14, in <module>
from pandas._libs.properties import cache_readonly # noqa
File "/usr/local/lib/python3.9/site-packages/pandas/_libs/__init__.py", line 13, in <module>
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

It seem’s to be this problem, or at leas somehow related: https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.htmlhttps://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp

Also note that “Check configuration” button is not working (spinning for indefinity), but command ha core check is working just fine.

2 Likes

Is this an external InfluxDB database?

Because the addon is working fine for me.

No, I have influxDB addon, but I don’t think that this is a problem. The log I’ve sedn’t you is from home assistant core, so I do believe that problem is somewhere there.

E.g. “Check configuration” works fine if there is no “influxdb” element in configuration.yaml, but if there is any it’s been spinning for indefinitely.

Just let me know if you need some more verbose logs or enything.

1 Like

Hi all,

Just installed 2021.7.3.
From the release notes I gather that “Expose Spotify as a service (@balloob - #53063)” would mean we would have gained a new service called Spotify, was I wrong?

I’m asking because the service call drop down list doesn’t have anything with “Spotify” on it.

Can anyone chime in on this please?
@balloob ?
TIA

im not sure I understand. I left the @ when I installed MDB today. worked.
then I read about change and made the changes
%40 and it did not work.
replaced back to @ and its working. am I missing something?

Version core-2021.7.2
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
Virtual Environment false
Python Version 3.9.5
Operating System Family Linux
Operating System Version 5.9.16
CPU Architecture aarch64

Hi,
I have the same error in my log and also confirm that “Check configuration” button is not working (spinning for indefinity)

1 Like

I believe it means it’s discoverable through the ui via network and auto discovered that way, versus having to set it up through configuration.yaml

2 Likes

Please do not tag the creator of home assistant for a question that anyone can answer, just ask the question in the thread. See guideline 16. Thanks.

This is not referencing a home assistant service, it’s referencing the ability to connect to spotify devices by detecting them on the network. You’ll only see a change if there’s a spotify device on your network that has not been set up in home assistant.

Hi @petro

Sorry, I don’t understand what you mean by tagging the creator of home assistant.
I merely made a quote from the release notes, surely that can’t hurt.

Well, if this is not referencing a home assistant service, then why are the release notes stating it exposes Spotify as a service?

I know English is not my native language, but my limited proficiency level tells me someone chose the wrong words to describe the feature, and heck if I understand why we the users can be blamed for not getting the underlying reasoning and functionality.

Speaking of which, may I inquire where is the documentation for this feature?
The only thing I can see is the weak documentation on the integration itself…

I’ve been a software developer, DBA, and project manager for some 30 years now, and I can tell you documentation is greatly underestimated.

If I may, and you don’t mind, I’ll leave a suggestion that HASS developers spend a bit more time worrying about documenting the features they implement.

I can assure you they will spend far less time dealing with unnecessary queries like mine here if they do.

Sorry for the rant, but I really can’t get it when someone just doesn’t assume their mistakes.

Have a nice weekend, with far more pleasant things on your mind.

Cheers,

2 Likes

Thank you @moto2000 , I would not have reached that understanding if no-one would have mentioned it.

By the looks of it it does seem to be the case, thanks for clearing it for me, with no judgemental attitudes.

Using the @ followed by a username tags somebody and send them a notification. You tagged balloob, the founder of Home Assistant in that quote from the Release Notes.