Steven B
df5d818c08
Make ring device generic in RingEntity ( #115406 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-04-11 11:31:37 +02:00
Steven B
6954fcc8ad
Add strict typing to ring integration ( #115276 )
2024-04-11 10:10:56 +02:00
cosimomeli
360f7dea75
Add Ring Intercom support ( #109819 )
...
* Add button entity
* Add support for Ring intercom ("other" device type)
* description
* format
* - Tests
- Fallback when intercom devices arent inside response
* Fix ring button
* Update library
* Fix button after merge
* Move names to strings.json
* Remove button entity_category
* Add wifi sensors to other
* Add last_ sensors to other
* Fix tests
* Add button test
* Add new sensors tests
* Revert "Add last_ sensors to other"
This reverts commit 5c03bba5a1
.
* Update library
* Revert "Revert "Add last_ sensors to other""
This reverts commit 27631978d0
.
* Fix tests
* Remove default list for other
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
* Copy mock to conftest
* Fix history test
* Change time skip
* Remove button
* Fix history test
---------
Co-authored-by: Martin Pham <tuyentq2009@gmail.com>
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
2024-03-15 12:59:36 +01:00
Steven B
4aec48d358
Update ring integration imports ( #113397 )
...
Update ring imports for patching where library is created
2024-03-14 10:44:17 +01:00
Joost Lekkerkerker
b837a969d8
Remove entity description mixin in Ring ( #112928 )
2024-03-11 11:59:02 +01:00
Marc Mueller
a033574ee2
Add empty line after module docstring [r] ( #112703 )
2024-03-08 15:05:07 +01:00
Joost Lekkerkerker
a3a758bd17
Add icon translations to Ring ( #112212 )
...
* Add icon translations to Ring
* Add icon translations to Ring
2024-03-05 08:45:33 +01:00
Livio Avalle
c4247205ed
Add state_class to ring battery sensor for LTS ( #109872 )
...
* Add state_class to ring battery sensor for LTS
* Add test, in test_sensor.py, for state_class for battery entity; in response to comment in PR
2024-02-15 09:52:11 -06:00
Steven B
f725258ea9
Add coordinator to ring integration ( #107088 )
2024-01-31 10:37:55 +01:00
Joost Lekkerkerker
426a1511d5
Mark Ring battery and signal strength sensors as diagnostic ( #107503 )
2024-01-07 23:14:38 +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
sdb9696
2387e4941b
Add constants to ring integration ( #104134 )
2023-11-17 13:17:16 -05:00
Joost Lekkerkerker
02e077daab
Use shorthand attributes in Ring ( #99829 )
2023-09-07 19:51:35 +02:00
Joost Lekkerkerker
9ef4b2e5f5
Migrate ring to entity name ( #96080 )
...
Migrate ring to has entity name
2023-07-09 13:55:10 -04:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 ( #89077 )
2023-03-03 11:26:13 +01:00
epenet
bb3e0633a4
Add init return type to integrations ( #87523 )
...
Add type hints to integrations
2023-02-06 11:37:25 +01:00
Marc Mueller
58e8f53117
Improve ring
typing ( #86539 )
2023-01-24 16:35:11 +01:00
Franck Nijhof
a69e0defe6
Use device class enum instead of string ( #82935 )
2022-11-29 16:40:59 +01:00
epenet
6f564e4f51
Improve entity type hints [r] ( #77874 )
2022-09-06 09:47:35 +02:00
epenet
4142530368
Adjust inheritance in ring ( #77366 )
...
* Adjust inheritance in ring
* Fix extra_state_attributes
2022-08-26 21:40:28 +02:00
epenet
822ac203c3
Add sensor setup type hints [r] ( #63312 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:08:34 +01:00
Robert Hillis
9e30e0c9bd
Use enums in ring ( #62041 )
2021-12-16 14:12:57 +01:00
Paulus Schoutsen
d9c567e205
Fix Ring sensors with timestamp class returning a string ( #60850 )
2021-12-02 19:55:52 +01:00
Marc Mueller
e5338c3f89
Use EntityDescription - ring ( #55023 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-22 22:26:24 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) ( #54476 )
...
* Move temperature conversions to entity base class (6/8)
* Fix tests
2021-08-12 17:40:55 +02:00
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ( #52972 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 ( #48943 )
2021-04-09 09:58:27 -07:00
Martin Hjelmare
fdbef90a57
Remove device class timestamp from device condition and trigger ( #48431 )
...
* Remove unit from garmin connect
* Remove unit from hvv departures
* Remove device class timestamp from device condition and trigger
* Remove unit from systemmonitor
* Use device class constant for timestamp in ring
2021-04-01 15:05:10 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity ( #48215 )
2021-03-22 19:54:14 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() ( #47759 )
2021-03-11 21:23:20 +01:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
Simone Chemelli
7554c8d6c5
Add missing unit for signal strength ( #40436 )
...
* Added missing unit for signal strength
* Added one more unit
* Replaced string with variable
* Fixed wrong import
* Fix import
* Replaced string with variable
* Fixed wrong import
* Apply suggestions from code review
* Black
* Again a fix :-(
* iSort
* iSort after merge
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-01 16:14:29 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Franck Nijhof
e8a0abd107
String formatting improvements ( #33635 )
...
* String formatting improvements
* Found another one
2020-04-04 18:21:14 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Paulus Schoutsen
ecef0f6e93
Catch all Ring timeout errors ( #30960 )
...
* Catch more Ring errors
* Fix comment & Disable wifi entities by default
2020-01-19 13:39:16 -08:00
Paulus Schoutsen
1e82813c3b
Refactor Ring data handling ( #30777 )
...
* Refactor Ring data handling
* Add async_ to methods
2020-01-15 08:10:42 -08:00
Paulus Schoutsen
c4673ddee1
Update Ring to 0.6.0 ( #30748 )
...
* Update Ring to 0.6.0
* Update sensor tests
* update -> async_update
* Delete temp files
* Address comments
* Final tweaks
* Remove stale print
2020-01-14 12:54:45 -08:00
Paulus Schoutsen
10e89bbc8c
Fix Ring wifi sensors ( #30735 )
...
* Fix Ring wifi sensors
* Update before adding
2020-01-13 09:13:46 -08:00
Paulus Schoutsen
7073b0eb88
Upgrade Ring to new version ( #30666 )
...
* Upgrade Ring to new version
* Move legacy cleanup down
* Fix test
2020-01-11 16:04:39 -08:00
Paulus Schoutsen
3f29c234b8
Add Ring config flow ( #30564 )
...
* Add Ring config flow
* Address comments + migrate platforms to config entry
* Migrate camera too
* Address comments
* Fix order config flows
* setup -> async_setup
2020-01-10 21:35:31 +01:00
springstan
c6066d8b98
Move imports to top for ring ( #29474 )
2019-12-04 21:13:28 -08:00
Franck Nijhof
9c9c921922
Use Python3 new super syntax sugar ( #26890 )
2019-09-24 15:38:20 -07:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Ville Skyttä
0490167a12
Azure flake8 dep, docstring fixes ( #25605 )
...
* Fix Azure CI flake8 deps
* Docstyle fixes
2019-07-31 12:21:36 -07:00
Ross Dargan
5e7465a261
Change how ring polls for changes to allow more platforms to be added ( #25534 )
...
* Add in a switch to control lights and sirens
* Improve the way sensors are updated
* fixes following flake8
* remove light platform, and fix breaking test.
* Resolve issues with tests
* add tests for the switch platform
* fix up flake8 errors
* fix the long strings
* fix naming on private method.
* updates following p/r
* further fixes following pr
* removed import
* add additional tests to improve code coverage
* forgot to check this in
2019-07-31 11:08:40 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00