Add image url support (#95301)
* Add image url support * Use hass as parameter * Add verify ssl parameter and improve exception handling * Improve error handling, ignore empty URL's * Update existing image platforms --------- Co-authored-by: Erik <erik@montnemery.com>
This commit is contained in:
parent
363dab7ce4
commit
98cc45ec10
6 changed files with 135 additions and 14 deletions
|
@ -97,7 +97,7 @@ class MqttImage(MqttEntity, ImageEntity):
|
|||
) -> None:
|
||||
"""Initialize the MQTT Image."""
|
||||
self._client = get_async_client(hass)
|
||||
ImageEntity.__init__(self)
|
||||
ImageEntity.__init__(self, hass)
|
||||
MqttEntity.__init__(self, hass, config, config_entry, discovery_data)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue