Open golles opened 5 months ago
Would it be possible to include get_diagnostics_for_config_entry and _get_diagnostics_for_config_entry? (and maybe also get_diagnostics_for_device and _get_diagnostics_for_device) from https://github.com/home-assistant/core/blob/dev/tests/components/diagnostics/__init__.py
get_diagnostics_for_config_entry
_get_diagnostics_for_config_entry
get_diagnostics_for_device
_get_diagnostics_for_device
In my component, I've added a test for diagnostics and had to copy the 2 mentioned functions from HA into my project (but maybe there is a better way that I'm not aware of?)
Would it be possible to include
get_diagnostics_for_config_entry
and_get_diagnostics_for_config_entry
? (and maybe alsoget_diagnostics_for_device
and_get_diagnostics_for_device
) from https://github.com/home-assistant/core/blob/dev/tests/components/diagnostics/__init__.pyIn my component, I've added a test for diagnostics and had to copy the 2 mentioned functions from HA into my project (but maybe there is a better way that I'm not aware of?)