Files
core/tests/components
c8e2408f82 Allow setting volume on Ring devices (#125773)
* Turn Ring Doorbell and Chime volumes into number entities.

* turn RingOther volumes into numbers as well

* fix linter issues

* move other volume strings into `number` section

* add back old volume sensors but deprecate them

* add tests for `ring.number`

* add back strings for sensors that have just become deprecated

* remove deprecated volume sensors from test

* Revert "remove deprecated volume sensors from test"

This reverts commit fc95af66e7.

* create entities for deprecated sensors so that tests still run

* remove print

* add entities immediately

* move `RingNumberEntityDescription` above `RingNumber` and remove unused import

* remove irrelevant comment about history

* fix not using `setter_fn`

* add missing icons for other volume entities

* rename `entity` -> `entity_id` in number tests

* fix typing in number test

* use constants for `hass.services.async_call()`

* use `@refresh_after` decorator instead of delaying updates manually

* move descriptors above entity class

* Use snapshot to test states.

* add missing snapshot file for number platform

* Update homeassistant/components/ring/number.py

Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>

---------

Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
2024-09-17 15:41:51 +02:00
..
2024-08-12 13:28:09 +02:00
2024-07-04 21:27:56 +02:00
2024-08-12 13:28:09 +02:00
2024-09-05 19:42:50 -04:00
2024-06-08 17:59:08 +02:00
2024-08-28 19:16:05 +02:00
2024-06-06 17:24:48 +02:00
2024-08-15 18:21:07 +02:00
2024-06-28 10:46:02 +02:00
2024-08-12 13:28:09 +02:00
2024-09-04 15:33:23 +02:00
2024-07-10 21:53:11 +02:00
2024-08-16 16:54:20 +02:00
2024-09-04 21:57:37 +02:00
2024-06-08 17:59:08 +02:00
2024-08-30 16:41:48 +02:00
2024-09-03 21:00:44 +02:00
2024-09-13 06:42:32 +02:00
2024-08-29 07:59:07 +02:00
2024-06-08 17:59:08 +02:00
2024-09-07 12:38:59 +02:00
2024-09-13 06:42:32 +02:00
2024-08-12 13:28:09 +02:00
2024-06-08 17:59:08 +02:00
2024-08-08 08:59:30 +02:00
2024-08-28 09:25:56 +02:00
2024-06-30 20:38:35 +02:00
2024-06-08 17:59:08 +02:00
2024-08-12 13:28:09 +02:00
2024-09-10 22:02:46 +02:00
2024-07-22 13:09:08 +02:00
2024-09-05 23:03:50 +02:00
2024-06-08 17:59:08 +02:00
2024-07-24 20:37:38 +02:00
2024-08-15 10:03:03 +02:00
2024-09-13 06:42:32 +02:00