Commit Graph

156 Commits (40431a9f7e5012aa22807d02b6df683308300d87)

Author SHA1 Message Date
Jan-Philipp Benecke 71dcbb95ab
Remove deprecated services from Ezviz (#107582) 2024-01-09 18:38:42 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
G Johansson ef7a3787bb
Remove Ezviz detection sensitivity service (#103392) 2023-11-07 10:51:11 +01:00
Joost Lekkerkerker 38267699e5
Use device info object in ezviz (#99280) 2023-08-30 11:52:06 +02:00
Robert Resch 790523126e
Name unnamed update entities by their device class (#98579) 2023-08-18 13:40:35 +02:00
Marc Mueller e2d2ec8817
Use asyncio.timeout [b-e] (#98448) 2023-08-15 08:30:20 -05:00
Renier Moorcroft a74d83de66
Cleanup EZVIZ number entity (#98333)
* EZVIZ - Cleanup number entity

* NL

* Fix naming
2023-08-13 13:41:37 +02:00
Renier Moorcroft 00c60151d4
Add Ezviz siren entity (#93612)
* Initial commit

* Add siren entity

* Update coveragerc

* Cleanup unused entity description.

* Add restore and fix entity property to standards.

* Schedule turn off to match camera firmware

* Only add siren for devices that support capability

* Removed unused attribute and import.

* Add translation

* Update camera.py

* Update strings.json

* Update camera.py

* Cleanup

* Update homeassistant/components/ezviz/siren.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* use description

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update strings.json

* Dont inherit coordinator class.

* Add assumed state

* Update homeassistant/components/ezviz/siren.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Reset delay listener if trigered

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-13 13:10:53 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Joost Lekkerkerker 86f94662eb
Add entity translations to EZVIZ (#98123) 2023-08-10 23:49:14 +02:00
Franck Nijhof 868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
Renier Moorcroft f52876c7f6
Add entity description to EZVIZ SwitchEntity (#95672)
* Initial commit

* Update switch entity

* Add entity description

* Redundant get. Key will always be there.

* fixed dumb condition mistake.

* Removed names from entity description

* Implement suggestions

* async_add_entities has iterator so cleanup

* Update strings.json
2023-07-29 17:37:40 +02:00
Renier Moorcroft 5ec633a839
Add Ezviz button entities (#93647)
* Initial commit

* Add button for ptz

* coveragerc

* Add ptz buttons to PTZ cameras only

* Describe support capbility

* Improve typing

* bump api version.

* Match entity naming used throughout

* Add translation

* Create ir before execution and breaks in version

* Fix for translation missing name key.

* Change depreciation to 2024.2.0

* Update camera.py

* Tiny spelling tweaks

---------

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-25 00:31:44 +02:00
Renier Moorcroft 4c3d9e5205
Fix EZVIZ LightEntity occasional ValueError (#95679) 2023-07-24 20:03:31 +02:00
Renier Moorcroft 4916351d9a
Add EZVIZ AlarmControlPanelEntity (#96602)
* Add ezviz alarm panel

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Joakim Plate <elupus@ecce.se>
2023-07-21 12:01:02 +02:00
Renier Moorcroft 4e460f71f8
Add EZVIZ BinarySensorEntity proper names and translation key (#95698)
* Update binary_sensor.py

* Add proper naming and translation keys

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Fix strings after merge.

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-20 10:35:06 +02:00
Renier Moorcroft 822d840f81
EZVIZ NumberEntity async added to hass (#96930)
Update number.py
2023-07-20 08:25:54 +02:00
Renier Moorcroft 33b3b8947a
Add Ezviz SensorEntity name and translation (#95697)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-19 13:26:11 +02:00
Renier Moorcroft e39187423f
Ezviz NumberEntity 1st update only when enabled (#96587)
* Initial commit

* Initial commit

* Fix async_aded_to_hass
2023-07-19 10:56:11 +02:00
Renier Moorcroft d553a749a0
Ezviz image entity cleanup (#96548)
* Update image.py

* Inheratance format
2023-07-17 08:30:17 +02:00
c0ffeeca7 1e9a5e48c3
Remove redundant phrase (#96716) 2023-07-16 17:02:37 -04:00
RenierM26 1e704c4abe
Address Ezviz select entity late review (#96525)
* Ezviz Select Entity

* Update IR description
2023-07-14 19:27:41 +02:00
RenierM26 3e429ae081
Add Ezviz last motion picture image entity (#94421)
* Initial commit

* Update camera.py

* ignore type mismatch on append.

* Use new image entity.

* coveragerc update

* Remove all changes to camera in this pull.

* Fix docstring.

* remove old "last_alarm_pic" sensor

* Update image entity

* bypass for content check error

* Fix last updated not sting object

* Remove redundant url change check.

* Remove debug string

* Check url change on coordinator data update.

* Add translation key for name.

* simplify update check

* Rebase EzvizLastMotion ImageEntity

* Change logging to debug.
2023-07-14 08:50:36 +02:00
RenierM26 899adfa74c
Add Ezviz select entity (#93625)
* Initial commit

* Add select entity

* coveragerc

* Cleanup

* Commit suggestions.

* Raise issue before try except

* Add translation key

* Update camera.py

* Update camera.py

* Disable old sensor by default instead of removing.

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* IR fix flow

* Fix conflict

* run black

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-12 18:33:56 +02:00
Franck Nijhof ea3be7a789
Migrate integration services (E-F) to support translations (#96367) 2023-07-11 23:57:29 +02:00
Erik Montnemery df229e655b
Correct flags for issue registry issue raised by ezviz (#95846)
* Correct flags for issue registry issue raised by ezviz

* Fix translation strings
2023-07-10 14:17:37 +02:00
RenierM26 449109abd5
Ezviz IR string align with depreciation. (#95563) 2023-06-29 14:20:14 -04:00
Franck Nijhof ed16fffa79
Bump breaking version for YAML features ADR-0021 (#95525) 2023-06-29 11:59:36 +02:00
RenierM26 2be5bab5e1
Ezviz library bump 0.2.1.2 (#94823) 2023-06-20 08:47:34 +02:00
RenierM26 6af1beb6bf
Change Ezviz detection sensitivity to update per entity (#93995)
* Split detection sensitivity updates to entity instead of coordinator.

* Detection Sensitivity entity individual poll.

* Api return None instead of "unkown" when unkown.

* Only add entity if camera supports

* Cleanup detection type

* Commit suggestions.

---------

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2023-06-07 18:36:39 +02:00
RenierM26 e05c04fadb
Add Ezviz light entity (#93710)
* Initial commit

* Add ezviz light entity.

* coveragerc

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-01 13:01:57 +02:00
RenierM26 f86cc34644
Add Ezviz number entity (#93366)
* Initial commit

* Add number entity.

* update coveragerc

* Add services back and add depreciation repair.

* Remove redundant typing declaration.

* Case change in strings.

* Apply cleanups from simular pull request.

* Commit suggestions.
2023-05-25 11:09:47 +02:00
RenierM26 497fa1980b
Add Ezviz update entity (#85377)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-05-23 12:32:14 +02:00
RenierM26 93d1961aae
Use auth token in Ezviz (#54663)
* Initial commit

* Revert "Initial commit"

This reverts commit 452027f1a3c1be186cedd4115cea6928917c9467.

* Change ezviz to token auth

* Bump API version.

* Add fix for token expired. Fix options update and unload.

* Fix tests (PLATFORM to PLATFORM_BY_TYPE)

* Uses and stores token only, added reauth step when token expires.

* Add tests MFA code exceptions.

* Fix tests.

* Remove redundant try/except blocks.

* Rebase fixes.

* Fix errors in reauth config flow

* Implement recommendations

* Fix typing error in config_flow

* Fix tests after rebase, readd camera check on init

* Change to platform setup

* Cleanup init.

* Test for MFA required under user form

* Remove useless if block.

* Fix formating after rebase

* Fix formating.

* No longer stored in the repository

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-03-29 17:43:54 -04:00
epenet 3e8716b37e
Adjust AddEntitiesCallback import (part 2) (#88873) 2023-02-28 22:01:36 -05:00
Erik Montnemery 78c9b70c8d
Sort manifests 3 (#87024) 2023-02-08 20:19:19 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
RenierM26 1804006da0
EZVIZ: Add mac to device info (#85378)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-07 20:39:15 +01:00
GitHub Action 5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action 3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
GitHub Action 785cf0e29c [ci skip] Translation update 2022-11-08 00:26:39 +00:00