.storage/lovelace.sparkx_i7, zigbee2mqtt/state.json
This commit is contained in:
@@ -776,6 +776,8 @@
|
||||
"icon": "mdi:printer-3d",
|
||||
"type": "heading"
|
||||
},
|
||||
{
|
||||
"cards": [
|
||||
{
|
||||
"entity": "sensor.sparkx_i7_active_filament_slot",
|
||||
"grid_options": {
|
||||
@@ -785,6 +787,22 @@
|
||||
"name": "Active Slot",
|
||||
"type": "tile"
|
||||
},
|
||||
{
|
||||
"entity": "sensor.sparkx_i7_active_filament_slot",
|
||||
"icon": "mdi:palette",
|
||||
"icon_color": "{% set color = state_attr('sensor.sparkx_i7_active_filament_slot', 'color') | default('') | string %}{% set core = color | replace('#', '') %}{% if core | length >= 6 %}#{{ core[-6:] }}{% else %}var(--primary-text-color){% endif %}",
|
||||
"multiline_secondary": true,
|
||||
"name": "Active Color",
|
||||
"primary": "{% set slot = states('sensor.sparkx_i7_active_filament_slot') %}{% if 'Slot 1' in slot %}{{ states('sensor.sparkx_i7_slot_1_color_name') }}{% elif 'Slot 2' in slot %}{{ states('sensor.sparkx_i7_slot_2_color_name') }}{% elif 'Slot 3' in slot %}{{ states('sensor.sparkx_i7_slot_3_color_name') }}{% elif 'Slot 4' in slot %}{{ states('sensor.sparkx_i7_slot_4_color_name') }}{% elif slot == 'External' %}{{ states('sensor.sparkx_i7_external_color_name') }}{% else %}Unknown{% endif %}",
|
||||
"secondary": "{% set slot = states('sensor.sparkx_i7_active_filament_slot') %}{{ slot }}{% if state_attr('sensor.sparkx_i7_active_filament_slot', 'filament') %} · {{ state_attr('sensor.sparkx_i7_active_filament_slot', 'filament') }}{% endif %}",
|
||||
"type": "custom:mushroom-template-card"
|
||||
}
|
||||
],
|
||||
"grid_options": {
|
||||
"columns": "full"
|
||||
},
|
||||
"type": "horizontal-stack"
|
||||
},
|
||||
{
|
||||
"grid_options": {
|
||||
"columns": 6
|
||||
|
||||
+28
-28
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.3,
|
||||
"voltage": 120.3,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.14,
|
||||
@@ -15,22 +15,22 @@
|
||||
"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": 0.5,
|
||||
"power": 0.4,
|
||||
"linkquality": 91,
|
||||
"current": 0.03,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 121.9,
|
||||
"voltage": 120.2,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2.2,
|
||||
"current": 0.1,
|
||||
"energy": 46.7,
|
||||
"power_factor": 0.17,
|
||||
"power": 265.9,
|
||||
"current": 2.69,
|
||||
"energy": 46.84,
|
||||
"power_factor": 0.83,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.7,
|
||||
"voltage": 119.6,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 91.06,
|
||||
"power_factor": 0.2,
|
||||
"energy": 91.13,
|
||||
"power_factor": 0.31,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 120,
|
||||
"power": 0.3,
|
||||
"current": 0.02,
|
||||
"power": 0.2,
|
||||
"current": 0.01,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,12 +74,12 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.8,
|
||||
"voltage": 119,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 186.39,
|
||||
"power": 103.7,
|
||||
"current": 0.92,
|
||||
"energy": 186.56,
|
||||
"power": 94.6,
|
||||
"current": 0.88,
|
||||
"power_factor": 0.94,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 121,
|
||||
"energy": 92.45,
|
||||
"voltage": 119.5,
|
||||
"energy": 92.5,
|
||||
"state": "ON",
|
||||
"power": 28.1,
|
||||
"current": 0.3,
|
||||
"power": 32.4,
|
||||
"current": 0.34,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.83,
|
||||
"power_factor": 0.72,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 117.3,
|
||||
"voltage": 120.3,
|
||||
"ac_frequency": 60,
|
||||
"energy": 12.24,
|
||||
"current": 14.63,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.13,
|
||||
"current": 0.01,
|
||||
"power": 0.2,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 87,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.9,
|
||||
"voltage": 120.3,
|
||||
"energy": 29.64,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.14,
|
||||
"power_factor": 0.19,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 25.6,
|
||||
"temperature": 25.4,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user