Simone Chemelli
d4c91bd0b7
Add a repair issue for Shelly devices with unsupported firmware ( #109076 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-30 10:59:33 -10:00
Maciej Bieniek
afcf8c9718
Get Shelly RPC device gen
from config entry data ( #107019 )
...
Use gen from config entry data
2024-01-03 19:45:59 -05:00
Erik Montnemery
a4357409c8
Fix Shelly consumption_types ( #106273 )
2023-12-22 22:58:59 +01: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
Maciej Bieniek
35b733fa2c
Bump aioshelly
to version 7.0.0 ( #105384 )
...
* Remove get_rpc_device_sleep_period() function
* Bump aioshelly version to 7.0.0
* Remove firmware compatibility check from BLE scanner
* Remove firmware compatibility check from light transition
* Update default fw ver
* Use LightEntityFeature in tests
2023-12-09 17:12:05 +02:00
Maciej Bieniek
b7bf1e9f3f
Make Shelly Wall Display thermostat implementation compatible with firmware 1.2.5 ( #104812 )
2023-11-30 17:26:07 +01:00
Maciej Bieniek
14387cf94b
Remove Shelly Wall Display switch entity only if the relay is used as the thermostat actuator ( #104506 )
2023-11-26 14:46:29 +01:00
Maciej Bieniek
2515dbeee1
Bump aioshelly to version 6.1.0 ( #104456 )
...
* Bump aioshelly
* Use MODEL_* consts from aioshelly
* Add missing models to BATTERY_DEVICES_WITH_PERMANENT_CONNECTION
2023-11-24 20:55:00 +02:00
Maciej Bieniek
dbe193aaa4
Add release_url
property of Shelly update entities ( #103739 )
2023-11-15 13:36:20 +01:00
Maciej Bieniek
3aa6771835
Update DeviceInfo.sw_version
value for Shelly Gen2 sleeping devices ( #101338 )
...
* Update device info for gen2 sleeping devices
* Add test
* Update sw_version only if the firmware_version value has changed
* Rename device_update_info() to update_device_fw_info()
* Remove duplicate comparison
2023-10-04 11:00:17 +02:00
Shay Levy
439ca60cb6
Fix Shelly Gen2 event get input name method ( #100733 )
2023-09-23 12:45:41 +03:00
Maciej Bieniek
f6243a1f79
Add event
platform for Shelly gen2 devices ( #99659 )
...
* Add event platform for gen2 devices
* Add tests
* Add removal condition
* Simplify RpcEventDescription; fix availability
* Improve names and docstrings
* Improve the event entity name
* Use async_on_remove()
* Improve tests coverage
* Improve tests coverage
* Prefix the entity name with the device name in the old way
* Black
* Use DeviceInfo object
2023-09-18 00:38:08 +02:00
Maciej Bieniek
e1f4a3fa9f
Add energy meter sensors for Shelly Pro EM ( #99747 )
...
* Add support for Pro EM
* Improve get_rpc_channel_name()
* Revert an unintended change
* Add tests
2023-09-07 06:59:04 +02: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
Marc Mueller
9e67bccb89
Replace EventType annotations with Event ( #96426 )
2023-07-18 08:51:06 +02:00
Maciej Bieniek
05039036f1
Add compatibility with sleeping Shelly gen2 devices with firmware 1.0.0 ( #94864 )
2023-06-21 12:01:17 +02:00
Maciej Bieniek
e6a214595b
Avoid KeyError when specifying the consumption type in Shelly integration ( #93561 )
...
Avoid KeyError when specifying the consumption type
2023-05-25 23:12:25 +02:00
Erik Montnemery
a71c097aeb
Revert "Allow setting an entity's name by its device class" ( #93539 )
2023-05-25 17:20:54 +02:00
Erik Montnemery
67c1051305
Allow setting an entity's name by its device class ( #90767 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
Shay Levy
3cb9b273c9
Add Shelly Pro 3EM energy sensors ( #86476 )
...
* Add Shelly Pro 3EM energy sensors
* Add total and total returned energy counters
* Set single phase energy counters disabled by default
2023-02-03 23:18:59 +02:00
Shay Levy
803cd8d9a3
Handle state unknown if last state is missing in Shelly ( #86813 )
...
Shelly - handle state unknown if last state is missing
2023-01-27 23:34:56 +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
Shay Levy
e15aaf2853
Fix Shelly RPC key instances handling ( #86479 )
...
Fix Shelly key instances handling
2023-01-23 22:12:29 +02:00
Shay Levy
d5797d9f7d
Cleanup Shelly imports ( #86359 )
...
* Cleanup Shelly imports
* Cleanup tests
2023-01-22 01:26:54 +02:00
Shay Levy
585c4acfee
Shelly - use common coordinator base class ( #86262 )
...
* Shelly - use common coordinator base class
* rename entry to device_entry
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-20 09:43:01 +02:00
J. Nick Koston
b7c7e7f57b
Try to reconnect disconnected shelly devices as soon as they discovered by zeroconf ( #83872 )
2022-12-13 14:22:34 -10:00
Shay Levy
111a38589e
Shelly code quality - use properties for status ( #83421 )
2022-12-07 00:00:45 +02:00
Shay Levy
e1923bc13b
Add Shelly support for Plus WallDimmer US ( #83385 )
2022-12-06 19:44:17 +02:00
Shay Levy
815dfe9134
Fix Shelly gen2 channel name ( #82655 )
...
* Fix Shelly gen2 channel name
* Review comment
2022-11-24 21:38:32 +02:00
Maciej Bieniek
df7000f96d
Always use Celsius in Shelly integration, part 2 ( #81602 )
...
* Always use Celsius in Shelly integration
* Update homeassistant/components/shelly/sensor.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Restore unit from the registry during HA startup
Co-authored-by: Aarni Koskela <akx@iki.fi>
2022-11-06 20:23:48 +00:00
Shay Levy
59ec52a079
Fix Shelly Plus HT missing battery entity ( #81564 )
2022-11-04 18:29:00 +02:00
Shay Levy
5cf4483df5
Fix Shelly Plus H&T sleep period on external power state change ( #81121 )
2022-10-28 19:48:27 +03:00
Shay Levy
8e9457d808
Add Shelly support for sleeping Gen2 devices ( #79889 )
2022-10-18 22:42:22 +03:00
Shay Levy
e1520a0d14
Add support for Shelly Plus Addon sensors ( #79954 )
2022-10-15 12:17:53 +03:00
Simone Chemelli
0738f08215
Add missing sensors for Shelly Plus H&T ( #76001 )
...
* Add missing sensors for Shelly Plus H&T
* Cleanup
* Fix
* Add voltage to battery sensor
* Apply review comments
2022-08-01 09:52:51 +02:00
Shay Levy
0d94324d58
Clean up Shelly async methods that are not awaiting ( #72026 )
2022-05-17 10:57:41 -07:00
Franck Nijhof
69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass ( #72005 )
2022-05-17 16:40:45 +02: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
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
Shay Levy
083d51a727
Cleanup - move Shelly logger to const ( #68046 )
2022-03-12 14:43:57 +02:00
Shay Levy
5e577058bb
Fix Shelly Plus i4 KeyError ( #65604 )
2022-02-03 16:19:36 -08:00
Shay Levy
efbbef5922
Fix Shelly detached switches automation triggers ( #65059 )
2022-01-28 08:30:44 -08: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
Shay Levy
f46055de99
Fix Shelly device name for older firmware ( #60826 )
2021-12-02 09:26:00 -08:00
Simone Chemelli
07c09ab268
Add new name handling for Shelly RPC devices ( #60539 )
2021-11-29 16:16:49 +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
Shay Levy
6820faf5a0
Fix Shelly button type in roller mode ( #57429 )
2021-10-10 22:39:57 +03: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