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
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
Maciej Bieniek
8af545a4e3
Add new buttons for Shelly Gas ( #63099 )
...
* Add self test/mute/unmute buttons
* Improve doctrings
* Improve test coverage
* Add supported property to ShellyButtonDescription
* Change icon
2022-01-01 21:42:17 +02:00
Robert Hillis
0cf0104662
Use enums in shelly ( #62035 )
2021-12-16 14:12:23 +01:00
Franck Nijhof
6be1b0c704
Add button device classes to Shelly ( #60625 )
2021-11-30 15:44:47 +01:00
Michael
83acfda757
Add reboot button to Shelly devices ( #60417 )
2021-11-29 19:49:49 +01:00
Michael
296b738740
Add button to trigger ota firmware update for Shelly devices ( #58757 )
...
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-11-26 14:19:39 +01:00