Commit Graph

429 Commits (284893d9423d0f85030c06c54b9465374430c70d)

Author SHA1 Message Date
epenet 1445e08090
Replace `is_metric` with `is METRIC_SYSTEM` (#80262) 2022-10-14 12:22:11 +02:00
GitHub Action 230fe4453f [ci skip] Translation update 2022-10-12 00:40:30 +00:00
Shay Levy 9019fcb5c5
Migrate Shelly to use kelvin for color temperature (#79880) 2022-10-08 22:24:19 +03:00
GitHub Action f58e1513e2 [ci skip] Translation update 2022-10-08 00:29:46 +00:00
Philippe Schenker 24e9f6285d
Change shelly trv precision to what is supported (#79672)
change shelly trv precision to what is supported

Shelly TRVs do support half-degree steps, change this accordingly.
2022-10-07 17:51:54 -06:00
GitHub Action e1047320a9 [ci skip] Translation update 2022-10-07 00:38:36 +00:00
Shay Levy 93b2a6cc26
Refactor Shelly to use data class for ConfigEntry data (#79671)
* Refactor Shelly to use data class for ConfigEntry data

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/shelly/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Optimize usage of shelly_entry_data in _async_setup_block_entry

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-06 10:10:58 +03:00
Shay Levy 22c68b95bf
Refactor Shelly wrapper to coordinator (#79628) 2022-10-05 14:39:58 +02:00
Shay Levy 8faecae34d
Shelly - move coordinators to coordinator.py (#79616) 2022-10-04 22:29:07 +03:00
GitHub Action 7eb101b0c7 [ci skip] Translation update 2022-10-04 00:37:13 +00:00
GitHub Action bd5ec4e198 [ci skip] Translation update 2022-10-01 00:40:08 +00:00
Shay Levy c70ca1572b
Make Shelly update sensors disabled by default (#79376) 2022-09-30 14:37:58 -04:00
GitHub Action 21b078eeb7 [ci skip] Translation update 2022-09-30 00:42:29 +00:00
Maciej Bieniek 11c09f4fd8
Check if `new_version` is not empty string in Shelly update platform (#79300) 2022-09-29 13:22:30 -04:00
GitHub Action 63f2c4ab98 [ci skip] Translation update 2022-09-29 00:36:54 +00:00
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