I am using Zanzito android app for battery status and locations but after hassio update 0.92.0 facing a Configuration invalid. No error in the log file.
I have changed in custom components.
custom components/notify/zanzito.py and make a new empty file "
__init__.py
" in notify folder.
but don’t know where find REQUIREMENTS
or DEPENDENCIES
constants for add in to the __init__.py
file.
- Platforms can no longer have dependencies or requirements. Instead, create a
manifest.json
in themy_platform
folder to specify them, or addREQUIREMENTS
orDEPENDENCIES
constants to the__init__.py
file.
Is Zanzito still dbeing developed? See https://www.reddit.com/r/homeassistant/comments/arczxy/is_zanzito_dead/
Unfortunately developer not support Zanzito any more, but Zanzito is very stable.
I added this as my manifest.json
{
“domain”: “zanzito”,
“name”: “zanzito”,
“documentation”: “https://www.example.com”,
“dependencies”: [“mqtt”],
“codeowners”: [],
“requirements”: []
}
in the custom_components/zanzito directory.
It seems to be working.
Thanks a lot. Now the configuration is valid
I’m hoping someone can help me please. I’ve just recovered form a SD Card issue and had to reinstall everything from scratch. I know I’m a dumbass for not backing up!
I’ve set almost everything up except Zanzito as I can’t seem to stick it all back together as needed as of version 95 of Hassio.
This is what I’ve done so far:-
Created a zanzito folder under config/custom_components/
Added zanzito.py and added the data found here https://www.barbaro.it/cms/images/android/zanzito.py
from reading around and from this post added a init.py file with nothing in it and also added the manifest.json as found in this post.
in my configuration file I have
platform: mqtt_json
device_tracker:
platform: mqtt_json
devices:
mobile_phone_david: zanzito/mobile_phone_david/location
and
notify:
platform: zanzito
name: zanzito_david
mobile_phone_david: mobile_phone_david
Can anyone see why it may not be working please
The latest error I’ve received is -
“Invalid config for [notify.zanzito]: required key not provided @ data[‘device-name’]. Got None.”
I’ll check over my indents and look for typos etc, however is the structure correct please?
Thank you for looking at this.