epenet
a102883eff
Add type hints to integration tests (part 2) ( #88493 )
2023-02-21 09:25:05 +01:00
Maciej Bieniek
7119a0f811
Use `suggested_display_precision` instead of rounding in Shelly sensor platform ( #87084 )
2023-02-20 10:20:52 -06:00
epenet
80ee196fd8
Add type hints to integration tests (part 19) ( #88178 )
2023-02-15 18:07:40 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Maciej Bieniek
95bb019f71
Do not reload Shelly TRV entry when not needed ( #88037 )
...
* Do not reload the entry when the target temperature changes
* Do not reload the entry when the mode changes
* Increase test coverage
* Increase test coverage
2023-02-15 10:21:53 +01:00
Maciej Bieniek
cd4ce86f07
Add support for `triple_push` event for Shelly gen2 devices ( #88081 )
...
* Add support for triple_push event
* Sort
* Fix tests
2023-02-15 10:20:27 +01:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Shay Levy
857df05308
Add Shelly Gen2 update entity for sleeping devices ( #86837 )
2023-01-30 19:05:13 +02:00
Shay Levy
803cd8d9a3
Handle state unknown if last state is missing in Shelly ( #86813 )
...
Shelly - handle state unknown if last state is missing
2023-01-27 23:34:56 +01:00
Shay Levy
f9f9741d2a
Separate Shelly tests parameters in parametrize ( #86778 )
...
Shelly tests - separate parameters in parametrize
2023-01-27 14:28:35 +01:00
Shay Levy
ae6bc96002
Shelly code quality ( #86733 )
2023-01-27 10:47:05 +02:00
Franck Nijhof
e50a531cd9
Code styling tweaks to the tests - Part 2 ( #86662 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00
Maciej Bieniek
9a68f0abe8
Store Shelly climate `last_target_temp` value in restore extra data ( #86482 )
...
fixes undefined
2023-01-24 07:28:34 -10:00
Shay Levy
9e4be56939
Shelly - handle None in RPC power sensors ( #86399 )
...
Handle None in RPC power sensors
2023-01-22 22:18:47 +02:00
Shay Levy
d5797d9f7d
Cleanup Shelly imports ( #86359 )
...
* Cleanup Shelly imports
* Cleanup tests
2023-01-22 01:26:54 +02:00
Shay Levy
df77646c8a
Fix Shelly sleeping Gen2 - do not refresh from zeroconf discovery ( #86296 )
2023-01-20 21:27:31 +02:00
J. Nick Koston
d949f51f10
Handle ignored shelly entries when discovering via zeroconf ( #86039 )
...
fixes https://github.com/home-assistant/core/issues/85879
2023-01-16 11:21:49 -10:00
J. Nick Koston
2c95c0b3a1
Do not check ble scanner state for sleepy shelly devices ( #85566 )
...
fixes #85563
2023-01-10 00:16:14 +02:00
J. Nick Koston
3ac5b780ff
Reject the WiFI AP when considering to update a shelly config entry from zeroconf ( #85265 )
...
Reject the WiFI AP IP when considering to update a shelly config entry from zeroconf
fixes #85180
2023-01-06 01:44:10 +02:00
Erik Montnemery
a6217ca9b9
Improve error message when an automation fails to validate ( #83977 )
2022-12-21 23:20:50 +01:00
J. Nick Koston
e900918e51
Fix reload race in shelly when device is recently offline ( #84328 )
2022-12-21 09:29:48 +01:00
J. Nick Koston
b7c7e7f57b
Try to reconnect disconnected shelly devices as soon as they discovered by zeroconf ( #83872 )
2022-12-13 14:22:34 -10:00
J. Nick Koston
0e2ebfe5c4
Move bluetooth watchdog into the scanner base class ( #83888 )
2022-12-13 11:57:40 -10:00
J. Nick Koston
80a8d5443d
Improve remote bluetooth scanner diagnostics and add missing test cover ( #83796 )
2022-12-11 21:33:30 -10:00
J. Nick Koston
09f9bb05dc
Add bluetooth diagnostics to shelly ( #83438 )
...
* Add bluetooth diagnostics to shelly
* Add tests
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-12-09 10:55:10 -05:00
Maciej Bieniek
e11917b7cb
Fix restored temperature values in Shelly climate platform ( #83428 )
...
* Set last_target_temp value according the unit system
* Convert restored temperature values
* Add test
* Improve comments
* Move _last_target_temp value to constants
2022-12-07 09:11:18 +02:00
J. Nick Koston
b665a060f7
Do not try to stop the shelly ble scanner if not connected ( #83424 )
...
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-12-06 22:57:54 -05:00
Shay Levy
e1923bc13b
Add Shelly support for Plus WallDimmer US ( #83385 )
2022-12-06 19:44:17 +02:00
Shay Levy
815dfe9134
Fix Shelly gen2 channel name ( #82655 )
...
* Fix Shelly gen2 channel name
* Review comment
2022-11-24 21:38:32 +02:00
Shay Levy
1e68e8c4b4
Add Shelly tests coverage ( #82642 )
...
* Add Shelly tests coverage
* Review comments
* Remove leftovers
2022-11-24 20:07:19 +02:00
Shay Levy
4a089b5c28
Add tests coverage for Shelly climate platform ( #82529 )
2022-11-22 09:04:55 -06:00
Shay Levy
91a44b697b
Add tests coverage for Shelly number platform ( #82480 )
2022-11-21 10:55:06 -06:00
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
Shay Levy
8bd7f59b93
Add tests for Shelly sensor platform ( #82385 )
2022-11-19 22:01:30 +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
Erik Montnemery
1a274adc28
Add config_entries.async_wait_component ( #76980 )
...
Co-authored-by: thecode <levyshay1@gmail.com>
2022-11-17 21:52:57 +01:00
J. Nick Koston
8da969b767
Disable BLE options flow for sleepy shelly devices ( #82283 )
2022-11-17 20:39:51 +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
Shay Levy
775f4e9e0d
Clean-up Shelly legacy update entities ( #80961 )
2022-10-25 21:27:54 +02:00
Shay Levy
dce4753510
Cleanup Shelly update platform ( #80845 )
2022-10-25 00:20:26 +03:00
Shay Levy
228d491216
Fix Shelly entry unload and add tests for init ( #80760 )
2022-10-22 09:00:35 +02: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
Shay Levy
8e9457d808
Add Shelly support for sleeping Gen2 devices ( #79889 )
2022-10-18 22:42:22 +03:00
Shay Levy
9019fcb5c5
Migrate Shelly to use kelvin for color temperature ( #79880 )
2022-10-08 22:24:19 +03:00
Shay Levy
723b018b63
Refactor Shelly tests - do not access hass.data ( #79606 )
2022-10-05 11:36:06 +02:00
Shay Levy
c70ca1572b
Make Shelly update sensors disabled by default ( #79376 )
2022-09-30 14:37:58 -04:00