Shay Levy
28e18ce7bf
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-15 20:53:56 +02:00
Maciej Bieniek
8181fbab5c
Fix device_class
type for Shelly Gen1 sleeping sensors ( #107683 )
2024-01-09 12:01:19 -10: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
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
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
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
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
d5338e88f2
Fix the availability condition for Shelly N current sensor ( #98518 )
2023-08-18 10:49:43 +02:00
Maciej Bieniek
9910da2f3d
Add neutral current
sensor for Shelly 3EM ( #97981 )
2023-08-08 16:47:18 +02:00
Maciej Bieniek
9f9602e8a7
Add frequency sensor for Shelly Plus/Pro xPM devices ( #97172 )
2023-07-24 23:07:57 +02:00
Maciej Bieniek
17e757af36
Add sensors for Shelly Plus PM Mini ( #97163 )
2023-07-24 19:53:39 +02:00
Maciej Bieniek
c61c6474dd
Add frequency and N current sensors for Shelly Pro 3EM ( #97082 )
2023-07-23 21:33:47 +02:00
Maciej Bieniek
9f98a418cd
Add new sensors for Shelly Pro 3EM ( #97006 )
...
* Add new sensors
* Fix typo
2023-07-21 18:18:14 +03:00
Maciej Bieniek
fe61672792
Don't inherit SensorEntity/NumberEntity and RestoreEntity in Shelly integration ( #93531 )
...
* Use RestoreNumber and Restore Sensor for block entities
* Update tests
* Use RestoreSensor for RPC entities
* Fix test for number platform
2023-06-04 19:14:08 -05:00
Maciej Bieniek
eb058a3d41
Add illuminance sensor for Shelly gen2 devices ( #93559 )
2023-05-25 23:10:44 +02:00
epenet
c475273145
Prevent SensorEntity and RestoreEntity inheritance ( #88971 )
2023-05-24 12:49:35 +02:00
Maciej Bieniek
dea29f539f
Use SensorDeviceClass.ENUM
and add state attributes translations in Shelly integration ( #89660 )
2023-03-15 18:52:42 +01:00
Maciej Bieniek
79bcdf43f7
Add current
sensor for Shelly RPC devices ( #88863 )
2023-03-01 16:26:20 +01:00
Maciej Bieniek
7119a0f811
Use suggested_display_precision
instead of rounding in Shelly sensor platform ( #87084 )
2023-02-20 10:20:52 -06:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01: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
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
e3b81ad170
Add Shelly Pro 3EM sensors ( #86403 )
...
* Add Shelly Pro 3EM sensors
* Fix Apparent Power sensor device class
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
* Adapt entity naming to new style
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
2023-01-23 18:59:55 +02:00
Shay Levy
9e4be56939
Shelly - handle None in RPC power sensors ( #86399 )
...
Handle None in RPC power sensors
2023-01-22 22:18:47 +02:00
Shay Levy
b71d332a10
Cleanup Shelly sensor description ( #85732 )
2023-01-11 21:39:49 -10:00
epenet
ba043c9ebb
Use UnitOfTemperature in integrations (p-s) ( #84308 )
2022-12-20 18:47:27 +01:00
epenet
418be1eeb6
Use UnitOfElectricCurrent in integrations ( #84231 )
2022-12-19 16:59:39 +01:00
epenet
ebdf9a8658
Use UnitOfEnergy in integrations (o-z) ( #84221 )
2022-12-19 10:58:37 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations ( #84044 )
2022-12-15 13:59:21 +01:00
epenet
52d4a358a0
Use UnitOfPower in integrations [s-z] ( #83826 )
2022-12-12 12:20:16 +01:00
Shay Levy
0d00e9c2d0
Fix Shelly addon analog input sensor ( #83005 )
2022-11-30 21:01:34 +01:00
Simone Chemelli
2a42a58ec4
Restore negative values for shelly power factors ( #81689 )
...
fixes undefined
2022-11-06 18:16:58 -06: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
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
Shay Levy
eaeee96d75
Fix Shelly EM negative power factor ( #80348 )
2022-10-15 12:15:28 +03:00
Shay Levy
22c68b95bf
Refactor Shelly wrapper to coordinator ( #79628 )
2022-10-05 14:39:58 +02:00
alakdae
844074c3a9
Add extra precision to ADC voltage (from 1 decimal to 2 decimals) ( #77889 )
2022-09-12 16:53:03 +03:00
Shay Levy
42dd0cabb3
Fix Shelly H&T sensors rounding ( #76426 )
2022-08-08 07:52:39 +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
Shay Levy
eccf8c76fd
Fix Shelly EM/3EM invalid energy value after reboot ( #68052 )
2022-03-12 22:21:45 +02:00
Simone Chemelli
de2ddfe7b7
Add missing temperature sensor for Shelly Motion2 ( #67458 )
2022-03-01 16:22:15 -08:00
Shay Levy
631c4bf10f
Fix Shelly 1/1PM external temperature sensor unavailable ( #65096 )
2022-01-27 22:33:12 -08: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
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