Commit graph

75 commits

Author SHA1 Message Date
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
Shay Levy
601f3f9c6d
Add Shelly Gen2 polling for sesnors missing push updates (#64171) 2022-01-17 11:58:54 +02:00
Simone Chemelli
c07077833f
Add missing entity category for gen2 devices (#62812) 2021-12-26 22:26:24 +02:00
Robert Hillis
0cf0104662
Use enums in shelly (#62035) 2021-12-16 14:12:23 +01:00
Michael
6a149706ab
add constant CONF_SLEEP_PERIOD (#59195) 2021-11-06 17:32:58 +02:00
Shay Levy
9000e5b2d9
Fix Shelly humidity sensor available condition (#57721) 2021-10-14 17:48:28 -07:00
Maciej Bieniek
3127074f76
Add entity category to Shelly (#57705) 2021-10-14 15:17:00 -07:00
Shay Levy
c8dc5d15ee
Fix: Shelly Gen2 - filter unsupported sensors (#57065) 2021-10-04 13:46:46 -07:00
Maciej Bieniek
d3df6f26f9
Add missing voltage sensor in Shelly integration (#56773)
* Disable voltage sensor by default

* Add voltage sensor for Shelly 2/2.5

* Enable emeter voltage by default
2021-09-29 14:22:42 +03:00
Shay Levy
5249c89c3f
Add Shelly RPC sensor and binary sensor platforms (#56253) 2021-09-17 15:53:39 +03:00
Shay Levy
8c3c2ad8e3
Updated changes for aioshelly 1.0.0 (#56083) 2021-09-11 00:48:55 +03:00
Matt Krasowski
fd66120d6d
Handle incorrect values reported by some Shelly devices (#55042) 2021-08-29 14:52:12 +02:00
Erik Montnemery
dcb2a211e5
Remove last_reset attribute and set state class to total_increasing for Shelly energy sensors (#54800) 2021-08-18 13:13:35 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) (#54476)
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
Shay Levy
58ccfff067
Fix Shelly last_reset (#54101) 2021-08-05 19:23:05 -07:00
Simone Chemelli
e9a00ad4ce
Add last reset to Shelly's energy entities (#53710) 2021-07-29 12:10:53 -07:00
Paulus Schoutsen
bbd1a85b09
Add last reset to Shelly (#53654) 2021-07-28 15:48:27 -07:00
Maciej Bieniek
772cbd59d7
Improve typing in Shelly integration (#52544) 2021-07-21 10:11:44 -07:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants (#53243) 2021-07-20 20:06:23 +02:00
Maciej Bieniek
c91f89260e
Add state_class to entities coming from battery powered devices in Shelly integration (#51009)
* Fix sensor state_class

* Remove state class from total work time sensor

* Add state_class restore mechanism

* Remove commented code

* Remove unnecessary code
2021-05-23 23:10:22 +03:00
Erik Montnemery
73d7a754e8
Mark temperature sensors as STATE_CLASS_MEASUREMENT (#50889)
* Mark temperature sensors as STATE_CLASS_MEASUREMENT

* Fix broadlink tests

* Tweak Hue changes
2021-05-21 11:44:34 +02:00
Shay Levy
7c7a56f704
Fix Shelly external sensors invalid 999 value (#49994) 2021-05-02 20:58:14 -07:00
Shay Levy
31c519b26d
Fix shelly RSSI sensor unit (#49265) 2021-04-15 19:52:06 +02:00
Simone Chemelli
bb7f64596c
Add operation sensor to Shelly Gas (#48462) 2021-03-31 09:46:39 -07:00
Erik Montnemery
a09c8eecb7
Fix some sensor classes (#48254)
* Fix some sensor classes

* Tweak

* Tweak
2021-03-23 15:56:33 +01:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity (#48215) 2021-03-22 19:54:14 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00