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
Shay Levy
ea98f0e9e8
Add tests for Shelly binary_sensor platform ( #82367 )
...
* Add tests for Shelly binary_sensor platform
* Rename create to register for
2022-11-19 18:07:02 +02:00
Erik Montnemery
1a274adc28
Add config_entries.async_wait_component ( #76980 )
...
Co-authored-by: thecode <levyshay1@gmail.com>
2022-11-17 21:52:57 +01:00
J. Nick Koston
8da969b767
Disable BLE options flow for sleepy shelly devices ( #82283 )
2022-11-17 20:39:51 +02:00
J. Nick Koston
435fc23737
Add shelly ble scanner support ( #82007 )
2022-11-15 12:34:45 -06:00
J. Nick Koston
956120662e
Add the ability to register for shelly event callbacks ( #82052 )
2022-11-14 19:58:10 +01: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
228d491216
Fix Shelly entry unload and add tests for init ( #80760 )
2022-10-22 09:00:35 +02:00
Shay Levy
aea7a9af18
Bump aioshelly to 4.0.0 ( #80423 )
...
* Bump aioshelly to 4.0.0
* Remove leftover
* Fix number platform
* Set last_update_success to false upon failure in number and climate
* Set last_update_success upon failurie in entity
2022-10-20 15:08:48 +03:00
Shay Levy
8e9457d808
Add Shelly support for sleeping Gen2 devices ( #79889 )
2022-10-18 22:42:22 +03:00
Shay Levy
9019fcb5c5
Migrate Shelly to use kelvin for color temperature ( #79880 )
2022-10-08 22:24:19 +03:00
Shay Levy
723b018b63
Refactor Shelly tests - do not access hass.data ( #79606 )
2022-10-05 11:36:06 +02:00
Shay Levy
c70ca1572b
Make Shelly update sensors disabled by default ( #79376 )
2022-09-30 14:37:58 -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
Maciej Bieniek
8719829fbe
Add missing error catch in Shelly reauth flow ( #79205 )
2022-09-28 11:00:27 -04:00
Maciej Bieniek
c46f55caa8
Add reauth flow to Shelly integration ( #78786 )
2022-09-24 22:01:49 -04:00
epenet
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Shay Levy
74e8b076e5
Fix Shelly missing key config flow ( #72116 )
2022-05-20 12:05:53 +03:00
Simone Chemelli
4a95539d9d
Warn user if "model" key is missing from Shelly firmware ( #71612 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 10:29:02 -07:00
J. Nick Koston
24a0007785
Add additional context data to logbook events ( #71721 )
2022-05-12 17:21:14 -07:00
J. Nick Koston
24d7a464e1
Refactor logbook to reduce overhead and complexity ( #71509 )
2022-05-08 21:47:26 -07:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Shay Levy
d4d819679c
Add Shelly gen2 authentication support ( #69753 )
2022-04-14 00:30:03 +03:00
Shay Levy
06e4c2f351
Fix Shelly gen2 cover unavailable when not calibrated ( #69671 )
2022-04-08 22:54:42 -07:00
Shay Levy
eee0c5372c
Use import instead of hass in Shelly tests ( #67909 )
2022-03-09 19:29:20 +01:00
Shay Levy
2d4d18ab90
Add Shelly gen2 cover support ( #67705 )
...
* Add Shelly gen2 cover support
* Make status property
2022-03-08 11:58:08 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Shay Levy
efbbef5922
Fix Shelly detached switches automation triggers ( #65059 )
2022-01-28 08:30:44 -08:00
Michael
1d2b9d2c63
Add diagnostics platform to Shelly ( #64660 )
...
* add config entry diagnostics
* add test
* make pylint happy
* add some device settings
* adjust tests
* add hass system info
* make sw_version be a property of wrapper classes
* remove hass sys info, since is added centraly
* check if device is initialized
* device_info is always available
* add device status data
2022-01-23 02:18:09 +02:00
Shay Levy
c65a50bd2e
Fix Shelly error fetching device triggers for sleeping devices ( #63103 )
2021-12-31 18:47:03 +01:00
Ville Skyttä
ea58432721
Use DeviceAutomationType in tests/components/[s-z]* ( #62450 )
2021-12-21 11:56:00 +01:00
Michael
83acfda757
Add reboot button to Shelly devices ( #60417 )
2021-11-29 19:49:49 +01:00
Simone Chemelli
07c09ab268
Add new name handling for Shelly RPC devices ( #60539 )
2021-11-29 16:16: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
epenet
77dfeb062f
Update ZeroconfServiceInfo in tests (n-t) ( #60219 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:35:44 -06:00
epenet
4555820987
Use ZeroconfServiceInfo in shelly ( #60098 )
2021-11-21 16:33:20 -06:00
Ville Skyttä
50e0c58310
Use http.HTTPStatus in components/s* ( #58291 )
2021-10-23 20:49:04 +02:00
Erik Montnemery
e27e4c3561
Add support for device configuration URL ( #57539 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-10-14 11:16:56 -07:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Shay Levy
47340802b3
Add Shelly RPC device trigger and logbook platforms ( #56428 )
...
* Add RPC device trigger and logbook platforms
* Single input event for Block and RPC
* Add device generation to shelly.click
2021-09-21 00:09:44 +03:00
Shay Levy
e9eb76c7db
Add switch support for RPC device ( #56153 )
...
* Add switch support for RPC device
* Apply review comments
* Apply review comments
2021-09-13 09:31:35 +03:00
Shay Levy
f1a88f0563
Add config flow support for RPC device ( #56118 )
2021-09-11 23:28:33 +03:00
Shay Levy
8c3c2ad8e3
Updated changes for aioshelly 1.0.0 ( #56083 )
2021-09-11 00:48:55 +03:00
Shay Levy
c7ada1e8f6
Fix flaky Shelly config flow test ( #50982 )
2021-05-23 02:11:02 +03:00
Shay Levy
98396e13af
Fix Shelly button device triggers ( #48974 )
2021-04-09 16:58:44 -07:00
Paulus Schoutsen
34b9e6f6fc
Shelly: set confirm only ( #47608 )
2021-03-09 13:13:43 +01:00
Paulus Schoutsen
7c2545af6e
Use async_capture_events to avoid running in executor ( #47111 )
2021-02-26 13:28:52 -08:00