Closed mplogas closed 3 years ago
Thanks for sharing this issue!
As the error message already indicates, the value teufel_raumfeld.webservice_update
with 33 characters exceeds the current limit of 32 characters of the recorder
component:
https://github.com/home-assistant/core/blob/597bf67f5a8483f1e032e43678103cb33bec561f/homeassistant/components/recorder/models.py#L52
There is no issue when using SQLite as it does not impose any length restrictions. See: Affinity Name Examples, Datatypes In SQLite Version 3.
Now I'm wondering if there is a specification that mandates the 32 character limit for a reason, or if it's just a value that was considered sufficient at a certain point in time.
Edit: There is an open pull request to set the limit to 64 characters: https://github.com/home-assistant/core/pull/47748
Instead of making changes to teufel_raumfeld
I'd suggest to wait for the implementation of this PR.
One could also consider to alter the table manually. But I cannot tell whether this will finally fix the issue or could even break something. I neither have any experience with the recorder
component nor do I have with the MariaDB Add-on. It would therefore be at your own risk.
Hi, thanks for adding this integration for Teufel. I installed the integration yesterday and was greeted by a bunch of errors in the log today
System: Hass.io on a NUC
Recorder: MariaDb AddOn 2.2.2 HACS 1.11.3 teufel_raumfeld component version: 696ac9b Teufel Systems:
Error: