Commit graph

340 commits

Author SHA1 Message Date
Christopher Bailey
5dcc4d49c8
Bump unifiprotect to 4.8.1 (#91522) 2023-04-16 17:50:06 -10:00
Christopher Bailey
fdc80e14e6
Remove deprecated set_doorbell_message UniFi Protect service (#91523)
* Removes deprecated service

* Linting

* Linting

* More cleanup

* Linting
2023-04-16 17:30:41 -10:00
epenet
d173590477
Remove combined translations in integrations (#91337)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-04-15 15:51:04 +02:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
epenet
3e8716b37e
Adjust AddEntitiesCallback import (part 2) (#88873) 2023-02-28 22:01:36 -05:00
J. Nick Koston
480a495239
Fix unifiprotect discovery running at shutdown (#88802)
* Fix unifiprotect discovery running at shutdown

Move the discovery start into `async_setup` so we only
start discovery once reguardless of how many config entries
for unifiprotect they have (or how many times they reload).

Always make discovery a background task so it does not get
to block shutdown

* missing decorator
2023-02-26 21:08:20 -05:00
J. Nick Koston
35adb2f7e8
Remove previously deprecated Detected Object from unifiprotect (#85656) 2023-02-20 22:14:01 +01:00
J. Nick Koston
9876dd804e
Exclude event_id and event_score from being recorded in unifiprotect (#88387) 2023-02-20 14:09:56 +01:00
Paulus Schoutsen
a5170340a3
Fix dangling task for unifiprotect (#88300) 2023-02-16 22:05:06 -06:00
J. Nick Koston
80b25d6f40
Bump pyunifiprotect to 4.7.0 for python 3.11 (#88130) 2023-02-14 15:29:34 -06:00
J. Nick Koston
3e8a6cb3b7
Fix unifiprotect with python 3.11 (#88101)
There are some breaking changes to Enum https://blog.pecar.me/python-enum

needs https://github.com/AngellusMortis/pyunifiprotect/pull/263 but
does not need to be in this PR
2023-02-14 11:26:14 -05:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 (#87031) 2023-02-08 20:41:50 +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
fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Marc Mueller
ab76b3ffb3
Update Union typing (3) [Py310] (#86426) 2023-01-23 10:05:56 +01:00
Christopher Bailey
772a432c4d
Fix edge cases for adding/enabling sensors for UniFi Protect (#86329)
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-01-21 09:38:59 -10:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Marc Mueller
6d336ec136
Remove unnecessary try-else (5) (#86164) 2023-01-18 14:10:13 +01:00
GitHub Action
b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action
77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action
dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
Christopher Bailey
02897fb9a3
Add UniFi Protect Chime Duration entity (#85538) 2023-01-09 12:09:41 -10:00
Christopher Bailey
818253ced4
Bump pyunifiprotect to 4.6.1 (#85547) 2023-01-09 12:00:21 -10:00
Christopher Bailey
aa1c539683
Bump pyunifiprotect to 4.6.0 (#85483) 2023-01-08 16:59:21 -10:00
GitHub Action
5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
Franck Nijhof
c1a6f83f12
Fix incorrectly return type on bad_identifier in UniFi Protect (#85050) 2023-01-03 20:10:27 +01:00
GitHub Action
6220804639 [ci skip] Translation update 2023-01-02 00:23:28 +00:00
GitHub Action
d12857c68c [ci skip] Translation update 2022-12-31 00:22:33 +00:00
GitHub Action
dd560a517c [ci skip] Translation update 2022-12-30 00:23:31 +00:00
GitHub Action
b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
GitHub Action
cc27986cac [ci skip] Translation update 2022-12-28 00:22:40 +00:00
GitHub Action
16bff198de [ci skip] Translation update 2022-12-27 00:23:38 +00:00
Christopher Bailey
3aa759fc49
Deprecate the UniFi Protect Detected Object sensor (#83480)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-26 09:32:05 -10:00
Christopher Bailey
b96330df03
Deprecate set_doorbell_message UniFi Protect service (#83675) 2022-12-26 09:19:34 -10:00
Christopher Bailey
cf92d8c536
Add more logging for UniFi Protect event entities (#84575)
* Add more logging for UniFi Protect event entities

* Condense logging

* Linting
2022-12-26 11:07:40 -08:00
Franck Nijhof
8819634b61
String formatting and max line length - Part 6 (#84525) 2022-12-24 13:19:51 +01:00
epenet
79d3d4ceae
Use UnitOfTemperature in integrations (t-z) (#84309) 2022-12-20 18:50:39 +01:00
epenet
fba13dcc90
Use UnitOfTime in integrations (t-z) (#84291) 2022-12-20 12:30:14 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
GitHub Action
cfa08c5229 [ci skip] Translation update 2022-12-15 00:24:38 +00:00
epenet
69bc95a715
Use DATA_SIZE device class in integrations (#83895) 2022-12-13 10:17:56 +01:00
GitHub Action
b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
Brandon Rothweiler
f24f0c2954
Fix incorrect usage of 'setup' vs 'set up' (#83774) 2022-12-12 11:40:00 +01:00
Christopher Bailey
ec47f7b6ff
Add text platform for UniFi Protect (#83674) 2022-12-11 21:30:24 -10:00
Christopher Bailey
1f6e2511f8
Fix event sensor for UniFi Protect (#83663)
* Fix event sensor for UniFi Protect

* Linting

* Adds no cover

* Clean up check

* Linting
2022-12-11 13:32:26 -05:00
GitHub Action
f19a1147fe [ci skip] Translation update 2022-12-11 00:26:24 +00:00
Erik Montnemery
d2fc3a22e2
Drop title from repairs flows (#83627) 2022-12-10 11:43:22 +01:00