Skip to content

Commit

Permalink
Merge pull request #25169 from Koenkk/fix/event-entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored Dec 11, 2024
2 parents ec13ebd + 6bde48b commit bf340b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extension/homeassistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bf340b5

Please sign in to comment.