core/homeassistant/components/amcrest
Phil Bruckner 82296aeb71 Amcrest: Add on/off support & attributes. Bump amcrest to 1.3.0 (#22418)
* Amcrest: Add on/off support & attributes to camera entity. Bump amcrest package to 1.3.0.

Add support for turn_on & turn_off services.

Add implementation of is_recording method, as well as brand, model, hardware_version, machine_name, serial_number, software_build and software_version attributes.

Bump amcrest package to 1.3.0 required for above changes and also handles errors in storage commands which resolves #19982.

* Update per review

Rebase to upstream/dev.

Remove video_enabled property and setter and replace with _enable_video_stream
method.

Remove static attributes from camera and sensors.
2019-04-01 17:36:29 -05:00
..
__init__.py Amcrest: Add on/off support & attributes. Bump amcrest to 1.3.0 (#22418) 2019-04-01 17:36:29 -05:00
camera.py Amcrest: Add on/off support & attributes. Bump amcrest to 1.3.0 (#22418) 2019-04-01 17:36:29 -05:00
sensor.py Amcrest: Add on/off support & attributes. Bump amcrest to 1.3.0 (#22418) 2019-04-01 17:36:29 -05:00
switch.py Use relative imports inside integrations (#22235) 2019-03-20 22:56:46 -07:00