Skip to content

Commit

Permalink
Merge pull request #7 from Cyberbeni/entity-name-fix
Browse files Browse the repository at this point in the history
Fix entity name having presence twice
  • Loading branch information
Cyberbeni authored Nov 3, 2024
2 parents 18a5730 + a8207f0 commit c94f808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Wiring/App/App+Presence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ extension App {
availabilityTopic: mqttClient.stateTopic,
device: .init(
identifiers: stateTopic,
name: name
name: nil
),
deviceClass: .presence,
name: nil,
name: name,
objectId: name,
stateTopic: stateTopic,
uniqueId: stateTopic.replacingOccurrences(of: "/", with: "_")
Expand Down

0 comments on commit c94f808

Please sign in to comment.