configuration.yaml, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-08-14 15:18:01 +00:00
parent 17149204a9
commit 7cd94a03e4
2 changed files with 20 additions and 20 deletions
+5 -5
View File
@@ -332,7 +332,7 @@ rest:
# OctoPrint physical position (holds last value when idle; raw discovery sensor zeroes on currentZ:null)
mqtt:
sensor:
- name: "OctoPrint Position Z"
- name: "Position Z"
unique_id: octoprint_position_z
state_topic: "octoPrint/event/PositionUpdate"
value_template: "{{ value_json.z }}"
@@ -348,7 +348,7 @@ mqtt:
- "041acd1efce0452ca0a0360eeb89c3b4"
name: "OctoPrint"
- name: "OctoPrint Print File Size"
- name: "Print File Size"
unique_id: octoprint_print_file_size
state_topic: "octoPrint/progress/printing"
value_template: "{{ value_json.printer_data.job.file.size | int(0) }}"
@@ -364,7 +364,7 @@ mqtt:
- "041acd1efce0452ca0a0360eeb89c3b4"
name: "OctoPrint"
- name: "OctoPrint Print User"
- name: "Print User"
unique_id: octoprint_print_user
state_topic: "octoPrint/progress/printing"
value_template: "{{ value_json.printer_data.job.user | default('') }}"
@@ -378,7 +378,7 @@ mqtt:
- "041acd1efce0452ca0a0360eeb89c3b4"
name: "OctoPrint"
- name: "OctoPrint Serial Health Ratio"
- name: "Serial Health Ratio"
unique_id: octoprint_serial_health_ratio
state_topic: "octoPrint/progress/printing"
value_template: "{{ value_json.printer_data.health.ratio | float(0) }}"
@@ -394,7 +394,7 @@ mqtt:
name: "OctoPrint"
binary_sensor:
- name: "OctoPrint Serial Health Critical"
- name: "Serial Health Critical"
unique_id: octoprint_serial_health_critical
state_topic: "octoPrint/progress/printing"
value_template: "{{ 'ON' if value_json.printer_data.health.critical else 'OFF' }}"
+15 -15
View File
@@ -27,8 +27,8 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.6,
"current": 0.12,
"power": 2.4,
"current": 0.11,
"energy": 28.61,
"power_factor": 0.18,
"update": {
@@ -47,7 +47,7 @@
"countdown_to_turn_off": 0,
"voltage": 118.1,
"countdown_to_turn_on": 0,
"energy": 55.95,
"energy": 55.96,
"power_factor": 0.9,
"ac_frequency": 60,
"update": {
@@ -58,8 +58,8 @@
"latest_release_notes": null
},
"linkquality": 134,
"power": 83.9,
"current": 0.82,
"power": 82.8,
"current": 0.77,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
@@ -74,13 +74,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 117.6,
"voltage": 117.1,
"state": "ON",
"ac_frequency": 60,
"energy": 115.09,
"power": 1.4,
"current": 0.87,
"power_factor": 0.42,
"power": 99.2,
"current": 0.92,
"power_factor": 0.95,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -96,12 +96,12 @@
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 118.8,
"energy": 51.66,
"energy": 51.67,
"state": "ON",
"power": 75.3,
"current": 0.8,
"power": 54.5,
"current": 0.59,
"ac_frequency": 60,
"power_factor": 0.92,
"power_factor": 0.77,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 119.1,
"voltage": 118.6,
"energy": 17.63,
"countdown_to_turn_on": 0,
"state": "ON",
@@ -187,7 +187,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
},
"power_factor": 0.06,
"power_factor": 0.07,
"power": 0.8
},
"0xa4c1380d0679ffff": {