Marc Mueller
eedce95bc9
Use PEP 695 for class annotations (2) ( #117776 )
2024-05-20 10:43:59 +02:00
Michael
8238cd9f22
Store runtime data inside the config entry in Shelly ( #116763 )
2024-05-04 12:41:25 +02:00
Joost Lekkerkerker
b125a6b1bb
Remove entity description mixin in Shelly ( #112938 )
...
* Remove entity description mixin in Shelly
* fix
* Fix
2024-03-10 22:15:23 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
Maciej Bieniek
326da81656
Add icon translations to Shelly ( #110183 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-11 14:07:10 -06:00
J. Nick Koston
a7c074e388
Reduce complexity of shelly button setup ( #109625 )
2024-02-04 13:38:36 -06:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Maciej Bieniek
bf93929826
Add support for Shelly Gen3 devices ( #104874 )
...
* Add support for Gen3 devices
* Add RPC_GENERATIONS const
* Add gen3 to tests
* More tests
* Add BLOCK_GENERATIONS const
* Use *_GENERATIONS constants from aioshelly
2023-12-11 22:58:56 +01:00
Shay Levy
b0f3b7bb76
Revert "Change naming of Shelly entities to correspond with HA guidelines" ( #99059 )
2023-08-28 10:42:24 +02: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
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Maciej Bieniek
79a122e1e5
Fix Shelly button unique_id
migration ( #95707 )
...
Fix button unique_id migration
2023-07-02 16:28:41 +03:00
Maciej Bieniek
8d6a711cac
Make unique_id
of the Shelly button entity immutable ( #95160 )
2023-06-27 19:10:12 +02: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
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
Marc Mueller
f57c0ea725
Update Union typing (2) [Py310] ( #86425 )
2023-01-23 08:40:09 +01:00
Marc Mueller
11b5de9463
Improve shelly
generic typing ( #84889 )
...
Improve shelly generic typing
2022-12-31 08:33:41 +02: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
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