Just starting using this and it's great, but I noticed that the icon for my sensors was not being updated. Looking at the state and attribute info in HA, I can see that the icon value is being assigned to the 'state' attribute:
I think the problem is at line 9 in HomeAssistantEntityStateUpdateAttributes.cs:
public class HomeAssistantEntityStateUpdateAttributes
{
[JsonProperty(PropertyName = "friendly_name")]
public string FriendlyName { get; set; }
[JsonProperty(PropertyName = "state")]
public string Icon { get; set; }
}
Just starting using this and it's great, but I noticed that the icon for my sensors was not being updated. Looking at the state and attribute info in HA, I can see that the icon value is being assigned to the 'state' attribute:
I think the problem is at line 9 in HomeAssistantEntityStateUpdateAttributes.cs:
Should that "state" be "icon" instead?