AGENTS.md, zigbee2mqtt/state.json
This commit is contained in:
@@ -172,6 +172,7 @@ Real-time interaction with the running instance:
|
|||||||
- `call_service` — control devices (with confirmation), and read from services that answer with data (`recorder.get_statistics`, `weather.get_forecasts`, `calendar.get_events`, `todo.get_items`); the response comes back automatically
|
- `call_service` — control devices (with confirmation), and read from services that answer with data (`recorder.get_statistics`, `weather.get_forecasts`, `calendar.get_events`, `todo.get_items`); the response comes back automatically
|
||||||
- `get_history`, `get_logbook`, `get_calendar_events` — historical and calendar data; supplied timestamps must include `Z` or a UTC offset. For every recorded value, use `get_history` with `response_format: "values"`, then pass its exact `meta.continuation` object until `has_more` is false; `numeric_summary` covers the complete response.
|
- `get_history`, `get_logbook`, `get_calendar_events` — historical and calendar data; supplied timestamps must include `Z` or a UTC offset. For every recorded value, use `get_history` with `response_format: "values"`, then pass its exact `meta.continuation` object until `has_more` is false; `numeric_summary` covers the complete response.
|
||||||
- `get_devices`, `get_areas` — device and area registry
|
- `get_devices`, `get_areas` — device and area registry
|
||||||
|
- `set_device_area`, `set_entity_area` — approved room assignments through Home Assistant's registry API (full profile; use exact IDs from read tools)
|
||||||
- `write_config_safe`, `validate_config`, `check_config_syntax` — safe config writing with validation, content protection and backup
|
- `write_config_safe`, `validate_config`, `check_config_syntax` — safe config writing with validation, content protection and backup
|
||||||
- `get_integration_docs`, `get_breaking_changes` — current syntax, before writing any integration configuration
|
- `get_integration_docs`, `get_breaking_changes` — current syntax, before writing any integration configuration
|
||||||
- `diagnose_entity`, `get_error_log`, `detect_anomalies`, `get_suggestions` — diagnosis
|
- `diagnose_entity`, `get_error_log`, `detect_anomalies`, `get_suggestions` — diagnosis
|
||||||
|
|||||||
+14
-14
@@ -27,10 +27,10 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"power": 137.9,
|
"power": 2.1,
|
||||||
"current": 3.39,
|
"current": 0.1,
|
||||||
"energy": 46.33,
|
"energy": 46.33,
|
||||||
"power_factor": 0.28,
|
"power_factor": 0.18,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 121.4,
|
"voltage": 121.4,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 90.31,
|
"energy": 90.32,
|
||||||
"power_factor": 0.2,
|
"power_factor": 0.2,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 120,
|
"linkquality": 120,
|
||||||
"power": 89.6,
|
"power": 85.2,
|
||||||
"current": 0.83,
|
"current": 0.83,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 120.2,
|
"voltage": 119.6,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 184.45,
|
"energy": 184.45,
|
||||||
"power": 3.7,
|
"power": 98,
|
||||||
"current": 0.05,
|
"current": 0.87,
|
||||||
"power_factor": 0.36,
|
"power_factor": 0.94,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -98,8 +98,8 @@
|
|||||||
"voltage": 121,
|
"voltage": 121,
|
||||||
"energy": 91.46,
|
"energy": 91.46,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 31.6,
|
"power": 39.6,
|
||||||
"current": 0.35,
|
"current": 0.42,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.74,
|
"power_factor": 0.74,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
"energy": 12.12,
|
"energy": 12.12,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
"power": 0.2,
|
"power": 0.2,
|
||||||
"power_factor": 0.11,
|
"power_factor": 0.22,
|
||||||
"linkquality": 87,
|
"linkquality": 87,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
"0xffffb40e0608864e": {
|
"0xffffb40e0608864e": {
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 122.2,
|
"voltage": 121.7,
|
||||||
"energy": 28.84,
|
"energy": 28.84,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
},
|
},
|
||||||
"0xa4c1380d0679ffff": {
|
"0xa4c1380d0679ffff": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"temperature": 24,
|
"temperature": 24.1,
|
||||||
"temperature_units": "celsius",
|
"temperature_units": "celsius",
|
||||||
"temperature_calibration": 0,
|
"temperature_calibration": 0,
|
||||||
"update": {
|
"update": {
|
||||||
|
|||||||
Reference in New Issue
Block a user