Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Remove duplicated code in binary_sensor and remote platforms

Compare
Choose a tag to compare
@robmarkcole robmarkcole released this 10 Mar 09:50
· 52 commits to master since this release
4e95a13

Under the hood changes to remove duplicated code in binary_sensor and remote platforms, and merge the data source for them.

Usage recommendations

If sub-second delay is not critical for you, but the 5 seconds of the official integration for sensors is too much, and you have remotes (not implemented in HA Core yet), the best configuration would be something like this:

remote:
  - platform: huesensor
    scan_interval: 2

With that, and configuring the binary sensors in HA Core, both remotes and sensors will have a 2-sec update rate.

Many thanks to @azogue for this contribution