HA 2024.2.x :The 'schema' option is deprecated, please remove it from your configuration
memphi2 opened this issue ยท 14 comments
v0.10.10 causes the following warning when starting HA > 2024.1:
Logger: homeassistant.components.mqtt.vacuum
Source: helpers/config_validation.py:917
Integration: MQTT (documentation, issues)
First occurred: 20:39:34 (1 occurrences)
Last logged: 20:39:34
The 'schema' option is deprecated, please remove it from your configuration
receiving also. changes on homeassistant end which is unfortunate as Valetudo RE functionally working perfectly.
link to changes from the release notes, hopefully helpful.
it looks like 6 months until the actual breaking change, this is early warning.
Any update on this ?
Well, as far as I understand from the links provided, the actual breaking change is they're dropping the support of legacy
schema which we don't use, while by some reason they start spamming the logs when schema is set to state
which is not going to be unsupported and actually is a default value, right? Then it's a very "useful" warning if you ask me... So all we need to do is to remove the schema altogether and that's it?
I'm attaching the binary which should be completely the same with the latest version, just without the schema
field in mqtt autoconf payload. Could someone confirm this is enough to fix this terrifying issue?
Apologies Rand, I've been away. Has no one tested this?
I have no idea. Even if someone's did test it, they didn't bother to write about it.
@rand256 I would test it but I would need the pkg file, can I use the the old one and just replace the binary in it?
You don't need to completely flash the whole firmware new (.pkg) just download the provided binary, stop the valetudo service on your robot and replace the binary. Then restart the valetudo service again (or do a system reboot, both way works and will start the new binary)
@pidator Thanks, I honestly taught (as the vacuum can load the pkg with the md5) well would be more easy. No plan then to beta release this patch for example?
Oh, there's even a wiki entry for the updating process Link. Perhaps this helps :)
Will need to setup the SHH but this isn't a problem thanks for the link :)
I have just tested it. The message in HA has disappeared with the new package. Thank you very much!
@rand256 have this running on my V1 now(had lost SSH access for a time) and errors in homeassistant appear to be resolved. Thanks!