203 files

This commit is contained in:
Home Assistant Version Control
2026-09-19 17:31:12 +00:00
parent 279159581d
commit 99467464e4
203 changed files with 2035 additions and 241 deletions
@@ -1434,6 +1434,7 @@ class TaskMatePanel extends HTMLElement {
due_time: "", early_bonus: 0, late_penalty: 0,
mandatory: false, mandatory_penalty_points: 0,
require_photo: false,
open_ended: false,
publish_calendar_entities: [],
depends_on: [],
bonus_subtasks: [],
@@ -1681,6 +1682,7 @@ class TaskMatePanel extends HTMLElement {
mandatory: !!d.mandatory,
mandatory_penalty_points: Math.max(0, Number(d.mandatory_penalty_points) || 0),
require_photo: !!d.require_photo,
open_ended: !!d.open_ended,
publish_calendar_entities: d.publish_calendar_entities || [],
bonus_subtasks: (d.bonus_subtasks || []).filter(b => b.name && b.name.trim()).map(b => ({
name: b.name.trim(), points: Number(b.points) || 5,
@@ -5457,6 +5459,8 @@ class TaskMatePanel extends HTMLElement {
this._switch(this._t("panel.chore_approval_label"), "requires_approval", d.requires_approval),
this._switch(this._t("panel.chore_require_photo_label"), "require_photo", d.require_photo,
this._t("panel.chore_require_photo_hint")),
this._switch(this._t("panel.chore_open_ended_label"), "open_ended", d.open_ended,
this._t("panel.chore_open_ended_hint")),
this._switch(this._t("panel.chore_require_availability"), "require_availability", d.require_availability,
this._t("panel.chore_require_availability_hint")),
this._switch(this._t("panel.chore_mandatory_label"), "mandatory", d.mandatory,