*/
@Override
protected void buildActions(final List<String> list) {
super.buildActions(list);
Door door = (Door) entity;
if (door != null && door.isOpen()) {
list.add(ActionType.CLOSE.getRepresentation());
} else {
list.add(ActionType.OPEN.getRepresentation());
}