configuration.yaml, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-08-22 03:01:49 +00:00
parent 97e3f4e1d5
commit 62fb8e2a4a
2 changed files with 17 additions and 48 deletions
-31
View File
@@ -388,37 +388,6 @@ mqtt:
- "041acd1efce0452ca0a0360eeb89c3b4"
name: "OctoPrint"
- 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) }}"
unit_of_measurement: "%"
icon: mdi:heart-pulse
availability:
- topic: "octoPrint/mqtt"
payload_available: "connected"
payload_not_available: "disconnected"
device:
identifiers:
- "041acd1efce0452ca0a0360eeb89c3b4"
name: "OctoPrint"
binary_sensor:
- 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' }}"
device_class: problem
icon: mdi:alert
availability:
- topic: "octoPrint/mqtt"
payload_available: "connected"
payload_not_available: "disconnected"
device:
identifiers:
- "041acd1efce0452ca0a0360eeb89c3b4"
name: "OctoPrint"
emulated_hue:
host_ip: 192.168.1.140
advertise_ip: 192.168.1.140
+17 -17
View File
@@ -4,7 +4,7 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 122.5,
"voltage": 123,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.13,
@@ -27,7 +27,7 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 1.9,
"power": 2.4,
"current": 0.1,
"energy": 32.12,
"power_factor": 0.2,
@@ -74,11 +74,11 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 121.4,
"voltage": 120.9,
"state": "ON",
"ac_frequency": 60,
"energy": 128.11,
"power": 102.8,
"energy": 128.12,
"power": 101.6,
"current": 0.9,
"power_factor": 0.94,
"update": {
@@ -95,13 +95,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 121.5,
"energy": 59.97,
"voltage": 122,
"energy": 59.98,
"state": "ON",
"power": 53.4,
"current": 0.61,
"power": 80,
"current": 0.81,
"ac_frequency": 60,
"power_factor": 0.68,
"power_factor": 0.81,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,7 +114,7 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 122.7,
"voltage": 124.6,
"ac_frequency": 60,
"energy": 8.78,
"current": 0.01,
@@ -136,14 +136,14 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 123,
"energy": 19.87,
"voltage": 118.4,
"energy": 19.95,
"countdown_to_turn_on": 0,
"state": "ON",
"current": 0.18,
"current": 14.24,
"ac_frequency": 60,
"power": 21.4,
"power_factor": 0.93,
"power": 1669.7,
"power_factor": 0.97,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -172,7 +172,7 @@
"0xffffb40e060893d8": {
"state": "ON",
"led_brightness": 100,
"voltage": 122.5,
"voltage": 123,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"energy": 3.18,