Add sensors to LOQED integration for battery percentage and BLE stength (#95726)
* Add sensors for battery percentage and BLE stength * Use translatable name for BLE strength, no longer pass enity to sensor
This commit is contained in:
parent
d2bcb5fa87
commit
ba1266a893
5 changed files with 81 additions and 1 deletions
|
@ -48,6 +48,7 @@ def lock_fixture() -> loqed.Lock:
|
|||
mock_lock.name = "LOQED smart lock"
|
||||
mock_lock.getWebhooks = AsyncMock(return_value=webhooks_fixture)
|
||||
mock_lock.bolt_state = "locked"
|
||||
mock_lock.battery_percentage = 90
|
||||
return mock_lock
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue