Hi, @romrom21
I checked your profile 29a6f358-b677-4918-9fa5-437aa9e61a26 and I see it doesn’t include the capability “refresh” which is “triggered” when we pull down the screen. It sends a “stateRefreshRequest” where you can send the new values.
To trigger this stateRefresh automatically, you could create a Rule that calls the refresh capability every 15 mins for example:
{
"name": "Refresh Interval",
"actions": [
{
"every": {
"interval": {
"value": {
"integer": 15
},
"unit": "Minute"
},
"actions": [
{
"command": {
"devices": [
"deviceId"
],
"commands": [
{
"component": "main",
"capability": "refresh",
"command": "refresh"
}
]
}
}
]
}
}
]
}
Or, create a SmartApp that creates a schedule and calls the corresponding API to update the capabilities’ status.