Commit Graph

213 Commits (7e70252de58d6dfa857eb35c1d21a599b0fc655f)

Author SHA1 Message Date
Ville Skyttä 0095c6baeb
Improve device trigger type hinting (#54907) 2021-08-22 20:32:50 +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
Maciej Bieniek f1f05cdf1b
Use DEVICE_CLASS_UPDATE in Shelly integration (#54746) 2021-08-17 11:57:45 +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
Maciej Bieniek acf55f2f3a
Add light transition for Shelly integration (#54327)
* Add support for light transition

* Limit transition to 5 seconds

* Update MODELS_SUPPORTING_LIGHT_TRANSITION list
2021-08-09 20:55:14 +03:00
Shay Levy 58ccfff067
Fix Shelly last_reset (#54101) 2021-08-05 19:23:05 -07:00
GitHub Action 64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
Paulus Schoutsen 71375be54d
Handle Shelly get name on uninitialized device (#53917) 2021-08-03 11:16:00 -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
GitHub Action b484969b09 [ci skip] Translation update 2021-07-11 00:09:40 +00:00
GitHub Action b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
GitHub Action 378b5f75ec [ci skip] Translation update 2021-07-04 00:09:33 +00:00
Erik Montnemery 76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA (#51719) 2021-06-10 19:11:38 +02:00
Maciej Bieniek 502939c430
Do not configure Shelly config entry created by custom component (#51616) 2021-06-08 13:23:25 +02:00
GitHub Action 330f713e43 [ci skip] Translation update 2021-06-08 00:21:17 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
Maciej Bieniek ed9b199372
Fix exception after removing Shelly config entry and stopping HA (#51321)
* Fix device shutdown twice

* Change if logic
2021-06-01 11:41:34 +03:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes (#51248)
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
tkdrob d1c4d0de49
Use bool annotations for setup entries (#51166) 2021-05-27 17:39:06 +02:00
Simone Chemelli 3d41a66673
Bump aioshelly to 0.6.4 (#51081) 2021-05-25 19:28:12 +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 c4ced2b351
Bump aioshelly to 0.6.3 (#50857) 2021-05-19 13:53:26 +03:00
Simone Chemelli 8bc75e91a0
Add color effect to Shelly's color devices (#48052)
* Add color effect

* Final commit based on updated firmware

* Update homeassistant/components/shelly/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/shelly/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/shelly/light.py

* Fix flake

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-15 22:43:06 +03:00
Shay Levy be73067f9c
Fix Shelly type hints (#50322) 2021-05-09 19:46:53 +02:00
Simone Chemelli c85f70b639
Small code cleanup for Shelly (#50270) 2021-05-07 22:14:41 -05:00
Simone Chemelli cf96d86985
Add yaml key to Shelly to allow CoAP port customization (#48729)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-07 13:23:29 -07: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
Shay Levy 7c7a56f704
Fix Shelly external sensors invalid 999 value (#49994) 2021-05-02 20:58:14 -07:00
Shay Levy 2440f25aaf
Shelly light color mode bugfix (#49948) 2021-05-01 07:43:03 -07:00
Franck Nijhof 8eb27374c6
Clean up connection classes in integrations P-S (#49893) 2021-04-30 21:04:44 -10:00
HomeAssistant Azure 0efd061255 [ci skip] Translation update 2021-05-01 00:03:44 +00:00
Shay Levy 87a595d928
Add color modes to Shelly light (#49867) 2021-04-29 09:13:58 -07:00
J. Nick Koston 87420627a8
Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
Shay Levy 34a588d1ba
Fix Shelly button first trigger (#49635) 2021-04-24 21:47:18 -07:00
Ruslan Sayfutdinov 7a9385d857
Explicitly define all methods in ConfigFlow (#49341) 2021-04-17 12:42:31 +02:00
Shay Levy 31c519b26d
Fix shelly RSSI sensor unit (#49265) 2021-04-15 19:52:06 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure 93c68f8be6 [ci skip] Translation update 2021-04-13 00:04:04 +00:00
Shay Levy 5c71ba578d
Fix Shelly brightness offset (#49007) 2021-04-12 15:52:51 -07:00
HomeAssistant Azure 45a92f5791 [ci skip] Translation update 2021-04-11 00:04:41 +00:00
Shay Levy 98396e13af
Fix Shelly button device triggers (#48974) 2021-04-09 16:58:44 -07:00
Shay Levy e76b653246
Bump aioshelly to 0.6.2 (#48620) 2021-04-02 11:48:57 +02:00
Simone Chemelli bb7f64596c
Add operation sensor to Shelly Gas (#48462) 2021-03-31 09:46:39 -07:00
Michael 309c3a8d82
Fix init for first added shelly device (#48411) 2021-03-30 23:52:02 +02:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00