* Add service definition for saving snapshot of image entity
* Add service to image
* Add tests for image entity service
* Fix tests
* Formatting
* Add service icon
* Formatting
* Formatting
* Raise home assistant error instead of single log error
* Correctly pass entity id
* Raise exception from existing exception
* Expect home assistant error
* Fix services example
* Add test for templated snapshot
* Correct icon service config
* Set correct type for service template
* Remove unneeded
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* remove template
* fix imports
* Update homeassistant/components/image/__init__.py
* Apply suggestions from code review
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Image entity media source
* MJPEG streaming
* Update on change rather than fixed interval
* Only send boundary twice
* return when image has no data
* Write each frame twice
* Use friendly name when browsing
* Fix sending of double frame
* Initial image proxy test
* Improve proxy stream test
* Refactor
* Code review fixes