3 files
This commit is contained in:
@@ -3261,3 +3261,5 @@
|
||||
{"timestamp": "2026-08-30T01:09:41.338467+00:00", "tool_name": "ha_search", "parameters": {"query": "filter", "domain_filter": null, "area_filter": null, "search_types": ["automation"], "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 31595.40581703186, "success": true, "error_message": null, "response_size_bytes": 2719, "user_context": null}
|
||||
{"timestamp": "2026-08-30T01:09:58.888875+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.filter_plug_health_alert"}, "execution_time_ms": 147.74012565612793, "success": true, "error_message": null, "response_size_bytes": 1466, "user_context": null}
|
||||
{"timestamp": "2026-08-30T01:10:36.863634+00:00", "tool_name": "ha_search", "parameters": {"query": "0xffffb40e060893d8", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 29442.686319351196, "success": true, "error_message": null, "response_size_bytes": 2037, "user_context": null}
|
||||
{"timestamp": "2026-08-30T01:12:23.902563+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.filter_plug_health_alert", "python_transform": "config['description'] = \"Notify (mobile push + persistent notification) when the Filter plug goes unavailable for 2+ minutes.\"; config['triggers'] = [t for t in config['triggers'] if t.get('id') != 'weak']; config['actions'][0]['choose'] = [c for c in config['actions'][0]['choose'] if c['conditions'][0].get('id') == 'offline']", "config_hash": "435aef5cf161e1f7", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 900.0487327575684, "success": true, "error_message": null, "response_size_bytes": 60079, "user_context": null}
|
||||
{"timestamp": "2026-08-30T01:12:26.012713+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.filter_plug_health_alert"}, "execution_time_ms": 162.12749481201172, "success": true, "error_message": null, "response_size_bytes": 882, "user_context": null}
|
||||
|
||||
+1
-20
@@ -3745,8 +3745,7 @@
|
||||
- id: '1787941729593'
|
||||
alias: Filter plug health alert
|
||||
description: Notify (mobile push + persistent notification) when the Filter plug
|
||||
goes unavailable for 2+ minutes, or its Zigbee linkquality stays below 60 for
|
||||
5+ minutes.
|
||||
goes unavailable for 2+ minutes.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: switch.filter
|
||||
@@ -3754,12 +3753,6 @@
|
||||
for:
|
||||
minutes: 2
|
||||
id: offline
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.0xffffb40e060893d8_linkquality
|
||||
below: 60
|
||||
for:
|
||||
minutes: 5
|
||||
id: weak
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -3774,16 +3767,4 @@
|
||||
data:
|
||||
title: Filter plug offline
|
||||
message: Filter plug offline - unavailable for 2+ minutes. Check the plug.
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: weak
|
||||
sequence:
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: Filter plug weak signal
|
||||
message: Filter plug weak signal - linkquality below 60 for 5+ minutes.
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: Filter plug weak signal
|
||||
message: Filter plug weak signal - linkquality below 60 for 5+ minutes.
|
||||
mode: single
|
||||
|
||||
+17
-27
@@ -27,7 +27,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"power": 2.2,
|
||||
"current": 0.1,
|
||||
"energy": 34.8,
|
||||
"power_factor": 0.16,
|
||||
@@ -48,7 +48,7 @@
|
||||
"voltage": 123.4,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 69.59,
|
||||
"power_factor": 0.88,
|
||||
"power_factor": 0.2,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -67,20 +67,20 @@
|
||||
"contact": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 87,
|
||||
"linkquality": 94,
|
||||
"voltage": 3100
|
||||
},
|
||||
"0xffffb40e060762a4": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 122.6,
|
||||
"voltage": 122.5,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 141.24,
|
||||
"power": 0.7,
|
||||
"current": 0.06,
|
||||
"power_factor": 0.4,
|
||||
"power": 100.7,
|
||||
"current": 0.93,
|
||||
"power_factor": 0.93,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -88,7 +88,7 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 116,
|
||||
"linkquality": 112,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xffffb40e0607b680": {
|
||||
@@ -98,10 +98,10 @@
|
||||
"voltage": 123.8,
|
||||
"energy": 67.28,
|
||||
"state": "ON",
|
||||
"power": 27.6,
|
||||
"power": 27.5,
|
||||
"current": 0.35,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.63,
|
||||
"power_factor": 0.71,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -109,7 +109,7 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 98,
|
||||
"linkquality": 102,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
@@ -119,8 +119,8 @@
|
||||
"energy": 9.46,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 112,
|
||||
"power_factor": 0.22,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -143,7 +143,7 @@
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.4,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 27.1,
|
||||
"temperature": 26.9,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
@@ -187,7 +187,7 @@
|
||||
"contact": false,
|
||||
"battery_low": false,
|
||||
"battery": 100,
|
||||
"linkquality": 109,
|
||||
"linkquality": 112,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 36,
|
||||
@@ -227,7 +227,7 @@
|
||||
"occupancy": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 91,
|
||||
"linkquality": 94,
|
||||
"voltage": 3100,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -251,15 +251,5 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/Motion_Sensor_PROD_OTA_V79_v1.00.79.ota",
|
||||
"latest_release_notes": null
|
||||
}
|
||||
},
|
||||
"0xffffb40e060893d8": {
|
||||
"state": "OFF",
|
||||
"voltage": 1244,
|
||||
"ac_frequency": 60,
|
||||
"energy": 258976,
|
||||
"current": 0,
|
||||
"power": 0,
|
||||
"power_factor": 0,
|
||||
"linkquality": 98
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user