* 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>
* Add platform number.
* Remove number user_limit.
* Change LED to led in number snapshot.
* Update homeassistant/components/lektrico/number.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* feat: initial implementation of sensor platform
* refactor(tests): await setup of config_entry in parent function
* feat(tests): add tests for laundrify sensor platform
* refactor: set name property for laundrify binary_sensor
* refactor(tests): add missing type hints
* refactor(tests): remove global change of the logging level
* refactor: address minor changes from code review
* refactor(tests): transform setup_config_entry into fixture
* refactor: leverage entity descriptions to define common entity properties
* refactor: change native unit to Wh
* fix(tests): use fixture to create the config entry
* fix: remove redundant raise of LaundrifyDeviceException
* fix(tests): raise a LaundrifyDeviceException to test the update failure behavior
* refactor(tests): merge several library fixtures into a single one
* refactor(tests): create a separate UpdateCoordinator instead of using the internal
* refactor(tests): avoid using LaundrifyPowerSensor
* refactor: simplify value retrieval by directly accessing the coordinator
* refactor: remove non-raising code from try-block
* refactor(sensor): revert usage of entity descriptions
* refactor(sensor): consolidate common attributes and init func to LaundrifyBaseSensor
* refactor(sensor): instantiate DeviceInfo obj instead of using dict
* refactor(tests): use freezer to trigger coordinator update
* refactor(tests): assert on entity state instead of coordinator
* refactor(tests): make use of freezer
* chore(tests): typo in comment
* Add new integration for WMS WebControl pro using local API
Warema recently released a new local API for their WMS hub
called "WebControl pro". This integration makes use of the
new local API via a new dedicated Python library pywmspro.
For now this integration only supports awnings as covers.
But pywmspro is device-agnostic to ease future extensions.
* Incorporated review feedback from joostlek
Thanks a lot!
* Incorporated more review feedback from joostlek
Thanks a lot!
* Incorporated more review feedback from joostlek
Thanks a lot!
* Fix
* Follow-up fix
* Improve handling of DHCP discovery
* Further test improvements suggested by joostlek, thanks!
---------
Co-authored-by: Joostlek <joostlek@outlook.com>