Custom component properties

With a custom component, is it possible to view the properties (i.e. functions decorated with @property) in the UI? For example, in the code below, would it be possible to make ‘room’ and ‘last_wakeup’ properties appear in the standard UI, alongside the usual entity_id, friendly_name, etc. properties?

class StellaZ(Entity):
    """StellaZ instance"""

    def __init__(self, name="StellaZ thermostat",room="Kitchen",id=-1):
        """Initialize the sensor."""
        self._name = name
        self._room = room
        self._id = id
        self._state = 'Initialising'
        self._last_wakeup = 'Never'

    @property
    def name(self):
        """Return the name of the sensor."""
        return self._name
        
    @property
    def room(self):
        """Return the room that the thermostat is in."""
        return self._room
          
    @property
    def last_wakeup(self):
        """Return the name of the sensor."""
        return self._last_wakeup

    @property
    def state(self):
        return self._state

Yes, you have to override the device_state_attributes method and return a simple dictionary - something like {'Room': self._room, ... }. The default UI will display the key-value-pairs in rows in the more info dialogue.

Great, thank you