Skip to content

5.4.0 - Changed force update behavior binary sensors

Compare
Choose a tag to compare
@Ernst79 Ernst79 released this 26 Sep 17:52
· 1295 commits to master since this release
0112a02

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