Commit graph

31 commits

Author SHA1 Message Date
Alistair Francis
1853c2d73a
components/gardena_bluetooth: Improve avaliability reliability (#113056)
* components/gardena_bluetooth: Improve avaliability reliability

The available() function incorrectly returns false even though the device
is accessible.

The last_update_success property should correctly indicate if the device
isn't contactable, so we don't need to call async_address_present().
This is confirmed by seeing that no other users are calling
async_address_present() in the available() function.

This commit removes the call to async_address_present() to help fix the
sensor being unavailable when using a ESPHome BLE proxy.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

---------

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Co-authored-by: Joakim Plate <elupus@ecce.se>
2024-03-11 18:58:43 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
Marc Mueller
7a89e58873
Use builtin TimeoutError [e-i] (#109679) 2024-02-05 12:00:37 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joakim Plate
ae8db120e8
Upgrade gardena_bluetooth to 1.4.1 (#106017) 2023-12-18 16:27:31 -10:00
Joakim Plate
194a799b0a
Remove measurement flag from timestamp in gardena bluetooth (#103245)
Remove measurement flag from timestamp
2023-11-02 16:47:33 +01:00
Robert Resch
bb90c1f168
Fix multilevel reference translations (#102338) 2023-10-20 08:12:53 +02:00
Robert Resch
e4742c04f2
Fix missspelled package names (#100670) 2023-09-21 10:57:23 +02:00
Joakim Plate
61dc217d92
Bump gardena_bluetooth to 1.4.0 (#99530) 2023-09-03 10:25:00 +02:00
Joakim Plate
816f834807
Add moisture sensors entities for gardena (#98282)
Add support for soil moisture sensors for gardena
2023-08-23 22:46:34 +02:00
Joakim Plate
41db088f5d
Update to 1.3.0 of gardena bluetooth (#98776) 2023-08-21 21:58:21 +02:00
Ville Skyttä
2399cd283a
Python 3.10 support cleanups (#98640) 2023-08-21 19:14:07 +02:00
Joakim Plate
687bf5e808
Ignore ble name for gardena (#98126) 2023-08-21 08:43:52 +02:00
Joakim Plate
990ec1d445
Make gardena closing sensor unavailable when closed (#98133) 2023-08-11 13:07:45 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
Joakim Plate
9b74321487
Correct unit of rain pause (#98131) 2023-08-10 12:37:28 +02:00
Joost Lekkerkerker
03335ae1dc
Add missing translation key to Gardena Bluetooth (#97855) 2023-08-05 18:48:13 +02:00
Joakim Plate
daa53118b3
Correct invalid docstring in gardena button (#96922) 2023-07-19 23:58:31 +02:00
Joakim Plate
80a7447030
Add support for buttons in gardena bluetooth (#96871)
* Add button to gardena

* Add tests for button

* Bump gardena bluetooth to 1.0.2

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-19 10:17:40 +02:00
Joakim Plate
22fbd22943
Add more complete test coverage to gardena bluetooth (#96874)
* Add tests for switch

* Add tests for number

* Add tests for 0 sensor

* Enable coverage for gardena bluetooth
2023-07-19 00:31:01 +02:00
Joakim Plate
0d69ba6797
Allow number to be zero in gardena bluetooth (#96872)
Allow number to be 0 in gardena
2023-07-18 23:43:11 +02:00
Joakim Plate
878429fdec
Add binary sensor for valve connectivity for gardena bluetooth (#96810)
* Add binary_sensor to gardena

* Add tests for binary_sensor
2023-07-18 09:00:25 +02:00
Joakim Plate
d80b7d0145
Add base class to gardena bluetooth entities (#96775)
Add helper base class for gardena entities
2023-07-17 21:12:41 +02:00
Joakim Plate
36cb3f7278
Protect entities for availability in gardena bluetooth (#96776)
Protect entities for availability
2023-07-17 21:12:24 +02:00
Joakim Plate
088d04fe0f
Add sensor to gardena (#96691) 2023-07-17 09:11:23 +02:00
Joakim Plate
cd0e9839a0
Correct unit types in gardean bluetooth (#96683) 2023-07-16 13:31:23 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joakim Plate
52c7ad130d
Add number entity to gardena (#96430) 2023-07-13 06:34:28 +02:00
Joakim Plate
f7ce9b1688
Add support for gardena bluetooth (#95179)
Add support for gardena bluetooth based water computers.
2023-07-12 16:08:15 +02:00