Bump sfrbox-api to 0.0.8 (#104580)
parent
855c2da64e
commit
a5fd479608
|
@ -27,16 +27,28 @@ async def async_get_config_entry_diagnostics(
|
||||||
},
|
},
|
||||||
"data": {
|
"data": {
|
||||||
"dsl": async_redact_data(
|
"dsl": async_redact_data(
|
||||||
dataclasses.asdict(await data.system.box.dsl_get_info()), TO_REDACT
|
dataclasses.asdict(
|
||||||
|
await data.system.box.dsl_get_info() # type:ignore [call-overload]
|
||||||
|
),
|
||||||
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
"ftth": async_redact_data(
|
"ftth": async_redact_data(
|
||||||
dataclasses.asdict(await data.system.box.ftth_get_info()), TO_REDACT
|
dataclasses.asdict(
|
||||||
|
await data.system.box.ftth_get_info() # type:ignore [call-overload]
|
||||||
|
),
|
||||||
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
"system": async_redact_data(
|
"system": async_redact_data(
|
||||||
dataclasses.asdict(await data.system.box.system_get_info()), TO_REDACT
|
dataclasses.asdict(
|
||||||
|
await data.system.box.system_get_info() # type:ignore [call-overload]
|
||||||
|
),
|
||||||
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
"wan": async_redact_data(
|
"wan": async_redact_data(
|
||||||
dataclasses.asdict(await data.system.box.wan_get_info()), TO_REDACT
|
dataclasses.asdict(
|
||||||
|
await data.system.box.wan_get_info() # type:ignore [call-overload]
|
||||||
|
),
|
||||||
|
TO_REDACT,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
"documentation": "https://www.home-assistant.io/integrations/sfr_box",
|
"documentation": "https://www.home-assistant.io/integrations/sfr_box",
|
||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"requirements": ["sfrbox-api==0.0.6"]
|
"requirements": ["sfrbox-api==0.0.8"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,7 +188,7 @@ SYSTEM_SENSOR_TYPES: tuple[SFRBoxSensorEntityDescription[SystemInfo], ...] = (
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
value_fn=lambda x: x.temperature / 1000,
|
value_fn=lambda x: None if x.temperature is None else x.temperature / 1000,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
WAN_SENSOR_TYPES: tuple[SFRBoxSensorEntityDescription[WanInfo], ...] = (
|
WAN_SENSOR_TYPES: tuple[SFRBoxSensorEntityDescription[WanInfo], ...] = (
|
||||||
|
|
|
@ -2436,7 +2436,7 @@ sensorpush-ble==1.5.5
|
||||||
sentry-sdk==1.37.1
|
sentry-sdk==1.37.1
|
||||||
|
|
||||||
# homeassistant.components.sfr_box
|
# homeassistant.components.sfr_box
|
||||||
sfrbox-api==0.0.6
|
sfrbox-api==0.0.8
|
||||||
|
|
||||||
# homeassistant.components.sharkiq
|
# homeassistant.components.sharkiq
|
||||||
sharkiq==1.0.2
|
sharkiq==1.0.2
|
||||||
|
|
|
@ -1815,7 +1815,7 @@ sensorpush-ble==1.5.5
|
||||||
sentry-sdk==1.37.1
|
sentry-sdk==1.37.1
|
||||||
|
|
||||||
# homeassistant.components.sfr_box
|
# homeassistant.components.sfr_box
|
||||||
sfrbox-api==0.0.6
|
sfrbox-api==0.0.8
|
||||||
|
|
||||||
# homeassistant.components.sharkiq
|
# homeassistant.components.sharkiq
|
||||||
sharkiq==1.0.2
|
sharkiq==1.0.2
|
||||||
|
|
Loading…
Reference in New Issue