mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02:00
value can be a float now
This commit is contained in:
@@ -84,7 +84,7 @@ SENSOR_DESCRIPTIONS = (
|
||||
entity_registry_enabled_default=False,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
value_fn=(
|
||||
lambda hass, service_info: (
|
||||
lambda hass, service_info: round(
|
||||
bluetooth.async_get_learned_advertising_interval(
|
||||
hass, service_info.address
|
||||
)
|
||||
|
Reference in New Issue
Block a user