rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
667 stars 73 forks source link

HA 2024.2.x :The 'schema' option is deprecated, please remove it from your configuration #517

Open memphi2 opened 7 months ago

memphi2 commented 7 months ago

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

Krispkiwi commented 7 months ago

I'm also getting this @rand256

goodlucknow commented 7 months ago

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.

damousys commented 6 months ago

Any update on this ?

rand256 commented 3 months ago

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?

valetudo240609.tar.gz

Krispkiwi commented 2 months ago

Apologies Rand, I've been away. Has no one tested this?

rand256 commented 2 months ago

I have no idea. Even if someone's did test it, they didn't bother to write about it.

sca075 commented 2 months ago

@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?

pidator commented 2 months ago

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)

sca075 commented 2 months ago

@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?

pidator commented 2 months ago

Oh, there's even a wiki entry for the updating process Link. Perhaps this helps :)

sca075 commented 2 months ago

Will need to setup the SHH but this isn't a problem thanks for the link :)

memphi2 commented 1 month ago

I have just tested it. The message in HA has disappeared with the new package. Thank you very much!

sca075 commented 1 month ago

Confirmed also from my side, installed just some minute ago, the procedure that @pidator provided is really easy thanks for that that @rand256.

goodlucknow commented 1 month ago

@rand256 have this running on my V1 now(had lost SSH access for a time) and errors in homeassistant appear to be resolved. Thanks!