Skip to content

Commit

Permalink
Revert "Revert "tweak: humidity to satisfy HomeKit""
Browse files Browse the repository at this point in the history
This reverts commit 055a27d.
  • Loading branch information
mewejo committed Feb 6, 2023
1 parent 055a27d commit bdc33cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/moisture_sensor_hass_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func makeMoistureSensorConfiugurationForDevice(device *HassDevice) moistureSenso
c := moistureSensorHassConfiguration{}
c.StateTopic = "state"
c.AvailabilityTopic = device.GetFqAvailabilityTopic()
c.DeviceClass = "moisture"
c.DeviceClass = "humidity"
c.UnitOfMeasurement = "%"
c.PayloadAvailable = device.PayloadAvailable
c.PayloadNotAvailable = device.PayloadNotAvailable
Expand Down

0 comments on commit bdc33cd

Please sign in to comment.