d966e0cfce
Enable feature by default but allow it to be disabled by "control_light: false" in config. Get brand from camera instead of assuming Amcrest (since this works with other cameras, too.) Retrieve RTSP URL in update method instead of in stream_source property and in handle_async_mjpeg_stream method. Move amcrest imports from methods to global. |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
camera.py | ||
const.py | ||
helpers.py | ||
manifest.json | ||
sensor.py | ||
services.yaml | ||
switch.py |