This query returns a list of when an item changes its state to a value you specify.
- API endpoint slug
- openhab.history_of_item_state_changes
- Runtime method
- performQuery("openhab.history_of_item_state_changes")
Query fields
- Label
- Which item?
- Slug
- item
- Required
- true
- Can have default value
- false
- Label
- Changes to
- Slug
- status
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- item
- Filter code
- Openhab.historyOfItemStateChanges.Item
- Type
- String
- Example
- DemoSwitch
- Slug
- status
- Filter code
- Openhab.historyOfItemStateChanges.Status
- Type
- String
- Example
- ON
- Slug
- created_at
- Filter code
- Openhab.historyOfItemStateChanges.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00