From d34b53dd22ebcd96f75a384ebeba63b15bdafd9b Mon Sep 17 00:00:00 2001 From: Elad Bar Date: Thu, 2 May 2024 21:02:33 +0300 Subject: [PATCH] correct typos --- custom_components/edgeos/__init__.py | 6 +++--- custom_components/edgeos/device_tracker.py | 1 - custom_components/edgeos/diagnostics.py | 2 +- custom_components/edgeos/managers/rest_api.py | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/custom_components/edgeos/__init__.py b/custom_components/edgeos/__init__.py index af237a9..18aaf8a 100644 --- a/custom_components/edgeos/__init__.py +++ b/custom_components/edgeos/__init__.py @@ -1,7 +1,7 @@ """ -This component provides support for Shinobi Video. +This component provides support for EdgeOS based devices. For more details about this component, please refer to the documentation at -https://github.com/elad-bar/ha-shinobi +https://github.com/elad-bar/ha-EdgeOS """ import logging import sys @@ -25,7 +25,7 @@ async def async_setup(_hass, _config): async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - """Set up a Shinobi Video component.""" + """Set up a EdgeOS component.""" initialized = False try: diff --git a/custom_components/edgeos/device_tracker.py b/custom_components/edgeos/device_tracker.py index e8eea63..ac4b7f9 100644 --- a/custom_components/edgeos/device_tracker.py +++ b/custom_components/edgeos/device_tracker.py @@ -1,6 +1,5 @@ """ Support for Ubiquiti EdgeOS routers. -HEAVILY based on the AsusWRT component For more details about this platform, please refer to the documentation at https://home-assistant.io/components/device_tracker.edgeos/ """ diff --git a/custom_components/edgeos/diagnostics.py b/custom_components/edgeos/diagnostics.py index 52d61eb..49ed3c5 100644 --- a/custom_components/edgeos/diagnostics.py +++ b/custom_components/edgeos/diagnostics.py @@ -115,7 +115,7 @@ def _async_get_diagnostics( def _async_device_as_dict( hass: HomeAssistant, identifiers, additional_data: dict ) -> dict[str, Any]: - """Represent a Shinobi monitor as a dictionary.""" + """Represent an EdgeOS based device as a dictionary.""" device_registry = dr.async_get(hass) entity_registry = er.async_get(hass) diff --git a/custom_components/edgeos/managers/rest_api.py b/custom_components/edgeos/managers/rest_api.py index 74fae98..cb56207 100644 --- a/custom_components/edgeos/managers/rest_api.py +++ b/custom_components/edgeos/managers/rest_api.py @@ -146,7 +146,7 @@ async def _do_nothing(self, _status: ConnectivityStatus): pass async def initialize(self): - _LOGGER.info("Initializing Shinobi Server API") + _LOGGER.info("Initializing EdgeOS API") self._set_status(ConnectivityStatus.Connecting)