Closed frenck closed 9 months ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
tested, works now like expected 👍
Thanks for letting me know @martinhoess ❤️
../Frenck
Description
Adds a workaround to get to the Zone storage collection.
Motivation and Context
Home Assistant doesn't set the Zone storage collection into the hass.data when the Home zone is defined/overriden in YAML. Causing Spook his zone services to fail.
This PR adds a workaround by grabbing the collection from the WebSocket API handlers. (Super dirty).
fixes #311
How has this been tested?
Defined the Home zone in YAML and restarted HA. Confirmed the services now work, but don't work without the PR applied.
Screenshots (if appropriate):
-
Types of changes
Checklist