Last Updated:

Last Changed Display in Glance Card

S.C.O.R.E.ConvenienceDevice Control

Overview

This capability allows users to see the last changed timestamp for devices directly within the glance card in Home Assistant. It provides valuable context for device states, helping users quickly identify when settings or states were last altered, enhancing the overall home capability experience.

Convenience icon

Benefits

  • Users can easily track changes to devices, improving transparency and management.
  • Reduces confusion about device states by providing a clear history of changes.
  • Facilitates quicker troubleshooting by indicating when issues may have arisen.

Intent

The purpose of this capability is to improve user awareness of device status changes by displaying the last modified time in glance cards. This leads to more informed decisions regarding home capability and device management.

Preconditions

  • Home Assistant is installed and running.
  • Devices are integrated into Home Assistant with appropriate capabilities set up.
  • User has access to the glance card feature in their dashboard.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Sonos.
  • Device installed and reachable: Sonos | Sonos One.

Actors

  • Homeowner
  • Family member
  • Guest

Trigger

The last changed timestamp is updated whenever a change is made to a device’s state or configuration.

Workflow Diagram

flowchart TD
    A[Device State Change] -->|update| B{{Is Device Integrated?}}
    B -->|Yes| C[Display Last Changed Timestamp]
    C --> D[Update Glance Card]
    B -->|No| E[Exit]

Workflow Description

1. Device State Change

A user or capability changes the state of a device, such as turning on a light or adjusting a thermostat.

2. Update Last Changed Timestamp

The system records the current timestamp as the last changed time for the affected device.

3. Check Device Integration

The system verifies if the device is properly integrated with Home Assistant.

4. Display in Glance Card

The last changed timestamp is displayed in the associated glance card on the dashboard.

5. User Review

Users can now view the last changed time to make informed decisions on device management.

Postconditions

The glance card now displays the last changed timestamp, providing users with up-to-date information about device states.

Optional Enhancements

  • Add functionality to filter devices by last changed time.
  • Implement notifications for significant device changes.
  • Allow users to customize the display format of the timestamp.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantSonos, RokuSonos | Sonos One, Roku | Roku Ultra

Source Examples