John Allen
901b7b6278
Send target temp to Shelly TRV in F when needed ( #108188 )
2024-01-19 15:42:44 +01:00
Shay Levy
ed31adc6db
Fix Shelly Gen1 entity description restore ( #108052 )
...
* Fix Shelly Gen1 entity description restore
* Update tests/components/shelly/test_sensor.py
Co-authored-by: J. Nick Koston <nick@koston.org>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-19 15:14:56 +01:00
Simone Chemelli
20b88e30f5
Update sleep period for Shelly devices with buggy fw ( #107961 )
...
* update sleep period for Shelly devices with buggy fw
* code quality
* update model list
* add test
* Apply review comments
* fix test
* use costant
2024-01-19 15:14:01 +01:00
Maciej Bieniek
2a46f201cb
Fix device_class
type for Shelly Gen1 sleeping sensors ( #107683 )
2024-01-12 15:59:01 +01:00
Shay Levy
644a823c45
Bump aioshelly to 7.1.0 ( #107593 )
2024-01-12 15:58:35 +01:00
Shay Levy
0dbb4105bc
Fix Shelly missing Gen value for older devices ( #107294 )
2024-01-06 12:24:29 +01:00
Maciej Bieniek
8c9875c3cc
Get Shelly RPC device gen
from config entry data ( #107019 )
...
Use gen from config entry data
2024-01-05 13:00:07 +01:00
Maciej Bieniek
3eef1a3f6a
Add valve platform for Shelly Gas Valve ( #106087 )
...
* Add valve platform
* Update BLOCK_PLATFORMS
* Add tests
* Use _attr_is_closed
* Fix mypy errors
* Make the valve switch to disabled by default
* Add deprecation issues
* Remove LOGGER
* Clean
* Add deprecation comments
* Suggested changes
* Set True for is_fixable
* Show valve entity and services in repair issue
2023-12-26 07:56:21 +01:00
Maciej Bieniek
d59142a595
Add missing sensors for Shelly Pro Dimmer 2PM ( #105008 )
...
Add missing sensors for Shelly Pro Dimmer 2
2023-12-25 07:02:57 +01:00
Erik Montnemery
a4357409c8
Fix Shelly consumption_types ( #106273 )
2023-12-22 22:58:59 +01:00
J. Nick Koston
e50fe79911
Update habluetooth to 2.0.0 ( #106145 )
2023-12-20 20:37:39 -10:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Maciej Bieniek
67a30d71e6
Fix HVAC mode duplication for Shelly Gen2 climate platform ( #105812 )
...
Fix HVAC mode duplication
2023-12-15 18:14:53 +01:00
J. Nick Koston
5dbd0dede1
Refactor Bluetooth scanners to avoid the need to pass a callback ( #105607 )
2023-12-13 09:17:48 +01:00
J. Nick Koston
f002a6a732
Refactor all Bluetooth scanners to inherit from BaseHaRemoteScanner ( #105523 )
2023-12-12 21:28:43 +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
J. Nick Koston
dd9c22672a
Refactor bluetooth scanners for better seperation of concerns ( #104909 )
2023-12-02 13:20:06 -10:00
Maciej Bieniek
8e2f4a347c
Address late review for the host field description in Shelly integration ( #104815 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-30 18:46:18 +01: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
3aa9066a50
Add field description for Shelly host ( #104686 )
2023-11-29 08:45:47 +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
Simone Chemelli
e161bb9e41
fix BLE stop error for disconnected Shelly devices ( #104457 )
2023-11-24 20:56:15 +02: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
adc56b6b67
Add support for Shelly Wall Display in thermostat mode ( #103937 )
2023-11-24 12:55:41 +01:00
Maciej Bieniek
c92a90e04d
Disable options flow for Shelly Wall Display ( #103988 )
2023-11-15 15:45:33 +01:00
Maciej Bieniek
dbe193aaa4
Add release_url
property of Shelly update entities ( #103739 )
2023-11-15 13:36:20 +01:00
Maciej Bieniek
47c9d58b5e
Override the async_update()
method for Shelly sleeping devices ( #102516 )
2023-10-25 13:48:00 +02: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
956098ae3a
Shelly - remove unused device update info call ( #101295 )
2023-10-03 19:21:31 +03:00
Shay Levy
ca2f45d466
Fix Shelly typo in cover platform ( #101292 )
2023-10-02 22:30:58 +02:00
Maciej Bieniek
0fdf04391b
Use class attrs and shorthand attrs for Shelly ( #101249 )
2023-10-02 13:40:06 +02:00
Maciej Bieniek
5c5dff034c
Add event
platform for Shelly gen1 devices ( #100655 )
...
* Initial commit
* Use description.key
* Add translations
* Check event_types
* Rename input_id to channel
* Fix removeal confition
* Add tests
* Sort classes and consts
* Use ShellyBlockEntity class
* Update tests
* Update homeassistant/components/shelly/event.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
---------
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2023-09-23 16:03:57 +02:00
Shay Levy
439ca60cb6
Fix Shelly Gen2 event get input name method ( #100733 )
2023-09-23 12:45:41 +03:00
Maciej Bieniek
c099ec19f2
Add missing translations for Shelly event type states ( #100608 )
...
Add missing translations for event type
2023-09-19 20:30:18 +02:00
Marc Mueller
37288d7788
Add pylint plugin to check for calls to base implementation ( #100432 )
2023-09-18 13:39:36 -05: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
Erik Montnemery
09ad1a9a36
Remove unnecessary block use of pylint disable in components p-z ( #100192 )
2023-09-12 20:47:48 +02:00
Jan Rieger
74a57e8676
Use more common translations ( #100135 )
2023-09-12 19:44:31 +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
Maciej Bieniek
d9a1ebafdd
Show OTA update progress for Shelly gen2 devices ( #99534 )
...
* Show OTA update progress
* Use an event listener instead of a dispatcher
* Add tests
* Fix name
* Improve tests coverage
* Fix subscribe/unsubscribe logic
* Use async_on_remove()
2023-09-06 08:17:45 +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
Shay Levy
406f06f0fc
Abort Shelly setup if MAC address mismatch ( #98807 )
2023-08-22 07:41:50 -05:00
Maciej Bieniek
17050a3286
Add support for Shelly Gas Valve addon ( #98705 )
...
* Support Gas Valve
* Treat opening and closing as open
* Use set_state()
* Change entity icon and name
* Add valve state sensor
* Closing == closed
* Add translations for valve state entity
* Valve state -> Valve status
* Add tests; use control_result
* Fix mypy error
* Add missing "valve" to the Mock
* Improve docstrings
* Fix climate platform tests
* Increase test coverage
* Add mising return
2023-08-22 11:53:52 +03:00
Maciej Bieniek
f97f33fff7
Only create an issue if push updates fail 5 times in a row for Shelly gen1 devices ( #98747 )
2023-08-21 22:27:36 +02:00
Shay Levy
a713d7585f
Bump aioshelly to 6.0.0 ( #98719 )
2023-08-21 10:49:11 +03: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
Maciej Bieniek
d5338e88f2
Fix the availability condition for Shelly N current sensor ( #98518 )
2023-08-18 10:49:43 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Maciej Bieniek
9910da2f3d
Add neutral current
sensor for Shelly 3EM ( #97981 )
2023-08-08 16:47:18 +02:00