Skip to content

Commit

Permalink
Camera update (#1024)
Browse files Browse the repository at this point in the history
* Fix camera issue.

Due to new API.

* Add aiofiles to requirements.

* Bump revision.
  • Loading branch information
twrecked authored Dec 8, 2024
1 parent 26895c3 commit f61cc10
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
aarlo
0.8.1.11
Fix issue caused by new camera API
Add aiofiles as requirement
0.8.1.10
Add French translations Thanks @SocrateMobile
0.8.1.9
Expand Down
2 changes: 1 addition & 1 deletion custom_components/aarlo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
from .cfg import BlendedCfg, PyaarloCfg


__version__ = "0.8.1.10"
__version__ = "0.8.1.11"

_LOGGER = logging.getLogger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion custom_components/aarlo/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ def __init__(self, camera, aarlo_config, hass):
_LOGGER.debug(f"camera-entity-id={self.entity_id}")

self._attr_brand = COMPONENT_BRAND
self._attr_frontend_stream_type = StreamType.HLS
# removed for issue #1019
# self._attr_frontend_stream_type = StreamType.HLS
self._attr_is_on = camera.is_on
self._attr_model = camera.model_id
self._attr_should_poll = False
Expand Down
5 changes: 3 additions & 2 deletions custom_components/aarlo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"issue_tracker": "https://github.com/twrecked/hass-aarlo/issues",
"requirements": [
"unidecode",
"pyaarlo>=0.8.0.12"
"pyaarlo>=0.8.0.12",
"aiofiles"
],
"version": "0.8.1.10"
"version": "0.8.1.11"
}

0 comments on commit f61cc10

Please sign in to comment.