Is this the automation trace? I had to download it from the trace page, yeah?
{
"trace": {
"last_step": "action/6/if/condition/0",
"run_id": "184eb300e6cda0b248aaf6cc4ec36bab",
"state": "stopped",
"script_execution": "finished",
"timestamp": {
"start": "2023-09-07T04:12:22.209882+00:00",
"finish": "2023-09-07T04:12:22.471921+00:00"
},
"domain": "automation",
"item_id": "1692319796704",
"trigger": "numeric state of sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"trace": {
"trigger/4": [
{
"path": "trigger/4",
"timestamp": "2023-09-07T04:12:22.209983+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.automation_56_2",
"state": "on",
"attributes": {
"id": "1692319796704",
"last_triggered": "2023-09-07T04:12:14.209863+00:00",
"mode": "single",
"current": 0,
"friendly_name": "Ceiling Fan - set tracked power state"
},
"last_changed": "2023-08-26T12:47:50.571387+00:00",
"last_updated": "2023-09-07T04:12:14.475824+00:00",
"context": {
"id": "01H9PXECG12AQHMPHJ5PW6WQ7W",
"parent_id": "01H9PXEAHGJMC5GR816F1F7SM9",
"user_id": null
}
},
"trigger": {
"id": "Power 5",
"idx": "4",
"alias": null,
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"below": 25,
"above": 15,
"from_state": {
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"state": "15.0",
"attributes": {
"state_class": "measurement",
"unit_of_measurement": "W",
"device_class": "power",
"friendly_name": "Shelly Main Bedroom Overhead Fan switch_0 power"
},
"last_changed": "2023-09-07T04:12:19.225077+00:00",
"last_updated": "2023-09-07T04:12:19.225077+00:00",
"context": {
"id": "01H9PXEHCSTRCRYXTT37Z8YJSK",
"parent_id": null,
"user_id": null
}
},
"to_state": {
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"state": "18.1",
"attributes": {
"state_class": "measurement",
"unit_of_measurement": "W",
"device_class": "power",
"friendly_name": "Shelly Main Bedroom Overhead Fan switch_0 power"
},
"last_changed": "2023-09-07T04:12:20.208167+00:00",
"last_updated": "2023-09-07T04:12:20.208167+00:00",
"context": {
"id": "01H9PXEJBG7CJKEQ4YCH0YNJWS",
"parent_id": null,
"user_id": null
}
},
"for": {
"__type": "<class 'datetime.timedelta'>",
"total_seconds": 2
},
"description": "numeric state of sensor.shelly_main_bedroom_overhead_fan_switch_0_power"
}
}
}
],
"action/0": [
{
"path": "action/0",
"timestamp": "2023-09-07T04:12:22.210890+00:00",
"changed_variables": {
"context": {
"id": "01H9PXEMA1X9GDK075VWZFNNGC",
"parent_id": "01H9PXEJBG7CJKEQ4YCH0YNJWS",
"user_id": null
}
}
}
],
"action/0/if": [
{
"path": "action/0/if",
"timestamp": "2023-09-07T04:12:22.210943+00:00",
"result": {
"result": false
}
}
],
"action/0/if/condition/0": [
{
"path": "action/0/if/condition/0",
"timestamp": "2023-09-07T04:12:22.210967+00:00",
"result": {
"result": false
}
}
],
"action/1": [
{
"path": "action/1",
"timestamp": "2023-09-07T04:12:22.211023+00:00"
}
],
"action/1/if": [
{
"path": "action/1/if",
"timestamp": "2023-09-07T04:12:22.211059+00:00",
"result": {
"result": false
}
}
],
"action/1/if/condition/0": [
{
"path": "action/1/if/condition/0",
"timestamp": "2023-09-07T04:12:22.211079+00:00",
"result": {
"result": false
}
}
],
"action/2": [
{
"path": "action/2",
"timestamp": "2023-09-07T04:12:22.211127+00:00"
}
],
"action/2/if": [
{
"path": "action/2/if",
"timestamp": "2023-09-07T04:12:22.211173+00:00",
"result": {
"result": false
}
}
],
"action/2/if/condition/0": [
{
"path": "action/2/if/condition/0",
"timestamp": "2023-09-07T04:12:22.211197+00:00",
"result": {
"result": false
}
}
],
"action/3": [
{
"path": "action/3",
"timestamp": "2023-09-07T04:12:22.211245+00:00"
}
],
"action/3/if": [
{
"path": "action/3/if",
"timestamp": "2023-09-07T04:12:22.211279+00:00",
"result": {
"result": false
}
}
],
"action/3/if/condition/0": [
{
"path": "action/3/if/condition/0",
"timestamp": "2023-09-07T04:12:22.211298+00:00",
"result": {
"result": false
}
}
],
"action/4": [
{
"path": "action/4",
"timestamp": "2023-09-07T04:12:22.211342+00:00",
"result": {
"choice": "then"
}
}
],
"action/4/if": [
{
"path": "action/4/if",
"timestamp": "2023-09-07T04:12:22.211375+00:00",
"result": {
"result": true
}
}
],
"action/4/if/condition/0": [
{
"path": "action/4/if/condition/0",
"timestamp": "2023-09-07T04:12:22.211394+00:00",
"result": {
"result": true
}
}
],
"action/4/then/0": [
{
"path": "action/4/then/0",
"timestamp": "2023-09-07T04:12:22.211615+00:00",
"result": {
"params": {
"domain": "bond",
"service": "set_fan_speed_tracked_state",
"service_data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 83
},
"target": {}
},
"running_script": false
}
}
],
"action/5": [
{
"path": "action/5",
"timestamp": "2023-09-07T04:12:22.471039+00:00"
}
],
"action/5/if": [
{
"path": "action/5/if",
"timestamp": "2023-09-07T04:12:22.471099+00:00",
"result": {
"result": false
}
}
],
"action/5/if/condition/0": [
{
"path": "action/5/if/condition/0",
"timestamp": "2023-09-07T04:12:22.471122+00:00",
"result": {
"result": false
}
}
],
"action/6": [
{
"path": "action/6",
"timestamp": "2023-09-07T04:12:22.471192+00:00"
}
],
"action/6/if": [
{
"path": "action/6/if",
"timestamp": "2023-09-07T04:12:22.471232+00:00",
"result": {
"result": false
}
}
],
"action/6/if/condition/0": [
{
"path": "action/6/if/condition/0",
"timestamp": "2023-09-07T04:12:22.471255+00:00",
"result": {
"result": false
}
}
]
},
"config": {
"id": "1692319796704",
"alias": "Ceiling Fan - set tracked power state",
"description": "",
"trigger": [
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"above": 1.6,
"below": 3,
"id": "Power 1"
},
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"above": 3,
"below": 5.5,
"id": "Power 2"
},
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"above": 5.5,
"below": 10,
"id": "Power 3"
},
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"above": 10,
"below": 15,
"id": "Power 4"
},
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"above": 15,
"below": 25,
"id": "Power 5"
},
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"above": 25,
"below": 40,
"id": "Power 6"
},
{
"platform": "numeric_state",
"entity_id": "sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"for": {
"hours": 0,
"minutes": 0,
"seconds": 2
},
"below": 1.6,
"id": "Power 0"
}
],
"condition": [],
"action": [
{
"if": [
{
"condition": "trigger",
"id": [
"Power 1"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 16
}
}
]
},
{
"if": [
{
"condition": "trigger",
"id": [
"Power 2"
]
},
{
"condition": "trigger",
"id": [
"Power 2"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 33
}
}
]
},
{
"if": [
{
"condition": "trigger",
"id": [
"Power 3"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 50
}
}
]
},
{
"if": [
{
"condition": "trigger",
"id": [
"Power 4"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 66
}
}
]
},
{
"if": [
{
"condition": "trigger",
"id": [
"Power 5"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 83
}
}
]
},
{
"if": [
{
"condition": "trigger",
"id": [
"Power 6"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 100
}
}
]
},
{
"if": [
{
"condition": "trigger",
"id": [
"Power 0"
]
}
],
"then": [
{
"service": "bond.set_fan_speed_tracked_state",
"data": {
"entity_id": "fan.ceiling_fan_1",
"speed": 0
}
}
]
}
],
"mode": "single"
},
"blueprint_inputs": null,
"context": {
"id": "01H9PXEMA1X9GDK075VWZFNNGC",
"parent_id": "01H9PXEJBG7CJKEQ4YCH0YNJWS",
"user_id": null
}
},
"logbookEntries": [
{
"name": "Ceiling Fan - set tracked power state",
"message": "triggered by numeric state of sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"source": "numeric state of sensor.shelly_main_bedroom_overhead_fan_switch_0_power",
"entity_id": "automation.automation_56_2",
"context_id": "01H9PXEMA1X9GDK075VWZFNNGC",
"when": 1694059942.210035,
"domain": "automation"
}
]
}