diff --git a/README.md b/README.md index 7bf2e07..f03133d 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ This method supports: # Asynchronously collect metric data samples into a list data = [ sample async for sample in - client.list_single_component_data( + client.receive_single_component_data( microgrid_id=1, # ID of the microgrid to query component_id=100, # ID of the specific component to query metrics=[ # List of metrics to retrieve diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f80f12e..fbe2bac 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -14,4 +14,4 @@ ## Bug Fixes - +- Update example in README to use `receive_single_component_data`.