Skip to content

Commit

Permalink
Merge pull request #124 from b3nn0/ha-2024.09-fixes
Browse files Browse the repository at this point in the history
HA discovery: fix device_class enum for 2024.09 compatibility
  • Loading branch information
zivillian authored Sep 5, 2024
2 parents 3b1c0d1 + 82843bf commit e262be3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ism7mqtt/HomeAssistant/HaDiscovery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ private string GetHomeAssistantType(ParameterDescriptor descriptor)
options.Add((JsonNode)value.Value);
}
yield return ("options", options);
yield return ("device_class", "enum");

}
break;
Expand Down

0 comments on commit e262be3

Please sign in to comment.