Skip to content

Commit

Permalink
fix(linux): add "temp_" prefix to temp sensor entity ids
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Oct 12, 2023
1 parent 4815197 commit c6480f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/linux/tempSensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (s *tempSensor) Name() string {
}

func (s *tempSensor) ID() string {
return s.id
return "temp_" + s.id
}

func (s *tempSensor) Attributes() interface{} {
Expand Down

0 comments on commit c6480f3

Please sign in to comment.