Commit Graph

183 Commits (14e1b55b5a870842b39e29017b367eaca8b3a0a2)

Author SHA1 Message Date
Erik Montnemery f83c8de8d3
Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
epenet a9433ca697
Standardize homeassistant imports in component (e-f) (#136824) 2025-01-29 11:36:22 +01:00
epenet edac4b83d9
Use runtime_data in ezviz (#136702) 2025-01-28 11:29:26 +01:00
Norbert Rittel 2f5545e7b8
Fix name and descriptions of actions in EZVIZ integration etc. (#135858) 2025-01-19 13:28:49 +01:00
Renier Moorcroft 23e04ced9c
Image entity key error when camera is ignored in EZVIZ (#134343) 2025-01-17 12:27:44 +01:00
Simone Rescio 85ed1d2ac8
Revert "Bump pyezviz to 0.2.2.3" (#132715) 2024-12-09 17:19:10 +01:00
Simone Rescio a419fde0eb
Bump pyezviz to 0.2.2.3 (#132060) 2024-12-02 13:18:53 +01:00
Erik Montnemery 69ba0d3a50
Report update_percentage in ezviz update entity (#129377) 2024-11-09 11:35:18 +01:00
epenet d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
G Johansson cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum (#126283)
* Alarm state from enum

* Fixes

* Set final

* Fix rebase

* Test const

* Fix breaking version

* Fix other for alarm_control_panel

* Fix integrations

* More

* More

* More

* More

* Fix zha

* Replace _attr_state

* Fix alarm_control_panel

* Fix tests

* Fixes

* Mods

* Change some

* More

* More

* More

* Tests

* Last tests

* Return enum

* Fix zha

* Remove not needed check

* Fix wording

* Fix homekit

* Mod prometheus

* Fix mypy

* Fix homekit

* Fix ifttt
2024-10-21 22:54:27 +02:00
epenet b95fc7e782
Use reauth helpers in ezviz config flow (#127448) 2024-10-03 15:29:18 +02:00
Erik Montnemery 97bbad7471
Ensure ezviz config flow title_placeholders items are [str, str] (#127194) 2024-10-01 14:40:12 +02:00
epenet 57905efcd3
Adjust type hints in ezviz config_flow (#127186) 2024-10-01 12:26:59 +02:00
Erik Montnemery 36df9e0464
Store ezviz flow data in flow handler attributes (#127171) 2024-10-01 11:11:21 +02:00
Jan-Philipp Benecke d070fd40a3
Use debug/warning instead of info log level in components [e] (#125970) 2024-09-14 23:41:06 +02:00
Erik Montnemery fce2e21c9f
Update icons.json to new service schema part 1 (#124768) 2024-08-28 13:47:02 +02:00
epenet 51a5a78eb5
Standardize reauth step variable name in config flows (#124760) 2024-08-28 13:01:00 +02:00
Erik Montnemery ea7e88d000
Pass None instead of empty dict when registering entity services (#123878) 2024-08-14 07:04:29 -05:00
Dmitriy 906c906653
Fix Ezviz last alarm picture (#112074)
* Fix Ezviz last alarm picture

* Review fixes
2024-06-05 15:55:59 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Sid 0d66d298ec
Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Marc Mueller 9b7cc088be
Fix spelling [runtime] (#114169) 2024-03-25 11:32:50 +01:00
Joost Lekkerkerker 06637c0960
Remove entity description mixin in EZVIZ (#112764) 2024-03-09 10:01:45 -05:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller 0e3945ca6c
Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
Joost Lekkerkerker 7b79c21835
Add icon translations to EZVIZ (#111532) 2024-03-01 12:23:08 +01:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
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