Commit Graph

306 Commits (8e0b124875843d5d81803cc69063773439f67ae7)

Author SHA1 Message Date
Marc Mueller ae6d9c229e
Use const imports [l-z] (#63469) 2022-01-05 18:21:20 +01:00
Maciej Bieniek 16f6bad897
Fix status type in Shelly climate platform (#63347) 2022-01-04 19:32:25 +01: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
Shay Levy c65a50bd2e
Fix Shelly error fetching device triggers for sleeping devices (#63103) 2021-12-31 18:47:03 +01: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
Maciej Bieniek c0b9a34901
Bump library to version 1.0.7 (#63078) 2021-12-30 19:45:09 +02: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
Dave T 8fd60dbd51
Refactor entity_category str types (#62790) 2021-12-27 18:23:08 +01:00
Simone Chemelli c07077833f
Add missing entity category for gen2 devices (#62812) 2021-12-26 22:26:24 +02:00
Simone Chemelli 90345b1cf2
Fix logging for Shelly climate platform (#62264)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-18 22:28:26 -08:00
Simone Chemelli 72e1fa1392
Improve availability for Shelly Valve (#62129) 2021-12-17 09:16:02 +01:00
Robert Hillis 0cf0104662
Use enums in shelly (#62035) 2021-12-16 14:12:23 +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
Michael 90e52cd3ad
Use relative imports [S-Z] (#61576) 2021-12-13 09:39:13 +01:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00: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
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
Shay Levy f46055de99
Fix Shelly device name for older firmware (#60826) 2021-12-02 09:26:00 -08:00
GitHub Action de792e3af2 [ci skip] Translation update 2021-12-02 00:13:02 +00:00
Franck Nijhof 6be1b0c704
Add button device classes to Shelly (#60625) 2021-11-30 15:44:47 +01:00
epenet ba1cc00c24
Use dataclass properties in shelly discovery (#60593)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:00:54 +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
Simone Chemelli 110fd261ee
Fix & update for latest Shelly Valve firmware (#60458) 2021-11-28 20:18:15 -08:00
Gábor Kiss 1aadda4b0f
Fix Shelly dual mode bulb mode switch (#60471)
* fix_shelly_dual_mode_bulb_mode_switch

* Update __init__.py

* Update light.py
2021-11-28 12:07:18 +02:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00: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
GitHub Action 78b47019f9 [ci skip] Translation update 2021-11-26 00:12:49 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
epenet 44611d7e26
Use dataclass for ZeroconfServiceInfo (#60206)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:59:36 +01:00
Michael e3910856ad
Use native datetime value in Shelly sensors (#60179)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-23 08:18:58 -08:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
Erik Montnemery 49a27e12ad
Add support to entity registry for overriding device_class (#59985) 2021-11-22 08:38:06 -08: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
epenet 4555820987
Use ZeroconfServiceInfo in shelly (#60098) 2021-11-21 16:33:20 -06:00
Simone Chemelli f606ba3b23
Detail reason for ConfigEntryNotReady (#60062) 2021-11-21 10:25:18 +01:00
Simone Chemelli 23f37d0127
Bump aioshelly to 1.0.5 (#60058) 2021-11-20 16:59:45 -08:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action 9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00:00
GitHub Action 0228d11546 [ci skip] Translation update 2021-11-16 00:18:33 +00:00
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
GitHub Action fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
GitHub Action 34bc1298aa [ci skip] Translation update 2021-11-11 00:15:23 +00:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
Gábor Kiss 032786fcd8
Improve Shelly color mode switch for dual mode bulbs (#58971)
* Shelly color mode switch for SHCB-1

* Update light.py

* Update light.py

* Update homeassistant/components/shelly/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-11-09 18:24:40 +01:00
GitHub Action a989fd2e66 [ci skip] Translation update 2021-11-09 00:15:20 +00:00
Shay Levy adfbcfa704
Add Shelly Gen1 beta_version attribute to firmware update sensor (#59359) 2021-11-08 21:47:01 +02:00