-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publishing to self_topic_root/reload
no longer works
#59
Comments
@drinfernoo Can you check to ensure the formatting on your sensors.yaml file is correct? Though I would expect this to print an error...hmm. if (SENSORS is None):
LOGGER.error(f"Failed to load sensors.yaml.") |
Adding those lines, and then publishing to Those lines shouldn't have affected the behavior of the script, from what I can tell... though there are a few lines lower that might fail if
But as you mentioned, I would think these would give an error. My |
I still have this odd behavior... wondering what we can do to fix this 🤔 |
Describe the Bug
I added a new sensor today, and after modifying
sensors.yaml
to change the name and device class, tried publishing towyzesense2mqtt/reload
... But that just makes the container stop working. During this process, I was tailing the container log (docker logs -f wyzesense2mqtt
), and nothing happened after the reload message was received, including any further state updates from the sensors. Restarting the container restored regular behavior.Steps To Reproduce
Steps to reproduce the behavior:
self_topic_root/reload
Expected Behavior
Publishing a reload message should... reload the sensors 😅
Additional Context
The last bit of my log, and then nothing happened after this:
The text was updated successfully, but these errors were encountered: