Commit Graph

198 Commits (d3724355cf67f5df3ee9553eda001a88952ba03f)

Author SHA1 Message Date
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
Erik Montnemery 72281f4718
Validate device trigger schemas once (#48319) 2021-03-26 08:09:21 +01:00
HomeAssistant Azure c4e5af8081 [ci skip] Translation update 2021-03-24 00:03:09 +00: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
Maciej Bieniek 0f5efca76b
Fix Shelly sleeping device initialization after reconfiguration (#48076) 2021-03-18 13:26:20 -07:00
Marc Mueller a3cd1854f6
Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery 14ff6d4d1f
Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
Shay Levy 19f67335ec
Revert Shelly temperature sensor name change (#47664) 2021-03-09 13:45:58 +01:00
Paulus Schoutsen 34b9e6f6fc
Shelly: set confirm only (#47608) 2021-03-09 13:13:43 +01:00
Shay Levy 24db0ff956
Fix Shelly logbook exception when missing COAP (#47620) 2021-03-08 15:59:54 +01:00
Quentame 198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Shay Levy adad4a7785
Fix Shelly Polling (#47224) 2021-03-01 17:27:43 +01:00
Shay Levy e9b8e035b4
Fix Shelly RGBW (#47116) 2021-02-26 14:28:16 -08:00