diff --git a/homeassistant/components/homekit_controller/.translations/en.json b/homeassistant/components/homekit_controller/.translations/en.json index 72aa720b449..eb994289a62 100644 --- a/homeassistant/components/homekit_controller/.translations/en.json +++ b/homeassistant/components/homekit_controller/.translations/en.json @@ -14,7 +14,7 @@ "busy_error": "Device refused to add pairing as it is already pairing with another controller.", "max_peers_error": "Device refused to add pairing as it has no free pairing storage.", "max_tries_error": "Device refused to add pairing as it has received more than 100 unsuccessful authentication attempts.", - "pairing_failed": "An unhandled error occured while attempting to pair with this device. This may be a temporary failure or your device may not be supported currently.", + "pairing_failed": "An unhandled error occurred while attempting to pair with this device. This may be a temporary failure or your device may not be supported currently.", "unable_to_pair": "Unable to pair, please try again.", "unknown_error": "Device reported an unknown error. Pairing failed." }, diff --git a/homeassistant/components/homekit_controller/strings.json b/homeassistant/components/homekit_controller/strings.json index 55718e35b59..80370717183 100644 --- a/homeassistant/components/homekit_controller/strings.json +++ b/homeassistant/components/homekit_controller/strings.json @@ -25,7 +25,7 @@ "max_peers_error": "Device refused to add pairing as it has no free pairing storage.", "busy_error": "Device refused to add pairing as it is already pairing with another controller.", "max_tries_error": "Device refused to add pairing as it has received more than 100 unsuccessful authentication attempts.", - "pairing_failed": "An unhandled error occured while attempting to pair with this device. This may be a temporary failure or your device may not be supported currently." + "pairing_failed": "An unhandled error occurred while attempting to pair with this device. This may be a temporary failure or your device may not be supported currently." }, "abort": { "no_devices": "No unpaired devices could be found", diff --git a/homeassistant/components/system_log/__init__.py b/homeassistant/components/system_log/__init__.py index 2ddf02f76ed..bf49de5a731 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -91,7 +91,7 @@ class LogEntry: def __init__(self, record, stack, source): """Initialize a log entry.""" - self.first_occured = self.timestamp = record.created + self.first_occurred = self.timestamp = record.created self.name = record.name self.level = record.levelname self.message = deque([record.getMessage()], maxlen=5) @@ -117,7 +117,7 @@ class LogEntry: "timestamp": self.timestamp, "exception": self.exception, "count": self.count, - "first_occured": self.first_occured, + "first_occurred": self.first_occurred, } diff --git a/homeassistant/components/toon/.translations/en.json b/homeassistant/components/toon/.translations/en.json index cea3146a3a5..7d7d6c73e16 100644 --- a/homeassistant/components/toon/.translations/en.json +++ b/homeassistant/components/toon/.translations/en.json @@ -5,7 +5,7 @@ "client_secret": "The client secret from the configuration is invalid.", "no_agreements": "This account has no Toon displays.", "no_app": "You need to configure Toon before being able to authenticate with it. [Please read the instructions](https://www.home-assistant.io/components/toon/).", - "unknown_auth_fail": "Unexpected error occured, while authenticating." + "unknown_auth_fail": "Unexpected error occurred, while authenticating." }, "error": { "credentials": "The provided credentials are invalid.", diff --git a/homeassistant/components/toon/strings.json b/homeassistant/components/toon/strings.json index 80d71d4e421..20d6ba3d72c 100644 --- a/homeassistant/components/toon/strings.json +++ b/homeassistant/components/toon/strings.json @@ -26,7 +26,7 @@ "abort": { "client_id": "The client ID from the configuration is invalid.", "client_secret": "The client secret from the configuration is invalid.", - "unknown_auth_fail": "Unexpected error occured, while authenticating.", + "unknown_auth_fail": "Unexpected error occurred, while authenticating.", "no_agreements": "This account has no Toon displays.", "no_app": "You need to configure Toon before being able to authenticate with it. [Please read the instructions](https://www.home-assistant.io/components/toon/)." } diff --git a/tests/components/system_log/test_init.py b/tests/components/system_log/test_init.py index 9862260c5f8..92f0ed9fd16 100644 --- a/tests/components/system_log/test_init.py +++ b/tests/components/system_log/test_init.py @@ -157,7 +157,7 @@ async def test_dedup_logs(hass, hass_client): log_msg() log = await get_error_log(hass, hass_client, 3) assert_log(log[0], "", ["error message 2", "error message 2-2"], "ERROR") - assert log[0]["timestamp"] > log[0]["first_occured"] + assert log[0]["timestamp"] > log[0]["first_occurred"] log_msg("2-3") log_msg("2-4")