mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Add 2 properties to Withings diagnostics (#103067)
This commit is contained in:
parent
f160fa4bc3
commit
953d5e0080
@ -33,4 +33,6 @@ async def async_get_config_entry_diagnostics(
|
||||
"webhooks_connected": withings_data.measurement_coordinator.webhooks_connected,
|
||||
"received_measurements": list(withings_data.measurement_coordinator.data),
|
||||
"received_sleep_data": withings_data.sleep_coordinator.data is not None,
|
||||
"received_workout_data": withings_data.workout_coordinator.data is not None,
|
||||
"received_activity_data": withings_data.activity_coordinator.data is not None,
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
dict({
|
||||
'has_cloudhooks': True,
|
||||
'has_valid_external_webhook_url': True,
|
||||
'received_activity_data': False,
|
||||
'received_measurements': list([
|
||||
1,
|
||||
8,
|
||||
@ -26,6 +27,7 @@
|
||||
169,
|
||||
]),
|
||||
'received_sleep_data': True,
|
||||
'received_workout_data': True,
|
||||
'webhooks_connected': True,
|
||||
})
|
||||
# ---
|
||||
@ -33,6 +35,7 @@
|
||||
dict({
|
||||
'has_cloudhooks': False,
|
||||
'has_valid_external_webhook_url': False,
|
||||
'received_activity_data': False,
|
||||
'received_measurements': list([
|
||||
1,
|
||||
8,
|
||||
@ -56,6 +59,7 @@
|
||||
169,
|
||||
]),
|
||||
'received_sleep_data': True,
|
||||
'received_workout_data': True,
|
||||
'webhooks_connected': False,
|
||||
})
|
||||
# ---
|
||||
@ -63,6 +67,7 @@
|
||||
dict({
|
||||
'has_cloudhooks': False,
|
||||
'has_valid_external_webhook_url': True,
|
||||
'received_activity_data': False,
|
||||
'received_measurements': list([
|
||||
1,
|
||||
8,
|
||||
@ -86,6 +91,7 @@
|
||||
169,
|
||||
]),
|
||||
'received_sleep_data': True,
|
||||
'received_workout_data': True,
|
||||
'webhooks_connected': True,
|
||||
})
|
||||
# ---
|
||||
|
Loading…
x
Reference in New Issue
Block a user