Commit graph

764 commits

Author SHA1 Message Date
Shay Levy
32f3eb722e
Add tests coverage for Shelly entity (#82432)
* Add tests coverage for Shelly entity

* Make it generator expression
2022-11-20 23:59:25 +02:00
Marc Mueller
e897c8c47c
Fix round typing [shelly] (#82436) 2022-11-20 23:45:34 +02:00
Shay Levy
ea98f0e9e8
Add tests for Shelly binary_sensor platform (#82367)
* Add tests for Shelly binary_sensor platform

* Rename create to register for
2022-11-19 18:07:02 +02:00
GitHub Action
fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
GitHub Action
5119005a8d [ci skip] Translation update 2022-11-18 00:29:16 +00:00
J. Nick Koston
8da969b767
Disable BLE options flow for sleepy shelly devices (#82283) 2022-11-17 20:39:51 +02:00
epenet
17573196c8
Adjust type hints for CoverEntityFeature (#82238) 2022-11-17 08:39:44 +01:00
GitHub Action
c999953514 [ci skip] Translation update 2022-11-17 00:26:24 +00:00
epenet
39ac2c1101
Adjust type hints for ClimateEntityFeature (#82206) 2022-11-16 21:17:50 +01:00
GitHub Action
361bd6bb81 [ci skip] Translation update 2022-11-16 00:27:00 +00:00
J. Nick Koston
ae7272575a
Enable shelly BLE when the scanner is enabled if it is disabled (#82153)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-11-15 15:37:45 -06:00
J. Nick Koston
7614aba401
Stop shelly BLE scanner on unload (#82151)
* Stop shelly BLE scanner on unload

needs https://github.com/home-assistant-libs/aioshelly/pull/285

* bump
2022-11-15 23:22:33 +02:00
J. Nick Koston
435fc23737
Add shelly ble scanner support (#82007) 2022-11-15 12:34:45 -06:00
J. Nick Koston
956120662e
Add the ability to register for shelly event callbacks (#82052) 2022-11-14 19:58:10 +01:00
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