Skip to content

ProximityEntity state should be numeric #715

@rumbu13

Description

@rumbu13

Problem: State for ProximityEntity is a string

On the contrary, it is always measured in km, miles or other distance units.

Solution: Alter Code Generator

Use NumericEntityState to define ProximityEntity:

public record ProximityEntity : Entity<ProximityEntity, NumericEntityState<ProximityAttributes>, ProximityAttributes>

More Info

Reference: Proximity Integration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions