diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index 5acf8083e..e85278edf 100644 --- a/lib/extension/homeassistant.ts +++ b/lib/extension/homeassistant.ts @@ -670,7 +670,7 @@ export default class HomeAssistant extends Extension { /** * If numeric attribute has SET access then expose as SELECT entity too. - * Note: currently both sensor and number are discoverd, this is to avoid + * Note: currently both sensor and number are discovered, this is to avoid * breaking changes for sensors already existing in HA (legacy). */ if (allowsSet) { @@ -734,7 +734,7 @@ export default class HomeAssistant extends Extension { /** * If enum attribute has SET access then expose as SELECT entity too. - * Note: currently both sensor and select are discoverd, this is to avoid + * Note: currently both sensor and select are discovered, this is to avoid * breaking changes for sensors already existing in HA (legacy). */ if ((firstExpose.access & ACCESS_SET)) { @@ -1001,7 +1001,7 @@ export default class HomeAssistant extends Extension { } private discover(entity: Device | Group, force=false): void { - // Check if already discoverd and check if there are configs. + // Check if already discovered and check if there are configs. const discoverKey = this.getDiscoverKey(entity); const discover = force || !this.discovered[discoverKey]; @@ -1210,7 +1210,7 @@ export default class HomeAssistant extends Extension { const discoveryMatch = data.topic.match(discoveryRegex); const isDeviceAutomation = discoveryMatch && discoveryMatch[1] === 'device_automation'; if (discoveryMatch) { - // Clear outdated discovery configs and remember already discoverd device_automations + // Clear outdated discovery configs and remember already discovered device_automations let message: KeyValue = null; try { message = JSON.parse(data.message); diff --git a/lib/util/settings.schema.json b/lib/util/settings.schema.json index 7c9ff6283..97e8d53f9 100644 --- a/lib/util/settings.schema.json +++ b/lib/util/settings.schema.json @@ -344,7 +344,7 @@ "enum": ["console", "file", "syslog"] }, "title": "Log output", - "description": "Output location of the log, leave empty to supress logging" + "description": "Output location of the log, leave empty to suppress logging" }, "log_directory": { "type": "string", @@ -468,7 +468,7 @@ "homeassistant_legacy_triggers": { "type": "boolean", "title": "Home Assistant legacy triggers", - "description": "Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd", + "description": "Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discovered", "default": true }, "log_syslog": { diff --git a/lib/util/settings.ts b/lib/util/settings.ts index a538bb8dc..0c6aa1259 100644 --- a/lib/util/settings.ts +++ b/lib/util/settings.ts @@ -138,7 +138,7 @@ const defaults: RecursivePartial = { /** * Home Assistant legacy triggers, when enabled: * - Zigbee2mqt will send an empty 'action' or 'click' after one has been send - * - A 'sensor_action' and 'sensor_click' will be discoverd + * - A 'sensor_action' and 'sensor_click' will be discovered */ homeassistant_legacy_triggers: true,