Shay Levy
601f3f9c6d
Add Shelly Gen2 polling for sesnors missing push updates ( #64171 )
2022-01-17 11:58:54 +02:00
Simone Chemelli
34e732ebc1
Add hw info for Shelly devices ( #62643 )
...
* Add hw info for Shelly devices
* Better rappresentation
* Remove date parsing
* Added model as requested
2021-12-30 20:08:29 +01:00
Simone Chemelli
c27e4feff6
Refresh device_info for Shelly devices ( #62899 )
...
* Rework device_info
* Update device_info via registry
* Optimized checks: only when needed
* Revert device_info rework as not needed
* Fix reboot detection for all scenarios
* Final optimization
* Remove leftover
* Bump aioshelly
* Bump fritzconnection and remove workarounds
* Cleanup fritzbox_callmonitor
* Rework device_info
* Update device_info via registry
* Optimized checks: only when needed
* Revert device_info rework as not needed
* Fix reboot detection for all scenarios
* Final optimization
* Remove leftover
* Update homeassistant/components/shelly/utils.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/shelly/__init__.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Revert slipped in commit
* Rename param
* Apply review comment
* Apply comment review #2
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-12-30 15:37:28 +01:00
Simone Chemelli
db6b472e7a
Add restore logic to Shelly climate platform ( #61632 )
...
* Add restore logic to Shelly climate platform
* Handle missing channel on restore
2021-12-16 14:08:40 +01:00
Simone Chemelli
f77c4485b6
Interim fix ( #61435 )
2021-12-10 17:40:31 +02:00
Marc Mueller
f7193400d4
Use platform enum (6) [S] ( #60944 )
2021-12-04 13:43:48 +01:00
Simone Chemelli
110fd261ee
Fix & update for latest Shelly Valve firmware ( #60458 )
2021-11-28 20:18:15 -08: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
Simone Chemelli
c4128f853d
Add climate platform to Shelly ( #59712 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-21 16:34:00 -06:00
Simone Chemelli
f606ba3b23
Detail reason for ConfigEntryNotReady ( #60062 )
2021-11-21 10:25:18 +01:00
Shay Levy
4ac7dfc983
Cleanup Shelly light - use separate sets for dual mode and effects ( #59363 )
2021-11-08 21:46:23 +02:00
Michael
6a149706ab
add constant CONF_SLEEP_PERIOD ( #59195 )
2021-11-06 17:32:58 +02:00
Simone Chemelli
da7e26c287
Filter by connections instead of identifiers for Shelly ( #58305 )
...
* Fix connections
* Switch to helper
2021-10-24 09:51:02 +02:00
Marc Mueller
4513ee4ea5
Use assignment expressions 12 ( #57937 )
2021-10-20 14:34:08 -07: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
Shay Levy
ee80ccf7a6
Fix Shelly button filter empty event ( #57427 )
2021-10-10 22:39:34 +03:00
Shay Levy
8de7966104
Add Shelly config entry reload on device config change ( #57356 )
2021-10-09 19:10:43 +03:00
Simone Chemelli
62f1a16918
Add sleep_period to log for easier debugging ( #56949 )
2021-10-02 16:31:23 +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
5249c89c3f
Add Shelly RPC sensor and binary sensor platforms ( #56253 )
2021-09-17 15:53:39 +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
Maciej Bieniek
772cbd59d7
Improve typing in Shelly integration ( #52544 )
2021-07-21 10:11:44 -07:00
Maciej Bieniek
502939c430
Do not configure Shelly config entry created by custom component ( #51616 )
2021-06-08 13:23:25 +02:00
Maciej Bieniek
ed9b199372
Fix exception after removing Shelly config entry and stopping HA ( #51321 )
...
* Fix device shutdown twice
* Change if logic
2021-06-01 11:41:34 +03:00
tkdrob
d1c4d0de49
Use bool annotations for setup entries ( #51166 )
2021-05-27 17:39:06 +02:00
Shay Levy
be73067f9c
Fix Shelly type hints ( #50322 )
2021-05-09 19:46:53 +02:00
Simone Chemelli
cf96d86985
Add yaml key to Shelly to allow CoAP port customization ( #48729 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-07 13:23:29 -07:00
J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S ( #49778 )
2021-04-27 22:10:04 +02:00
Shay Levy
34a588d1ba
Fix Shelly button first trigger ( #49635 )
2021-04-24 21:47:18 -07:00
Michael
309c3a8d82
Fix init for first added shelly device ( #48411 )
2021-03-30 23:52:02 +02:00
Maciej Bieniek
0f5efca76b
Fix Shelly sleeping device initialization after reconfiguration ( #48076 )
2021-03-18 13:26:20 -07:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Shay Levy
adad4a7785
Fix Shelly Polling ( #47224 )
2021-03-01 17:27:43 +01:00
Maciej Bieniek
b8584cab5d
Remove unnecessary gethostbyname() from Shelly integration ( #46483 )
2021-02-13 12:27:54 +01:00
Shay Levy
fefe4a2021
Fix exception in Shelly sleeping device that switches to polling ( #45930 )
2021-02-04 11:07:30 +01:00
Shay Levy
0875f654c8
Add support for Shelly battery operated devices ( #45406 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-03 17:03:22 +01:00
Shay Levy
76537305e2
Add logbook and device trigger platforms to Shelly ( #44020 )
...
* Add logbook and device trigger platforms to Shelly
Add `logbook` platform for describing “shelly.click” event
Add `device_trigger` platform for adding automation based on click events:
Example of logbook event:
Shelly 'single' click event for Test I3 channel 3 was fired.
(Test I3 is the name of the device)
Example of automation triggers:
First button triple clicked
First button long clicked and then single clicked
First button double clicked
First button long clicked
First button single clicked and then long clicked
First button single clicked
Second button triple clicked
..
Second button single clicked
* Fix codespell
* Remove pylint added for debug
* Add tests
* Rebase
* Fix Rebase & Apply PR review suggestions
Fix tests after rebasing
Use `INPUTS_EVENTS_DICT` for input triggers
Apply PR suggestions
2021-01-04 23:10:42 +01:00
Simone Chemelli
f07bf6a88e
Cleanup timeouts values for Shelly ( #44790 )
...
* Updated timeouts
* Small cleanup
* Fix + small cleanup of test code
2021-01-04 14:04:40 +01:00
Maciej Bieniek
f771d8ff14
Change rest sensors update interval for Shelly Motion ( #44692 )
...
* Change rest sensors update interval for Shelly Motion
* Cleaning
* Fix typo
* Remove unnecessary parentheses
2021-01-04 13:14:07 +01:00
Simone Chemelli
338938a38e
Fix shelly shutdown AttributeError ( #44172 )
...
* Additional check for clean shutdown
* Changed approach
* Remover leftover
* Added callback key
* Moved to listen once
2020-12-30 10:29:54 +01:00
Shay Levy
5fc7df2746
Prevent firing Shelly input events at startup ( #43986 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-12-07 09:27:33 +01:00
Shay Levy
ebaf143cf6
Support for Shelly Input Events ( #43479 )
2020-11-25 15:29:01 +01:00
Simone Chemelli
31502e960a
Shelly: minor improvements ( #43138 )
2020-11-12 19:49:06 +01:00
Simone Chemelli
d8b067ebf9
Add Shelly support for REST sensors ( #40429 )
2020-11-11 20:13:14 +01:00
Shay Levy
8b998365a4
Increase update timeouts used in Shelly integration ( #42937 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-08 21:49:41 +01:00
Shay Levy
f45075eeb5
Use own CoAP lib and support for multicast updates ( #42718 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-02 16:46:34 +01:00
Maciej Bieniek
f855ff8751
Bump aioshelly library to 0.4.0 ( #41905 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 13:37:17 +02:00
Maciej Bieniek
088558b8df
Increase the timeout during config entry setup in Shelly integration ( #40684 )
2020-09-27 23:03:47 +02:00