StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
616 stars 111 forks source link

Fix shelly/config not loading #680

Closed jippi closed 2 years ago

jippi commented 2 years ago

Ensure language got a default value if not defined in the config, and make the integrations argument Iterable per the interface requirement

This makes shell/config load correctly for me on most recent stable Home Assistant Core 2022.6.0

Prior i got exceptions about integrations must be Iterable or None as per the HA code

hakana commented 2 years ago

Thanks, I have implemented this so it also will be backward compatible with HA before 2022.6