Commit Graph

414 Commits (9c3b40dad116bccc349b19f50c024b85590e33d2)

Author SHA1 Message Date
starkillerOG 4bdd8cb459
Shelly migrate to update entity (#78305)
* Add update entity

* fixes

* fixes

* change to CONFIG catogory

* return latest version if no update available

* fixes

* Remove firmware binary_sensors and buttons

* import Callable from collections

* remove ota_update tests

* Update homeassistant/components/shelly/update.py

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

* simplify

* fix mypy

* Create test_update.py

* fix isort

* add progress support

* fix styling

* fix update_tests

* fix styling

* do not exclude shelly update test

* bring coverage to 100%

* snake case

* snake case

* change str(x) to cast(str, x)

* simplify tests

* further simplify tests

* Split MOCK_SHELLY_COAP and MOCK_SHELLY_RPC

* fix issort

* fix status test

* fix isort

* run python3 -m script.hassfest

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-09-28 20:21:30 +03:00
Maciej Bieniek 8719829fbe
Add missing error catch in Shelly reauth flow (#79205) 2022-09-28 11:00:27 -04:00
GitHub Action 4460953ff4 [ci skip] Translation update 2022-09-27 00:31:59 +00:00
GitHub Action 39ddc37d76 [ci skip] Translation update 2022-09-26 00:30:11 +00:00
Maciej Bieniek c46f55caa8
Add reauth flow to Shelly integration (#78786) 2022-09-24 22:01:49 -04:00
Maciej Bieniek 38b6377a31
Bump shelly backend library to version 2.0.2 (#79026)
Bump aioshelly library to version 2.0.2
2022-09-24 12:30:16 +02:00
GitHub Action 3875ce6c9e [ci skip] Translation update 2022-09-24 00:31:54 +00:00
GitHub Action 4b2bea4972 [ci skip] Translation update 2022-09-20 00:30:13 +00:00
alakdae 844074c3a9
Add extra precision to ADC voltage (from 1 decimal to 2 decimals) (#77889) 2022-09-12 16:53:03 +03:00
epenet 6affd9c6fb
Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
epenet ff356205bf
Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
GitHub Action 035cd16a95 [ci skip] Translation update 2022-08-30 00:30:17 +00:00
Maciej Bieniek e03eb238e2
Protect against an exception in Shelly climate platform (#77102)
Check if state in HVACMode
2022-08-22 09:03:32 +02:00
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
Marc Mueller 702f8180a6
Use TriggerActionType [l-t] (#76813) 2022-08-15 14:00:42 -04:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
Shay Levy 42dd0cabb3
Fix Shelly H&T sensors rounding (#76426) 2022-08-08 07:52:39 +03:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00: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
GitHub Action c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
Shay Levy 079460d2dd
Bump aioshelly to 2.0.1 (#75523) 2022-07-20 21:11:05 +02:00
Marc Mueller 5ae5ae5392
Improve debouncer typing (#75436) 2022-07-19 18:35:04 +02:00
GitHub Action 5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
Shay Levy 0028dc46e6
Fix Shelly Duo RGBW color mode attribute (#74193) 2022-06-30 01:10:25 +02:00
GitHub Action 109d1844b3 [ci skip] Translation update 2022-06-21 00:22:51 +00:00
Erik Montnemery e05e79e53d
Migrate NumberEntity r-t to native_value (#73485) 2022-06-15 10:56:41 +02:00
GitHub Action 7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
Marc Mueller 48cc3638fa
Cleanup unused function return values (#72512) 2022-05-26 13:17:08 +02:00
GitHub Action 301341a49f [ci skip] Translation update 2022-05-25 00:26:18 +00:00
GitHub Action abbfed24a4 [ci skip] Translation update 2022-05-24 00:25:27 +00:00
J. Nick Koston 0248a8710f
Always pass the source of the trigger for logbook context messages (#72333) 2022-05-23 13:35:45 -05:00
epenet 421167c548
Drop GetAutomationsResult and GetAutomationCapabilitiesResult aliases (#72328) 2022-05-23 12:18:17 +02:00
GitHub Action b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Shay Levy 74e8b076e5
Fix Shelly missing key config flow (#72116) 2022-05-20 12:05:53 +03:00
GitHub Action 9a3ecacf6b [ci skip] Translation update 2022-05-20 00:21:27 +00:00
epenet 7ce3e9ad7b
Adjust device_automation type hints in shelly (#72196) 2022-05-19 22:33:50 +03:00
Shay Levy bad245a856
Fix Shelly triggers type hints (#72146) 2022-05-19 11:06:57 +02:00
epenet 7e2f5968cc
Adjust device_automation type hints in shelly (#72139) 2022-05-19 10:12:54 +03:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
Simone Chemelli 4a95539d9d
Warn user if "model" key is missing from Shelly firmware (#71612)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 10:29:02 -07:00
Shay Levy 0d94324d58
Clean up Shelly async methods that are not awaiting (#72026) 2022-05-17 10:57:41 -07:00
Franck Nijhof 69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +02:00
Franck Nijhof 7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00