Maybe it should be mentioned, that with 2021.3.4 I manually have to reload MET.no after every HA restart. So the issue might be older. Running HA OS on an raspb3+
almost slipped by, but I see we now can filter log messages https://www.home-assistant.io/integrations/logger/#log-filters
this might be the only option on the terribly annoying NMBS integration errors that are not to be avoided (issue in Github has been there for ages, and wont get resolved any time soon I fear)
this is in the logs, in many variants daily, mostly during the night, but also randomly at daytime
2021-04-10 09:27:10 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.brussel_noord_essen fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 292, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 498, in async_device_update
await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/nmbs/sensor.py", line 272, in update
if connections is None or not connections["connection"]:
KeyError: 'connection'
2021-04-10 09:34:40 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.essen_brussel_noord fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 292, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 498, in async_device_update
await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/nmbs/sensor.py", line 272, in update
if connections is None or not connections["connection"]:
KeyError: 'connection'
How could I filter that given the fact that the main Error is on homeassistant.helpers.entity
but the significant bit is at the end:
File "/usr/src/homeassistant/homeassistant/components/nmbs/sensor.py", line 272, in update
if connections is None or not connections["connection"]:
KeyError: 'connection'
and the KeyError
is not always identical ? eg
File "/usr/src/homeassistant/homeassistant/components/nmbs/sensor.py", line 155, in update
if liveboard is None or not liveboard["departures"]:
KeyError: 'departures'
thanks for having a look, hope this can be done.
Same here. I have upgraded yesterday to 2021.4.2 using Supervisor. Everything seemed to be OK. No update pending message.
Then this morning, I get this:
Should I click on “Update” ?
I have this only on one of my HA. The other HA still shows that the Newest Version is 2021.4.2 (while indeed 2021.4.3 has been released) ???
I had to replace all secrets in my configuration files with their actual values before I could pass a config check to 2021.4.x.
No do not downgrade, not needed. Just wait for this bug to be solved
Related feature request:
Are you sure that’s not an old dev version?
I’m pretty sure the Dev repo isn’t needed anymore
Yes and no… before it was sufficient to use “dev”. But now the official documentation states to do so:
Any hope the severe bugs related to IOS get addressed?
It is impossible to edit anything on IOS. The minute you need to type anything in a code window you cannot. You can only view and click in the UI. The minute want to change something you get stuck because you cannot edit text in any place that uses code editor. That is developer tools. Any editing of Lovelace cards. It is all broken. It seems like the code has lost the position of the cursor and think it is on first line first character because when you set the cursor at the end of a line, the backspace is ignored and if you type letters the cursor jumps to start of a line and it all goes garbage. You cannot even work around it. It is broken in a way you cannot use it at all
No problems here on iOS. Your issue is also 3 days old. You’re going to have to be a little more patient. Even if a fix is found and delivered, it wouldn’t be til next release.
EDIT: I’m fully up to date: iOS 14.4.2. I’m able to edit any text box without issue. I can edit the yaml boxes, normal fields, template editor. I tried this on safari, chrome, and the companion app.
My worry is that noone has taken ownership of the bug report. And the experience here is that either a bug gets assigned and fixed quickly or it gets ignored at it moves to page two of the list of bugs.
I am puzzled you say it works. I wonder what you tried. And I would like others to confirm this.
Try these steps (they are in the github)
View ny lovelace tab ob which you have at least one card.
Click Edit Dashboard
Hit Edit on a card. It can be a simple entity card with a few lines
Click Show Code Editor
Click so the cursor is at the end of a line. E.g. the 2nd line.
Let us assume you want to delete the last word. So hit back space. What happens? Nothing!
With the cursor still at the end of a line try and type 4-5 letters. Do you one letter correct and then see the cursor jump to the first position of the first line and the letters you type are added there and not where your cursor was?
You can also try and click in the middle of any line. Does backspace work?
Without the ability to delete any characters and only being able to type anything before the existing text, you cannot practically do anything
It is any feature that uses the code editor that is broken. Same in the developer tools that accept yaml. You can type in other types of text entry fields.
Note this issue was introduced in 2021.4.0. It worked fine before.
Can someone with IOS confirm what I describe here?
Yep, it all works for me. Backspace, any letters. Are you sure you’re not on an old device?
I can confirm the card editor has text-editing bugs. I tried selecting existing text to overwrite it but whatever I type is entered backwards. In other words, if I type the word hello it gets entered as olleh.
(Using latest Firefox browser on Ubuntu 20.04.)
highlighting and overwriting/deleting has never worked on IOS with the platform that is used to display text. We’ve been waiting roughly 2 years for that project to fully implement these abilities in iOS. Regular backspacing and typing letters will work.
EDIT: Let me find the name of the project. It’s code… something.
EDIT: CodeMirror is the project.
Thanks 123. Now we are 3 (also one on the github bug) that see it.
I have tried on my iPad Pro (fully up to date). My iPhone SE (latest model, fully up to date) and my wifes iPad. And several browsers beyond Safari.
Good to know but I wasn’t using an iOS device. Problem was encountered with 2021.4.0 in Firefox browser on Ubuntu. Deleting the text first, then entering the new text was how I worked around the problem.
It worked fine in 2021.3.any, Petro. And noone expects advanced editing features. But a simple backspace to delete character by character always worked. And as I say and 123 sees, it seems the problem is a bug in the cursor position code.
well you’re in luck, it just started happening for me. However, it’s still codemirror and we are at their mercy.
123 I did not get you see it on Ubuntu.
The problem on IOS is there the keyboard has no delete button. Only backspace. There is no way to delete text. And cursor jumping to first line when you type totally goof up the typing.