Changes in 5.4.0
This release changes the update behavior of some binary sensors, see #510. In the old situation, all binary sensors updated their state on each BLE message, even if the state was the same as the old state. According to the HA developers docs, this is not recommended, as it will will spam the state machine. However, this can't be changed for all binary sensors, as some do need to update on each BLE message (like remotes, switches, etc, while others don't.
The following binary sensors will update on each state update, even if the state is the same (old behavior).
- remote single press
- remote long press
- switch
- fingerprint
- lock
The following binary sensors will NOT update the state, if the state is the same as the previous state (changed behavior).
- opening
- light
- moisture (wet/dry)
- motion
- weight removed
- smoke detector
- toothbrush