hass-core/homeassistant
Phil Bruckner 0ed7bc3b8e
Convert amcrest binary sensors from poll to stream (#32818)
* Convert amcrest binary sensors from poll to stream

- Bump amcrest package to 1.6.0.
- For online binary sensor poll camera periodically to test communications in case
  configuration & usage results in no other communication to camera.
- Start a separate thread to call camera's event_stream method since it never returns.
- Convert all received events into signals that cause corresponding sensors to update.
- Use camera's generic event_channels_happened method to update sensors at startup,
  and whenever camera comes back online after being unavailable.

* Changes per review

* Changes per review 2

* Changes per review 3

- Move event stream decoding to amcrest package.
- Change name of event processing threads so global
  counter is no longer required.
- Bump amcrest package to 1.7.0.
2020-03-19 21:07:21 -07:00
..
auth Replace cmp option with eq and order (#31423) 2020-02-02 20:28:52 -08:00
components Convert amcrest binary sensors from poll to stream (#32818) 2020-03-19 21:07:21 -07:00
generated Add Nexia thermostat support (Trane / American Standard) (#32826) 2020-03-19 21:03:51 -05:00
helpers Type hint improvements (#32905) 2020-03-18 19:27:25 +02:00
scripts Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
util Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
__init__.py
__main__.py Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
bootstrap.py Type hint improvements (#32793) 2020-03-14 11:39:28 +01:00
config.py Fix zones in packages (#33027) 2020-03-19 20:45:26 -07:00
config_entries.py Freeze config entry data (#32615) 2020-03-09 14:07:50 -07:00
const.py Bumped version to 0.108.0dev0 (#32697) 2020-03-12 12:40:31 +01:00
core.py Add support for simultaneous runs of Script helper - Part 2 (#32442) 2020-03-11 16:34:50 -07:00
data_entry_flow.py Fix typos found by codespell (#31243) 2020-01-31 08:33:00 -08:00
exceptions.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
loader.py Type hint improvements (#32793) 2020-03-14 11:39:28 +01:00
package_constraints.txt Updated frontend to 20200318.1 (#32957) 2020-03-18 17:13:19 -07:00
requirements.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
setup.py Fix hassio panel load (#32922) 2020-03-17 17:54:57 -07:00