-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Consequently ignore empty MQTT state payloads and set state to unknown
on "None" payload
#117813
Conversation
Hey there @emontnemery, @bdraco, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbouwh A wild merge conflict appeared out of nowhere... Could you take a look? 🙈
../Frenck
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Thanks! |
Breaking change
The behavior on processing empty and
"None"
state payloads for MQTT entities has been made more predictable foralarm_control_panel
,climate
,cover
,device_tracker
,lock
,select
,valve
andwater_heater
items,unknown
.Previously a "None" state could be considered invalid or was just ignored.
Proposed change
See also breaking change section. The handling of empty payloads and payloads rendering to "None" are handled more consequently now.
Type of change
Additional information
None
values home-assistant.io#32864Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: