refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -79,7 +79,7 @@ export async function getHomeAssistantServices(
|
||||
for (const domainService of domainServices) {
|
||||
for (const [serviceID, value] of Object.entries(domainService.services)) {
|
||||
const serviceProperties = value as IDataObject;
|
||||
const serviceName = serviceProperties.description || serviceID;
|
||||
const serviceName = serviceProperties.description ?? serviceID;
|
||||
returnData.push({
|
||||
name: serviceName as string,
|
||||
value: serviceID,
|
||||
|
||||
Reference in New Issue
Block a user