We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Cannot read properties of null (reading 'toString')
1 parent 6905c10 commit f83af1dCopy full SHA for f83af1d
lib/extension/homeassistant.ts
@@ -1069,7 +1069,7 @@ export default class HomeAssistant extends Extension {
1069
discoveryEntries.push({
1070
type: 'event',
1071
object_id: firstExpose.property,
1072
- mockProperties: [{property: firstExpose.property, value: null}],
+ mockProperties: [],
1073
discovery_payload: {
1074
name: endpoint ? /* istanbul ignore next */ `${firstExpose.label} ${endpoint}` : firstExpose.label,
1075
state_topic: true,
0 commit comments