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 |
|
Erik Montnemery
|
cc564026fa
|
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const
* Fix more imports
|
2023-02-09 20:15:37 +01:00 |
|
Shay Levy
|
857df05308
|
Add Shelly Gen2 update entity for sleeping devices (#86837)
|
2023-01-30 19:05:13 +02: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
|
ae6bc96002
|
Shelly code quality (#86733)
|
2023-01-27 10:47:05 +02:00 |
|
Maciej Bieniek
|
dae7bcf387
|
Migrate Shelly to the new entity naming style (#86574)
* Use new entity naming style in Shelly
* Suggested change
* Use lower case for gen2 description
|
2023-01-25 09:55:52 +01:00 |
|
Shay Levy
|
111a38589e
|
Shelly code quality - use properties for status (#83421)
|
2022-12-07 00:00:45 +02:00 |
|
Shay Levy
|
775f4e9e0d
|
Clean-up Shelly legacy update entities (#80961)
|
2022-10-25 21:27:54 +02:00 |
|
Shay Levy
|
dce4753510
|
Cleanup Shelly update platform (#80845)
|
2022-10-25 00:20:26 +03:00 |
|
Shay Levy
|
93b2a6cc26
|
Refactor Shelly to use data class for ConfigEntry data (#79671)
* Refactor Shelly to use data class for ConfigEntry data
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/shelly/__init__.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Optimize usage of shelly_entry_data in _async_setup_block_entry
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
|
2022-10-06 10:10:58 +03:00 |
|
Shay Levy
|
22c68b95bf
|
Refactor Shelly wrapper to coordinator (#79628)
|
2022-10-05 14:39:58 +02:00 |
|
Shay Levy
|
c70ca1572b
|
Make Shelly update sensors disabled by default (#79376)
|
2022-09-30 14:37:58 -04:00 |
|
Maciej Bieniek
|
11c09f4fd8
|
Check if new_version is not empty string in Shelly update platform (#79300)
|
2022-09-29 13:22:30 -04:00 |
|
starkillerOG
|
4bdd8cb459
|
Shelly migrate to update entity (#78305)
* Add update entity
* fixes
* fixes
* change to CONFIG catogory
* return latest version if no update available
* fixes
* Remove firmware binary_sensors and buttons
* import Callable from collections
* remove ota_update tests
* Update homeassistant/components/shelly/update.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* simplify
* fix mypy
* Create test_update.py
* fix isort
* add progress support
* fix styling
* fix update_tests
* fix styling
* do not exclude shelly update test
* bring coverage to 100%
* snake case
* snake case
* change str(x) to cast(str, x)
* simplify tests
* further simplify tests
* Split MOCK_SHELLY_COAP and MOCK_SHELLY_RPC
* fix issort
* fix status test
* fix isort
* run python3 -m script.hassfest
Co-authored-by: Shay Levy <levyshay1@gmail.com>
|
2022-09-28 20:21:30 +03:00 |
|