Package crackers.hassk
Class EntityState
-
- All Implemented Interfaces:
public final class EntityState
Data about an entity's current state.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
entityId
private final String
state
private final ZonedDateTime
changed
private final String
attributes
-
Constructor Summary
Constructors Constructor Description EntityState(String entityId, String state, ZonedDateTime changed, String attributes)
-
Method Summary
Modifier and Type Method Description final String
getEntityId()
ibid final String
getState()
the state, based on the entity final ZonedDateTime
getChanged()
when it was changed on HA final String
getAttributes()
-
-
Constructor Detail
-
EntityState
EntityState(String entityId, String state, ZonedDateTime changed, String attributes)
-
-
Method Detail
-
getEntityId
final String getEntityId()
ibid
-
getChanged
final ZonedDateTime getChanged()
when it was changed on HA
-
getAttributes
final String getAttributes()
-
-
-
-