450 Commits

Author SHA1 Message Date
GitHub Action
8b4dbbe593 [ci skip] Translation update 2022-11-10 00:27:41 +00:00
Simone Chemelli
2a42a58ec4
Restore negative values for shelly power factors (#81689)
fixes undefined
2022-11-06 18:16:58 -06:00
Maciej Bieniek
df7000f96d
Always use Celsius in Shelly integration, part 2 (#81602)
* Always use Celsius in Shelly integration

* Update homeassistant/components/shelly/sensor.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

* Restore unit from the registry during HA startup

Co-authored-by: Aarni Koskela <akx@iki.fi>
2022-11-06 20:23:48 +00:00
Shay Levy
59ec52a079
Fix Shelly Plus HT missing battery entity (#81564) 2022-11-04 18:29:00 +02:00
Shay Levy
f5f96535ad
Bump aioshelly to 4.1.2 (#81342) 2022-11-01 12:53:44 +02:00
Maciej Bieniek
16beed2565
Always use Celsius in Shelly integration (#80842) 2022-11-01 09:29:38 +01:00
Shay Levy
5cf4483df5
Fix Shelly Plus H&T sleep period on external power state change (#81121) 2022-10-28 19:48:27 +03:00
Shay Levy
775f4e9e0d
Clean-up Shelly legacy update entities (#80961) 2022-10-25 21:27:54 +02:00
Shay Levy
e77025ac8d
Bump aioshelly to 4.1.1 (#80939) 2022-10-25 12:16:08 +02:00
Shay Levy
dce4753510
Cleanup Shelly update platform (#80845) 2022-10-25 00:20:26 +03:00
Shay Levy
8fa64a7a89
Bump aioshelly to 4.1.0 (#80795) 2022-10-22 22:57:25 -06:00
Maciej Bieniek
b6b36861d9
Add integration_type field for a few integrations (#80767) 2022-10-22 14:38:08 +02:00
Shay Levy
228d491216
Fix Shelly entry unload and add tests for init (#80760) 2022-10-22 09:00:35 +02:00
GitHub Action
5a77c8f96f [ci skip] Translation update 2022-10-22 00:35:23 +00:00
Shay Levy
aea7a9af18
Bump aioshelly to 4.0.0 (#80423)
* Bump aioshelly to 4.0.0

* Remove leftover

* Fix number platform

* Set last_update_success to false upon failure in number and climate

* Set last_update_success upon failurie in entity
2022-10-20 15:08:48 +03:00
Maciej Bieniek
1b130eb271
Save last target temperature in Shelly climate platform (#80561)
Save last target temp
2022-10-18 22:55:50 +03:00
Shay Levy
8e9457d808
Add Shelly support for sleeping Gen2 devices (#79889) 2022-10-18 22:42:22 +03:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
GitHub Action
3c48ce9ee7 [ci skip] Translation update 2022-10-16 00:44:12 +00:00
Shay Levy
e1520a0d14
Add support for Shelly Plus Addon sensors (#79954) 2022-10-15 12:17:53 +03:00
Shay Levy
eaeee96d75
Fix Shelly EM negative power factor (#80348) 2022-10-15 12:15:28 +03:00
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