Fix typos found by codespell (#31243)
* Fix typos found by codespell * Fix typos found by codespell * codespell: Furture ==> Future * Update test_config_flow.py * Update __init__.py * Spellcheck: successfull ==> successful * Codespell: unsuccesful ==> unsuccessful * Codespell: cant ==> can't * Codespell: firware ==> firmware * Codespell: mimick ==> mimic
This commit is contained in:
1 parent
a017c26234
commit
df7d2b3aeb
121 files changed
+170
-156
No files matched your search
@@ -334,7 +334,7 @@ class PrometheusMetrics:
|
||||
|
||||
@staticmethod
|
||||
def _sensor_fallback_metric(state, unit):
|
||||
"""Get metric from fallback logic for compatability."""
|
||||
"""Get metric from fallback logic for compatibility."""
|
||||
if unit in (None, ""):
|
||||
_LOGGER.debug("Unsupported sensor: %s", state.entity_id)
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user