Simone Chemelli
0ee838b25e
Properly handle Shelly gen2 device disconnect ( #71937 )
2022-05-16 12:50:03 +02:00
GitHub Action
37f81b261d
[ci skip] Translation update
2022-05-16 00:24:28 +00:00
RadekHvizdos
8549af3855
Add missing Shelly Cover sensors bugfix ( #71831 )
...
Switching Shelly Plus 2PM from switch to cover mode results in missing sensors for Power, Voltage, Energy and Temperature.
These parameters are still available in the API, but need to be accessed via "cover" key instead of "switch" key.
This change adds the missing sensors.
2022-05-15 12:29:35 +03:00
J. Nick Koston
24a0007785
Add additional context data to logbook events ( #71721 )
2022-05-12 17:21:14 -07:00
Erik Montnemery
db3eb26c74
Correct color mode in shelly light ( #70967 )
2022-04-28 09:05:08 +02:00
epenet
5af496682b
Use light enums in shelly ( #70790 )
2022-04-26 15:29:56 +03:00
epenet
a3938deb24
Use climate enums in shelly ( #70736 )
2022-04-26 09:14:31 +02:00
epenet
93be31290d
Use ColorMode enum in shelly ( #70534 )
2022-04-23 09:42:36 -10:00
Shay Levy
d4d819679c
Add Shelly gen2 authentication support ( #69753 )
2022-04-14 00:30:03 +03:00
Shay Levy
4bb4daf86d
Bump aioshelly to 2.0.0 ( #70005 )
2022-04-13 23:56:04 +03:00
Shay Levy
06e4c2f351
Fix Shelly gen2 cover unavailable when not calibrated ( #69671 )
2022-04-08 22:54:42 -07:00
epenet
d5ab7e7525
Use EntityFeature enum in components (s** 1/2) ( #69439 )
2022-04-06 21:38:14 -10:00
Radu Cotescu
9c1f37aa95
Input binary sensors are not generated for Shelly 1 Pro ( #69046 )
...
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-04 13:39:40 +02:00
Simone Chemelli
f8333feb51
Add Shelly visit device link to discovered devices ( #69185 )
2022-04-03 11:53:25 +02:00
epenet
e362871499
Prettify json (strings.json) ( #68885 )
2022-03-30 10:35:30 +02:00
GitHub Action
c64b4d997b
[ci skip] Translation update
2022-03-13 00:18:58 +00:00
Shay Levy
eccf8c76fd
Fix Shelly EM/3EM invalid energy value after reboot ( #68052 )
2022-03-12 22:21:45 +02:00
Shay Levy
083d51a727
Cleanup - move Shelly logger to const ( #68046 )
2022-03-12 14:43:57 +02:00
Shay Levy
98256746d3
Fix shelly duo scene restore ( #67871 )
2022-03-08 09:56:57 -08: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
Simone Chemelli
d65b2b37dc
Fix profile name update for Shelly Valve ( #67778 )
2022-03-07 09:05:10 -08:00
Shay Levy
aac4036c0c
Bump aioshelly to 1.0.11 ( #67476 )
2022-03-02 14:30:54 +02:00
Simone Chemelli
de2ddfe7b7
Add missing temperature sensor for Shelly Motion2 ( #67458 )
2022-03-01 16:22:15 -08:00
GitHub Action
6364e81be5
[ci skip] Translation update
2022-02-24 00:17:55 +00:00
Shay Levy
db8620dac6
Bump aioshelly to 1.0.10 ( #67056 )
2022-02-22 20:32:39 +02:00
GitHub Action
102ae9f0e3
[ci skip] Translation update
2022-02-22 00:17:23 +00:00
Shay Levy
ba2bc975f4
Fix Shelly event handling ( #67000 )
2022-02-21 23:03:22 +01:00
GitHub Action
f921856f5f
[ci skip] Translation update
2022-02-21 00:17:31 +00:00
GitHub Action
c4cc6ca0ba
[ci skip] Translation update
2022-02-20 00:20:09 +00:00
Shay Levy
5359050afc
Add Shelly gen2 error sensors ( #66825 )
2022-02-19 18:51:01 +02:00
GitHub Action
ad0cb4831e
[ci skip] Translation update
2022-02-14 00:15:30 +00:00
GitHub Action
2da4d280b2
[ci skip] Translation update
2022-02-06 00:17:31 +00:00
Shay Levy
ae3b337d3e
Bump aioshelly to 1.0.9 ( #65803 )
2022-02-05 16:44:05 +01:00
Paulus Schoutsen
5da923c341
Protect state.as_dict from mutation ( #65693 )
2022-02-04 14:45:25 -08:00
Shay Levy
5e577058bb
Fix Shelly Plus i4 KeyError ( #65604 )
2022-02-03 16:19:36 -08:00
Simone Chemelli
17c41f4783
Introduce number platform for Shelly ( #64207 )
...
* Introduce number platform for Shelly
* coverage
* Rework based on review comment
* Improve logic around channel
* Remove unused value
* rebase
* Removed redundant properties
* Update homeassistant/components/shelly/number.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Remove channel workaround as currently not needed
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-31 22:14:59 +01:00
GitHub Action
ca7d4234e1
[ci skip] Translation update
2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee
[ci skip] Translation update
2022-01-30 00:14:21 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
Shay Levy
efbbef5922
Fix Shelly detached switches automation triggers ( #65059 )
2022-01-28 08:30:44 -08:00
Shay Levy
631c4bf10f
Fix Shelly 1/1PM external temperature sensor unavailable ( #65096 )
2022-01-27 22:33:12 -08:00
Shay Levy
fa62e7e142
Fix Shelly battery powered devices unavailable ( #65031 )
2022-01-27 11:00:38 +01:00
GitHub Action
dd4e5bb9c5
[ci skip] Translation update
2022-01-27 00:14:02 +00:00
Shay Levy
189418a4dd
Fix Shelly HT invalid value on sensor error ( #64982 )
2022-01-26 19:33:37 +02:00
epenet
dfdbeba7be
Use entity_description in shelly block sensors ( #64897 )
...
* Use entity_description in shelly block sensors
* Re-order binary sensor
* Add async_added_to_hass for BlockSleepingBinarySensor
* Undo None
* Build description when restoring block attribute entities
* Move async_added_to_hass back to base class
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-26 16:07:15 +02:00
epenet
076bc976ee
Use entity_description in shelly rpc sensors ( #64895 )
...
* Use entity_description in shelly rpc sensors
* Enable None for binary sensor
* Adjust use_polling_wrapper
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 15:48:51 +02:00
epenet
da316e1547
Use shorthand attributes in shelly light ( #64831 )
...
* Use shorthand attributes in shelly light
* Adjust mypy
* Revert temperature conversions
* Adjust initialisation
* Invert min/max for mired
* Make _attr_supported_color_modes an instance attribute
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 15:48:07 +02:00
Maciej Bieniek
4a4b0d9418
Fix Shelly climate entity state ( #64756 )
...
* Fix For loops in _handle_coordinator_update()
* Change logic
* Suggested change
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
* Move log
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2022-01-25 08:27:30 +01:00
Shay Levy
6d5c2bb34b
Bump aioshelly to 1.0.8 ( #64864 )
...
* Bump aioshelly to 1.0.8
* Update DEPENDENCY_CONFLICTS
2022-01-24 23:26:38 +02:00
epenet
c8a63d4ffc
Use entity_description in shelly rest sensors ( #64843 )
...
* Use entity_description in shelly rest sensors
* Use _attr_device_info
* Adjust _attr_unique_id and _attr_device_info
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 19:43:43 +02:00
epenet
a459cf8ca4
Use shorthand attributes in shelly covers ( #64829 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 12:31:50 +02: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
601f3f9c6d
Add Shelly Gen2 polling for sesnors missing push updates ( #64171 )
2022-01-17 11:58:54 +02:00
GitHub Action
c6d481ca01
[ci skip] Translation update
2022-01-17 00:14:48 +00:00
Simone Chemelli
a1e7459dc5
Fix misuse of cast for Shelly Valve ( #64181 )
2022-01-16 15:28:49 +01:00
Maciej Bieniek
3265a09083
Fix changing the preset mode ( #64119 )
2022-01-14 17:24:54 +01:00
Simone Chemelli
69c8a02e16
Address late Shelly review ( #63754 )
...
* Late review
* Apply review comments
* Revert review original comment
* Optimizization: loop exit
* Break instead of return
* Missing super init
2022-01-10 13:14:19 +01:00
Simone Chemelli
9479ef0a34
Fix climate channel for Shelly ( #63756 )
...
* Revert "Improve availability for Shelly Valve"
This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.
* Fix channel for climate
2022-01-10 01:16:13 +01:00
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