Skip to content

Commit

Permalink
HA discovery: fix device_class enum for 2024.09 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nn0 committed Sep 5, 2024
1 parent 3b1c0d1 commit 82843bf
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 82843bf

Please sign in to comment.