Commit Graph
43 Commits
Author SHA1 Message Date
Shay Levy 601f3f9c6d Add Shelly Gen2 polling for sesnors missing push updates (#64171) 2022-01-17 11:58:54 +02:00
Dave T 8fd60dbd51 Refactor entity_category str types (#62790) 2021-12-27 18:23:08 +01:00
Erik Montnemery 49a27e12ad Add support to entity registry for overriding device_class (#59985) 2021-11-22 08:38:06 -08:00
Shay Levy 55cd1ffb7c Revert "Use DeviceInfo in shelly (#58520)" (#59315)
This reverts commit df6351f86b.
2021-11-07 15:29:29 -08:00
Marc Mueller 4c68662612 Use assignment expressions 34 (#58823) 2021-10-31 19:01:16 +01:00
epenetandepenet df6351f86b Use DeviceInfo in shelly (#58520)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-27 13:44:47 +03:00
Shay Levy e232bdc082 Add Shelly "installed version" extra state attribute to Gen2 firmware update sensor (#57722) 2021-10-14 19:02:37 -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
Marc Mueller d51487f82a Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +02:00
Shay Levy 5249c89c3f Add Shelly RPC sensor and binary sensor platforms (#56253) 2021-09-17 15:53:39 +03:00
Shay Levy e9eb76c7db Add switch support for RPC device (#56153)
* Add switch support for RPC device

* Apply review comments

* Apply review comments
2021-09-13 09:31:35 +03:00
Shay Levy 8c3c2ad8e3 Updated changes for aioshelly 1.0.0 (#56083) 2021-09-11 00:48:55 +03: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
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
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 be73067f9c Fix Shelly type hints (#50322) 2021-05-09 19:46:53 +02:00
Shay Levy c21add195a Catch Shelly set state exceptions when device is inaccessible (#50064) 2021-05-04 09:10:28 -07:00
Shay Levy 0a38827544 Fix Shelly battery operated devices value rounding (#49966) 2021-05-02 23:49:13 -07:00
Erik Montnemery a09c8eecb7 Fix some sensor classes (#48254)
* Fix some sensor classes

* Tweak

* Tweak
2021-03-23 15:56:33 +01:00
Marc Mueller a3cd1854f6 Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
Erik Montnemery 14ff6d4d1f Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
Shay Levy fefe4a2021 Fix exception in Shelly sleeping device that switches to polling (#45930) 2021-02-04 11:07:30 +01:00
Shay LevyandPaulus Schoutsen 0875f654c8 Add support for Shelly battery operated devices (#45406)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-03 17:03:22 +01:00
Shay Levy 2498340e1f Fix Shelly uptime sensor (#43651)
Fix sensor to include time zone
Report new value only if delta > 5 seconds
Modify REST sensors class to use callable attributes
2020-11-27 09:40:06 +01:00
Shay Levy ebaf143cf6 Support for Shelly Input Events (#43479) 2020-11-25 15:29:01 +01:00
982624b3ac Support for Shelly Binary Input Sensors (#43313)
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-19 11:42:24 +01:00
Simone Chemelli 3dbfd2cb70 Add shelly installed firmware info (#43221) 2020-11-19 10:47:23 +01:00
Shay Levy ad06b6b340 Revert "shelly_naming" rebase errors (#43134) 2020-11-12 15:22:51 +01:00
Simone ChemelliandPaulus Schoutsen cdc53329d0 Add Shelly totalWorkTime as Lamp life (Shelly Air) (#43112)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-12 10:38:53 +01:00
Simone Chemelli d8b067ebf9 Add Shelly support for REST sensors (#40429) 2020-11-11 20:13:14 +01:00
Shay LevyandPaulus Schoutsen 0ddf14a98a Cleanup and naming schema fixes for Shelly (#42987)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-11 09:05:08 +01:00
Maciej BieniekandPaulus Schoutsen f855ff8751 Bump aioshelly library to 0.4.0 (#41905)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 13:37:17 +02:00
Simone Chemelli 70eebc7211 Shelly: fix for RGB devices (#41841) 2020-10-14 21:09:03 +02:00
Simone Chemelli b4b056b75b Handle Shelly channel names (if available) for emeters devices (#40820) 2020-10-01 12:07:18 +02:00
8895752837 Handle Shelly channel names (if available) (#40119)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-09-27 10:16:45 +02:00
Maciej Bieniek 56ba4907e1 Remove the unnecessary prefix from the sensor names in the Shelly integration (#40097) 2020-09-15 16:30:33 +02:00
TomaszandPaulus Schoutsen ae5d8f4d64 Support color temperature (#39743)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-07 17:29:51 +02:00
Paulus Schoutsen b07628ae57 Rework Shelly sensors (#39747)
* Rework Shelly sensors

* Lint

* Add shelly/entity to coveragerc
2020-09-07 14:13:20 +02:00