@AlecD
I only have a template for you with which you can check how long it has been since its last change.
If you put a current state node in front of this template node I think you will kinda achieve what you are looking for.
{{(as_timestamp(now())-as_timestamp(states.person.username.last_updated)) > 172800 }}
[
{
"id": "5e11ce76.5b512",
"type": "api-render-template",
"z": "c758b7eb.b557c8",
"name": "Last Changed?",
"server": "d0bd252f.2cce48",
"template": "{{(as_timestamp(now())-as_timestamp(states.person.username.last_updated)) > 84600 }}",
"resultsLocation": "payload",
"resultsLocationType": "msg",
"templateLocation": "template",
"templateLocationType": "msg",
"x": 700,
"y": 900,
"wires": [
[
"434fdb7c.9598f4"
]
]
},
{
"id": "434fdb7c.9598f4",
"type": "switch",
"z": "c758b7eb.b557c8",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "True",
"vt": "str"
},
{
"t": "eq",
"v": "False",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 850,
"y": 900,
"wires": [
[],
[]
]
},
{
"id": "d0bd252f.2cce48",
"type": "server",
"name": "Home-Assistant",
"legacy": false,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true
}
]