This commit is contained in:
Home Assistant Version Control
2026-10-08 16:17:25 +00:00
parent 7afcd1f691
commit 3a51dadce2
6 changed files with 192 additions and 8 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"domain": "spoolman",
"name": "Spoolman",
"codeowners": [
"@disane87"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/Disane87/spoolman-homeassistant",
"homekit": {},
"iot_class": "local_polling",
"issue_tracker": "https://github.com/Disane87/spoolman-homeassistant/issues",
"requirements": [],
"ssdp": [],
"version": "0.0.0",
"zeroconf": []
}
+81
View File
@@ -0,0 +1,81 @@
patch_spool:
name: "Patch Spool"
description: "A custom service to patch spool data"
fields:
id:
name: "ID"
description: "The ID of the spool"
example: 123
required: true
first_used:
name: "First Used"
description: "The first time the spool was used"
example: "2019-08-24T14:15:22Z"
last_used:
name: "Last Used"
description: "The last time the spool was used"
example: "2019-08-24T14:15:22Z"
filament_id:
name: "Filament ID"
description: "The ID of the filament used in the spool"
example: 0
price:
name: "Price"
description: "The price of the spool"
example: 20.0
initial_weight:
name: "Initial Weight"
description: "The initial weight of the spool including filament"
example: 200.0
spool_weight:
name: "Spool Weight"
description: "The weight of the empty spool"
example: 200.0
remaining_weight:
name: "Remaining Weight"
description: "The remaining weight of the filament on the spool"
example: 800.0
used_weight:
name: "Used Weight"
description: "The weight of the filament used from the spool"
example: 200.0
location:
name: "Location"
description: "The storage location of the spool"
example: "Shelf A"
lot_nr:
name: "Lot Number"
description: "The lot number of the filament"
example: "52342"
comment:
name: "Comment"
description: "Any comments about the spool"
example: ""
archived:
name: "Archived"
description: "Whether the spool is archived"
example: false
extra:
name: "Extra"
description: "Any extra properties for the spool"
example:
property1: "string"
property2: "string"
use_spool_filament:
name: "Use Spool Filament"
description: "Use a weight (or length) of filament for a spool."
fields:
id:
name: "ID"
description: "The ID of the spool."
example: 123
required: true
use_weight:
name: "Used Weight"
description: "The weight of the filament to use from the spool (in g)."
example: 10
use_length:
name: "Used Length"
description: "The length of the filament to use from the spool (in mm)."
example: 100
@@ -0,0 +1,42 @@
{
"config": {
"step": {
"user": {
"title": "Konfiguration",
"data": {
"spoolman_url": "Host (inkl. Protokol)",
"update-interval": "Update Interval (Minuten)",
"show_archived": "Archivierte anzeigen",
"notification_threshold_info": "Schwellenwert Info",
"notification_threshold_warning": "Schwellenwert Warnung",
"notification_threshold_critical": "Schwellenwert Kritisch",
"klipper_url": "Klipper URL",
"klipper_url_desc": "Klipper URL"
}
}
},
"error": {
"already_configured": "Device is already configured"
},
"abort": {
"already_configured": "Device is already configured"
}
},
"options": {
"step": {
"init": {
"title": "Konfiguration",
"data": {
"spoolman_url": "Host (inkl. Protokol)",
"update-interval": "Update Interval (Minuten)",
"show_archived": "Archivierte anzeigen",
"notification_threshold_info": "Schwellenwert Info",
"notification_threshold_warning": "Schwellenwert Warnung",
"notification_threshold_critical": "Schwellenwert Kritisch",
"klipper_url": "Klipper URL",
"klipper_url_desc": "Klipper URL"
}
}
}
}
}
@@ -0,0 +1,42 @@
{
"config": {
"step": {
"user": {
"title": "Configuration",
"data": {
"spoolman_url": "Host (incl. protocol)",
"update-interval": "Update interval (minutes)",
"show_archived": "Show archived",
"notification_threshold_info": "Threshold Info",
"notification_threshold_warning": "Threshold Warning",
"notification_threshold_critical": "Threshold Critical",
"klipper_url": "Klipper url",
"klipper_url_desc": "Klipper url"
}
}
},
"error": {
"already_configured": "Device is already configured"
},
"abort": {
"already_configured": "Device is already configured"
}
},
"options": {
"step": {
"init": {
"title": "Konfiguration",
"data": {
"spoolman_url": "Host (incl. protocol)",
"update-interval": "Update interval (minutes)",
"show_archived": "Show archived",
"notification_threshold_info": "Threshold Info",
"notification_threshold_warning": "Threshold Warning",
"notification_threshold_critical": "Threshold Critical",
"klipper_url": "Klipper url",
"klipper_url_desc": "Klipper url"
}
}
}
}
}