Maciej Bieniek
47c9d58b5e
Override the `async_update()` method for Shelly sleeping devices ( #102516 )
2023-10-25 13:48:00 +02:00
Maciej Bieniek
e1f4a3fa9f
Add energy meter sensors for Shelly Pro EM ( #99747 )
...
* Add support for Pro EM
* Improve get_rpc_channel_name()
* Revert an unintended change
* Add tests
2023-09-07 06:59:04 +02:00
Shay Levy
b0f3b7bb76
Revert "Change naming of Shelly entities to correspond with HA guidelines" ( #99059 )
2023-08-28 10:42:24 +02:00
Erik Montnemery
b0952bc54a
Use freezegun in shelly tests ( #99042 )
2023-08-25 09:06:43 -05:00
Maciej Bieniek
c526d23686
Change naming of Shelly entities to correspond with HA guidelines ( #97533 )
...
* Do not use the device name to create the entity name
* Remove unnecessary return
* Fix mypy complains
* Gen1
* Uncapitalize description.name if channel name is used
* Fix for climate and button
* switch_3 -> switch 3
* Add _attr_has_entity_name to ShellyRestAttributeEntity
* Capitalize channel name
2023-08-19 11:13:22 +02:00
Maciej Bieniek
fe61672792
Don't inherit SensorEntity/NumberEntity and RestoreEntity in Shelly integration ( #93531 )
...
* Use RestoreNumber and Restore Sensor for block entities
* Update tests
* Use RestoreSensor for RPC entities
* Fix test for number platform
2023-06-04 19:14:08 -05:00
Maciej Bieniek
eb058a3d41
Add illuminance sensor for Shelly gen2 devices ( #93559 )
2023-05-25 23:10:44 +02:00
Maciej Bieniek
7119a0f811
Use `suggested_display_precision` instead of rounding in Shelly sensor platform ( #87084 )
2023-02-20 10:20:52 -06:00
epenet
80ee196fd8
Add type hints to integration tests (part 19) ( #88178 )
2023-02-15 18:07:40 +01:00
Shay Levy
803cd8d9a3
Handle state unknown if last state is missing in Shelly ( #86813 )
...
Shelly - handle state unknown if last state is missing
2023-01-27 23:34:56 +01:00
Shay Levy
9e4be56939
Shelly - handle None in RPC power sensors ( #86399 )
...
Handle None in RPC power sensors
2023-01-22 22:18:47 +02:00
Shay Levy
91a44b697b
Add tests coverage for Shelly number platform ( #82480 )
2022-11-21 10:55:06 -06:00
Shay Levy
32f3eb722e
Add tests coverage for Shelly entity ( #82432 )
...
* Add tests coverage for Shelly entity
* Make it generator expression
2022-11-20 23:59:25 +02:00
Shay Levy
8bd7f59b93
Add tests for Shelly sensor platform ( #82385 )
2022-11-19 22:01:30 +02:00