diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index 531af427c1..b65f797f0d 100644 --- a/lib/extension/homeassistant.ts +++ b/lib/extension/homeassistant.ts @@ -1069,7 +1069,7 @@ export default class HomeAssistant extends Extension { discoveryEntries.push({ type: 'event', object_id: firstExpose.property, - mockProperties: [{property: firstExpose.property, value: null}], + mockProperties: [], discovery_payload: { name: endpoint ? /* istanbul ignore next */ `${firstExpose.label} ${endpoint}` : firstExpose.label, state_topic: true,