1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-04 14:09:16 +00:00

34 Commits

Author SHA1 Message Date
Erik Montnemery
f83c8de8d3
Update signature of platforms' async_setup_entry () 2025-02-10 21:08:03 +01:00
epenet
1ef809c716
Standardize homeassistant imports in component (q-r) () 2025-01-29 12:24:09 +01:00
Steven B.
1697e24068
Add PARALLEL_UPDATES constant to ring integration platforms () 2025-01-24 20:48:55 +01:00
Steven B.
22b6239304
Convert ring integration to use entry.runtime_data () 2024-09-03 12:04:35 +02:00
Steven B.
1b1c1c2a55
Call async_write_ha_state after ring update ()
Use async_write_ha_state after ring update
2024-09-02 18:03:58 +02:00
Steven B.
e26d363b5e
Convert ring integration to the async ring-doorbell api ()
* Bump ring-doorbell to 0.9.0

* Convert ring integration to async ring-doorbell api

* Use mock auth fixture class to get token_updater

* Fix typo in fixture name
2024-08-24 08:23:31 +02:00
Steven B
df5d818c08
Make ring device generic in RingEntity ()
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 () 2024-04-11 10:10:56 +02:00
Steven B
4cd2351bcc
Update and migrate ring non string unique ids ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-08 23:08:46 -10:00
Steven B
e85b9faa00
Bump ring_doorbell to 0.8.10 () 2024-04-06 11:49:30 +02:00
Steven B
4aec48d358
Update ring integration imports ()
Update ring imports for patching where library is created
2024-03-14 10:44:17 +01:00
Joost Lekkerkerker
77917506bb
Improve lists in integrations [R-S] ()
* Improve lists in integrations [R-S]

* Fix

* Fix
2024-03-13 21:55:00 +01:00
Steven B
eff0aac586
Ensure that the ring integration always raises HomeAssistantError for user actions ()
* Wrap library exceptions in HomeAssistantErrors

* Remove commented

* Update post review

* Update post second review
2024-03-11 20:23:49 +01:00
Marc Mueller
a033574ee2
Add empty line after module docstring [r] () 2024-03-08 15:05:07 +01:00
Steven B
f725258ea9
Add coordinator to ring integration () 2024-01-31 10:37:55 +01:00
sdb9696
2387e4941b
Add constants to ring integration () 2023-11-17 13:17:16 -05:00
Joost Lekkerkerker
02e077daab
Use shorthand attributes in Ring () 2023-09-07 19:51:35 +02:00
Joost Lekkerkerker
9ef4b2e5f5
Migrate ring to entity name ()
Migrate ring to has entity name
2023-07-09 13:55:10 -04:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 () 2023-03-03 11:26:13 +01:00
epenet
7b1463e03d
Improve type hints in light [i-r] () 2022-07-31 13:53:22 +02:00
epenet
f7e05c5e1c
Migrate ring light to ColorMode () 2022-04-27 15:42:01 +02:00
epenet
277562bc38
Add light setup type hints [l-r] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:11:59 +01:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity () 2020-04-26 18:49:41 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ()
* Directly call async_write_ha_state

* Address comments

* Fix tests
2020-04-01 14:19:51 -07:00
Paulus Schoutsen
ecef0f6e93
Catch all Ring timeout errors ()
* 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 ()
* 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 ()
* 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
7073b0eb88
Upgrade Ring to new version ()
* 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 ()
* 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
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ()
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
springstan
c6066d8b98 Move imports to top for ring () 2019-12-04 21:13:28 -08:00
Tsvi Mostovicz
80136f3591 Change datetime.now() to dt_util.now() ()
* Change datetime.now() to dt_util.now() in cases where the functionality should stay the same

These changes should not affect the functionality, rather cleanup our codebase.

In general we would like integrations to not to use datetime.now() unless there's a very good
reason for it, rather use our own dt_util.now() which makes the code aware of our current time
zone.

* Use datetime.utcnow() for season sensor to get offset-naive utc time

* Revert "Use datetime.utcnow() for season sensor to get offset-naive utc time"

This reverts commit 5f36463d9c7d52f8e11ffcec7e57dfbc7b21bdd1.

* BOM sensor last_updated should be UTC as well

* Run black

* Remove unused last_partition_update variable
2019-09-19 08:39:09 +02:00
Franck Nijhof
445c741b30 Use literal string interpolation in integrations R-S (f-strings) () 2019-09-03 21:14:39 +02:00
Ross Dargan
98eb8efc6b Add ring light platform ()
* Add support for turning a flood light on and off

* changes following black

* update following code review, and test fix

* fix naming
2019-08-06 14:55:54 -07:00