iobroker.alias-workbench 0.13.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +62 -54
  2. package/admin/css/werkbank.css +13 -2
  3. package/admin/geraetewissen/tasmota-befehle.json +56 -71
  4. package/admin/i18n/de.json +56 -15
  5. package/admin/i18n/en.json +56 -15
  6. package/admin/i18n/es.json +56 -15
  7. package/admin/i18n/fr.json +56 -15
  8. package/admin/i18n/it.json +56 -15
  9. package/admin/i18n/nl.json +56 -15
  10. package/admin/i18n/pl.json +56 -15
  11. package/admin/i18n/pt.json +56 -15
  12. package/admin/i18n/ru.json +56 -15
  13. package/admin/i18n/uk.json +56 -15
  14. package/admin/i18n/zh-cn.json +56 -15
  15. package/admin/js/attrappe.js +55 -47
  16. package/admin/js/aufzaehlungen.js +3 -3
  17. package/admin/js/detail.js +23 -10
  18. package/admin/js/einstellungen.js +44 -4
  19. package/admin/js/entwurf.js +90 -24
  20. package/admin/js/ergebnis.js +12 -4
  21. package/admin/js/katalog.js +3 -3
  22. package/admin/js/migration.js +478 -0
  23. package/admin/js/mqtt.js +167 -49
  24. package/admin/js/musterwahl.js +14 -0
  25. package/admin/js/quellentausch.js +25 -25
  26. package/admin/js/schreiben.js +20 -14
  27. package/admin/js/sprache.js +5 -0
  28. package/admin/js/start.js +2 -0
  29. package/admin/js/vorlagen.js +133 -100
  30. package/admin/js/vorlagenblatt.js +483 -471
  31. package/admin/js/zuordnung.js +35 -8
  32. package/admin/js/zustandsliste.js +35 -4
  33. package/admin/jsonConfig.json +42 -4
  34. package/admin/tab.html +18 -0
  35. package/admin/vorlagen/hm-dimmer.json +59 -59
  36. package/admin/vorlagen/hm-fensterkontakt-hm.json +40 -40
  37. package/admin/vorlagen/hm-fensterkontakt-hmip.json +48 -48
  38. package/admin/vorlagen/hm-heizgruppe.json +60 -60
  39. package/admin/vorlagen/hm-heizkoerper.json +72 -72
  40. package/admin/vorlagen/hm-rollladen.json +50 -50
  41. package/admin/vorlagen/hm-schaltaktor-lampe.json +53 -53
  42. package/admin/vorlagen/hm-schaltaktor-mehrfach.json +57 -57
  43. package/admin/vorlagen/hm-schaltaktor-steckdose.json +53 -53
  44. package/admin/vorlagen/hm-temperatur-feuchte.json +34 -34
  45. package/admin/vorlagen/hm-wandthermostat.json +68 -68
  46. package/admin/vorlagen/index.json +2 -2
  47. package/admin/vorlagen/messpunkt.json +122 -122
  48. package/admin/vorlagen/tasmota-lampe.json +148 -148
  49. package/admin/vorlagen/tasmota-mehrfach.json +112 -112
  50. package/admin/vorlagen/tasmota-rgb.json +136 -136
  51. package/admin/vorlagen/tasmota-steckdose.json +150 -150
  52. package/io-package.json +32 -31
  53. package/package.json +1 -1
package/README.md CHANGED
@@ -143,6 +143,15 @@ device:
143
143
  the device (Status 11). A plain query that switches nothing and changes
144
144
  nothing.
145
145
 
146
+ **Known exception: writing into the MQTT adapter's namespace.** Normally the
147
+ workbench writes only to `alias.*` and `enum.*`. The Tasmota helpers are the
148
+ one exception. Creating a send point, enabling sending, querying the device and
149
+ SetOption59 all need a `cmnd` data point under `mqtt-client.0.…`, and the
150
+ workbench creates or changes it there. This is **off by default**. It is
151
+ enabled in the instance settings (*Allow creating and changing data points in
152
+ the MQTT adapter*). Without it, the workbench shows what would need doing and
153
+ writes nothing outside its own namespace.
154
+
146
155
  Bind your Tasmota devices this way and you need no separate adapter for the
147
156
  device structure: MQTT delivers the data, the workbench turns it into devices.
148
157
 
@@ -157,8 +166,8 @@ order, so a failure leaves you with two aliases rather than none. Swapping the
157
166
  source keeps the alias untouched and only re-points it, which is what you want
158
167
  when a device dies. See [Swapping a source](#swapping-a-source).
159
168
 
160
- **Filling free slots.** A device that matches no pattern is often not an unknown
161
- device — a role is simply missing. **Suggest free slots** sets roles in the
169
+ **Guessing missing places.** A device that matches no pattern is often not an unknown
170
+ device — a role is simply missing. **Guess missing places** sets roles in the
162
171
  draft and lets the detector decide again. It only ever runs on that button, never
163
172
  during normal detection, every guessed row is marked, and while any guess is
164
173
  undecided the write buttons stay locked. Not deciding is no longer a silent yes.
@@ -270,7 +279,7 @@ outside that namespace is ever touched.
270
279
 
271
280
  The proposal comes from, in order: the room already on the source or one of its
272
281
  channels, the device name (`FK_Max_Spielzimmer` → `Max_Spielzimmer`), the
273
- target folder. The function comes from the template's `funktion` field, or from
282
+ target folder. The function comes from the template's `enumFunction` field, or from
274
283
  the detected type when the template has none.
275
284
 
276
285
  The admin ships 62 function and 58 room templates, each with a picture. The
@@ -358,11 +367,11 @@ This was measured on the pattern itself rather than on a version number: in
358
367
  both baked bundles `energy.consumed` appears nowhere. So the consumption is
359
368
  missing there until the reading adapter catches up. Existing aliases with the
360
369
  old role stay recognised everywhere, the expression still accepts them. Each of
361
- the four rows carries the reason in a field `_rolle`.
370
+ the four rows carries the reason in a field `_role`.
362
371
 
363
372
  ### Role knowledge beside the rows
364
373
 
365
- A template can carry `weiterePunkte`: roles for datapoints that get no row of
374
+ A template can carry `extraPoints`: roles for datapoints that get no row of
366
375
  their own. Without it, "all datapoints of the device" showed *no role* on most
367
376
  lines, because hm-rpc simply leaves the field empty. A `*.NAME` wildcard applies
368
377
  per channel, so `2.LEVEL` and `3.RAMP_TIME` are covered without listing every
@@ -373,7 +382,7 @@ enriched.
373
382
 
374
383
  The **Save as template …** button turns the device you are looking at back into
375
384
  a template. Paths become relative to the device, `JSON.parse(val).ENERGY.Power`
376
- becomes `feld: "ENERGY.Power"` again, and roles, units and formulas are kept.
385
+ becomes `jsonField: "ENERGY.Power"` again, and roles, units and formulas are kept.
377
386
 
378
387
  What a template cannot know by itself is **which datapoints make a device this
379
388
  kind of device**. That is a statement about all future devices, so the dialog
@@ -432,16 +441,16 @@ When several templates fit, the winner is decided in this order:
432
441
  output for multi-output devices, plus content checks that came out true
433
442
  2. **the name hint**, if it matches
434
443
  3. **your own template** over a shipped one
435
- 4. **`rang`**, so the same device is always detected the same way
444
+ 4. **`priority`**, so the same device is always detected the same way
436
445
 
437
446
  Order matters. Counting evidence first is what keeps a template you built on
438
447
  purpose from losing to a shipped one whose word happens to appear in the device
439
448
  name.
440
449
 
441
450
  Note what step 3 means for updates: a template of yours **cannot be outranked by
442
- a shipped one on `rang`** — that step sits above `rang` in the order, so no
451
+ a shipped one on `priority`** — that step sits above `priority` in the order, so no
443
452
  future version of this adapter can quietly take a device away from a template
444
- you built. `rang` only ever breaks ties between templates of the same origin,
453
+ you built. `priority` only ever breaks ties between templates of the same origin,
445
454
  which is also why a new template of yours is numbered from your own templates
446
455
  and ignores the shipped numbers entirely.
447
456
 
@@ -491,7 +500,7 @@ Two things override that:
491
500
  feedback value — `1.STATE` is both — so their `ON_ACTUAL` stays off.
492
501
  - Where the purpose says tick but the pattern has **no slot**, weigh it: the
493
502
  point lands in an info device next to the real one. For a single value that
494
- is rarely worth it, and the template's `hinweis` has to say so. And check
503
+ is rarely worth it, and the template's `note` has to say so. And check
495
504
  what a slot **means** before using it — a matching name is not a matching
496
505
  purpose, as the voltage case above shows.
497
506
 
@@ -535,21 +544,21 @@ One JSON file per template under `admin/vorlagen/`. Example:
535
544
 
536
545
  | Key | Meaning |
537
546
  |---|---|
538
- | `erkennung.erforderlich` | these datapoints must exist, otherwise the template does not match |
539
- | `erkennung.inhalt` | the named datapoint must contain this field in its JSON |
540
- | `erkennung.verboten` | these datapoints must **not** exist, otherwise the template does not match |
541
- | `erkennung.namenshinweis` | only breaks ties between templates that fit equally well |
542
- | `rang` | last tie-breaker, so the same device is always detected the same way |
547
+ | `detection.required` | these datapoints must exist, otherwise the template does not match |
548
+ | `detection.content` | the named datapoint must contain this field in its JSON |
549
+ | `detection.forbidden` | these datapoints must **not** exist, otherwise the template does not match |
550
+ | `detection.nameHint` | only breaks ties between templates that fit equally well |
551
+ | `priority` | last tie-breaker, so the same device is always detected the same way |
543
552
  | `optional` | the state is skipped when its source or JSON field is missing |
544
- | `vorgabeAus` | proposed but unchecked — see **What a template ticks by default** below |
545
- | `feld` | builds the read function `JSON.parse(val).<field>` |
546
- | `mehrfach` + `%N%` | one device per output; the numbers are read from what exists |
547
- | `werteliste` | value list for the datapoint — slots like EFFECT are not detected without one |
548
- | `absolut` | `lesen` is a full object id, not relative to the device — the same object for every device |
549
- | `beschriftung` | the datapoint's display name, if it should differ from its slot name |
550
- | `nachkommastellen` | decimals for the value display |
551
-
552
- `verboten` is what genuinely separates a single socket from a multi-output one:
553
+ | `offByDefault` | proposed but unchecked — see **What a template ticks by default** below |
554
+ | `jsonField` | builds the read function `JSON.parse(val).<field>` |
555
+ | `multiple` + `%N%` | one device per output; the numbers are read from what exists |
556
+ | `valueList` | value list for the datapoint — slots like EFFECT are not detected without one |
557
+ | `absolute` | `read` is a full object id, not relative to the device — the same object for every device |
558
+ | `caption` | the datapoint's display name, if it should differ from its slot name |
559
+ | `decimals` | decimals for the value display |
560
+
561
+ `forbidden` is what genuinely separates a single socket from a multi-output one:
553
562
  the single one has no `stat.POWER2`. An absent datapoint deliberately does **not**
554
563
  count as evidence — otherwise a list of invented exclusions could inflate a
555
564
  template's score.
@@ -615,6 +624,34 @@ imported, and that all eleven language files carry the same keys.
615
624
 
616
625
  ## Changelog
617
626
 
627
+ ### 0.14.1 (2026-11-22)
628
+ * **What goes into the database is English; what is only shown follows your language.** Three places were still German. The value list of the Tasmota colour effects (`Scheme`, slot EFFECT of the colour light template) is now `single colour, wake up, cycle colours up, cycle colours down, random` — it is written into the alias and the send point and stays there, so it is English like the value lists of the device adapters; the template is now version 7, and an existing alias shows the difference and takes the new list with "Reset to template". A send point the workbench creates now carries the fixed description `created by the Alias Workbench` instead of a text in the language of whoever clicked. And the descriptions in the "Create send points" dialog ("brightness 0 to 100" …) come from the language files, in all eleven languages. The command knowledge file has English field names.
629
+
630
+ ### 0.14.0 (2026-11-22)
631
+ * **Creating data points in the MQTT adapter is now a setting, and it is off by default.** The Tasmota helpers need `cmnd` points under `mqtt-client.0.…` — to query a device (`Status`, `TelePeriod`), to switch on SetOption59, and as the send point of an alias. That is outside the workbench's own area (`alias.*`, `enum.*`); the review of the repository request flagged it, and it was accepted as an exception. Now it is a decision for whoever runs the workbench: *Allow creating and changing data points in the MQTT adapter* in the instance settings. With it off, the MQTT card says so at the top, and every button that would write there opens a dialog naming the data points it would create, with a button straight into the settings — nothing is written. Reading, detection and aliases on existing points work as before. The setting is read fresh before each of these writes, so switching it on takes effect without reloading the workbench. **If you used these helpers before: switch it on once after the update.**
632
+ * **The four settings now carry English names.** `ikonRaeume`, `ikonFunktionen`, `ikonErsetzen` and `vorlagenVomAdmin` became `iconRooms`, `iconFunctions`, `iconReplace` and `templatesFromAdmin`. The ioBroker checklist asks for English object ids where they are the adapter's own, and these are — they were German because that is how the workbench was built, not because anything required it.
633
+ * **A conversion runs once at startup, and it is not optional.** Renaming alone would have been silent damage: `einst()` reads the settings out of the instance object, would no longer find the old keys and would fall back to the defaults — and all four default to **on**. Anyone who had switched one off would have had it back on without a word. So an instance still carrying old names opens a modal dialog at startup that names the count and says there is no way back. "Not now" does not close it; the workbench does not work until the conversion has run. Afterwards the old keys are gone, the values are kept — a setting that was off stays off — and your own templates in the same object are untouched. A second run finds nothing.
634
+ * **One place knows the old names, and only one.** `admin/js/migration.js` is it; every other file in the adapter knows the English names only. The alternative — reading both spellings everywhere — would have meant 92 places in the adapter, each a second truth, and none of them ever going away again. The module stays: not every installation updates next week, and it costs nothing when nothing matches.
635
+ * **And a trap that only showed up on deployment.** `iobroker upload` carries the defaults from `io-package.json` into existing instances. After a deployment the four English keys are therefore already present — with their default **on**, not with the user's value — while the old ones still sit beside them. The first draft would have given the new value precedence and so made exactly the silent jump the conversion is meant to prevent. Now the old value wins, and the result no longer depends on the order of the keys in the object. Found on the live system, reproduced and recorded on the test system.
636
+ * **And the same conversion for the aliases themselves.** The fields the workbench writes on its aliases were German: `quelle`, `vorlage`, `vorlageVersion`, `ausZustand`, `geraetetyp`, `musterVonHand`, `vonHand`, `angelegtVon`, `attrappeAus`. Now `source`, `template`, `templateVersion`, `templateState`, `deviceType`, `deviceTypeManual`, `manual`, `createdBy`, `mockedFrom`. The same dialog does it at startup and names the number of affected objects — only those carrying one of our fields are counted, so an alias built by hand in the admin is left alone. Only `native` is touched: no `common.alias`, no role, no formula, no unit. No value moves and nothing switches. Checked against 109 objects — `common` stayed identical on **all** of them, `native` changed on exactly the 100 affected. If the run is cut short because the tab is closed, the dialog names exactly the remaining ones next time.
637
+ * **The conversion no longer hangs on an object that has gone in the meantime.** If an alias named in the dialog was deleted before "Convert" was clicked, the button stayed on "Converting…" for good: the object was missing, a step threw, and the run never finished. Now every object is read fresh from the database before it is written; one that has gone is skipped and not counted, and is never created again. A step that throws or gets no answer within 15 seconds ends up in the error list, and the rest still run.
638
+ * **A half-built alias no longer fills the log.** When an alias was selected that has a point without `common.alias.id`, the workbench subscribed to `alias.….*`; the controller rejects such a pattern as a whole, and the admin wrote `Error on "subscribeForeignStates": Alias … has no target` into the ioBroker log on every selection. Now the points with a target are subscribed individually and the one without is left out — it has no value that could change.
639
+ * **Your own templates now live under `templates`.** The key in the instance configuration used to be `vorlagen`. Only the key is renamed — the template underneath stays identical character for character. Its **field names** (`zustaende`, `rolle`, `typ` …) are deliberately left for later: they cannot be caught by a pattern, because the same words mean other things elsewhere in the code — `z.typ` is a template field while the `typ:` right beside it is a draft field, both on the same line. That will be a step of its own.
640
+ * **The template format is English — and better named, not just translated.** Every field of a template has a new name: `points` instead of `zustaende`, `detection` with `required`, `forbidden`, `content` and `nameHint`, per point `role`, `type`, `unit`, `read`, `write`, `readFormula`, `writeFormula`, `readFallback`, `offByDefault` and so on. Where a translation fell short there is a better name: `priority` says what the number is for (which template wins); `points` rather than "states", which gets confused with the value list `common.states` and with the detector's slots; `jsonField`, because the field is a path **inside a JSON**; `enumFunction`, because `function` is a keyword and the ioBroker enumeration is meant. The 16 shipped templates are converted, **your own templates are converted by the same startup dialog**, content and all. An old exported file is **refused** on import — with a sentence saying it comes from an older version, instead of a puzzling "no rows". The field-name table in this README has been updated.
641
+ * **The mock file is English too.** "Export as mock" now writes `root`, `createdAt`, `createdBy`, `source`, `nativeIncluded`, `objects` and per entry `path`, `virtual`, `value` (format 2). An older file (format 1) is refused on import with a note to export it again.
642
+ * **“SET hat schon SET” now says what it means.** When another row holds the place a role points to, the hint read “{place} already holds {row}” — with both named the same it read like nonsense. Now the sentence says what triggers it, what blocks it and what follows: “The role “state” makes ACTUAL the place SET in the socket pattern, but the row SET already holds it. So ACTUAL does not count towards the device.” Then either the advice to pick another place or — when both rows read the same data point — “Both read stat.POWER, so ACTUAL only shows the same thing again.”
643
+ * **No more regular expression under “Role”.** It read “matches /^switch(\.active)?$|^state$/ → slot SET in the socket pattern, expects boolean” — the type-detector's matching pattern. Now: “With the role “state” the row belongs on the place SET in the socket pattern. The place requires the type boolean.” On the device and in the template sheet. If the place is already taken, the line is left out, because the yellow sentence below says the same.
644
+ * **An existing alias point is matched to the right template row again.** When two template rows read the same source — `hm-schaltaktor-lampe` has SET (switches) and ON_ACTUAL (only reports) both on `1.STATE` — the last one used to win. A switching alias point `STATE` was taken for ON_ACTUAL, showed “differs from the template”, and “Apply template values” turned the switch into a read-only sensor without a write target: after updating, the light could no longer be switched. Now the write direction decides: a writing alias point takes the writing row, a reading one the reading row.
645
+ * **Changing the pattern no longer renames rows blindly.** Switching an existing alias from socket to light turned its point `STATE` into `SET` (updating would have deleted `STATE` and created `SET`), turned the unticked switch lock `INHIBIT` into a second `SET` with role `switch.light`, and left three rows named `SET`. Now unticked rows stay as they are, a row that already exists in the alias gets the new role but keeps its name, and no name is given twice.
646
+ * **“Apply template values” takes the template's pattern along.** An alias whose switch had the role `switch` opens as a socket. Applying a light template turned the point into `switch.light` but left the pattern on socket — whose SET only takes `switch` — so the pattern showed “not detected”. Now the button sets the pattern to the template's device type as well, and the header no longer claims it was chosen by hand.
647
+ * **The pattern says when the template means another one.** An existing alias keeps the pattern its roles say — that is the truth about it — but the pattern header now adds “the template is built for Light, the existing alias is set up as Socket”.
648
+ * **The blue button no longer turns white under the mouse**, and an empty line between the pattern note and the buttons below it is gone.
649
+ * **Two buttons say what they do.** “Take template values” is now **“Reset to template”** — whatever differs from the template on the alias goes back to the template, the pattern included. “Suggest free slots” is now **“Guess missing places”**, because it is a guess, not knowledge. Found along the way: in five languages the guess button read “free slot machines” (Spanish, French, Dutch, Polish, Chinese), in four “free-of-charge slots” — all retranslated.
650
+ * **“Reset to template” also ticks what the template would tick.** An existing alias with only `STATE` gets `WORKING`, `LOWBAT` and `UNREACH` ticked, as the template intends; nothing is unticked, so no point of the alias disappears through this button. The number on the button counts these rows too.
651
+ * **The list shows what will be added to the alias and what will be removed.** A newly ticked row looked exactly like one already in the alias; only the change card on updating said “new”. Under an existing alias, a ticked row whose point does not exist yet now carries a green “will be added”, an unticked row whose point exists a red “will be removed” — the same rule the change card uses.
652
+ * **The row marks answer one question: what happens to the point on writing.** Under an existing alias: “will be added”, “will be changed” (formerly “differs from the saved alias”; the tooltip names the fields, now including the caption), “will be removed” — no mark means it stays as it is. The mark “changed” is gone: it only said “something was clicked here”, stood twice next to “differs from the saved alias”, and stayed after a value was set back. For a new alias the rows carry no such mark, since everything is new; “differs from the template” now works there too, because the template values are kept from the start.
653
+ * **The orange bar no longer offers a row the template switched off.** It read “INHIBIT fits on SET, but is not ticked — tick it”: the switch lock of a Homematic actuator has the role `switch`, and ticking it would have made the lock the socket's switch. A row the template leaves off by default is no substitute for a required place. Its claim “would work with ‘Suggest free places’” was also computed on the roles from before “Apply template values”; the forecast is now dropped when the rows change.
654
+
618
655
  ### 0.13.0 (2026-11-02)
619
656
  * **The type detector is now 6.2.0, and that adds a device type: `tv`.** The workbench therefore offers 52 patterns instead of 51, with twenty places for a television — `POWER`, `KEY`, `VOLUME`, `INPUT`, `APP`, `ART_MODE` and the rest. 6.1.0 brought an ES module build along the way, which is what makes the shipped bundle smaller (66 KB instead of 70). The consumption role is unchanged from 6.0.3: both roles are recognised, the current one is suggested. Measured on 2026-11-02 over all patterns: 752 places instead of 732, and the role derivation is untouched — the same eight places take their role from the expression, the same nineteen have none.
620
657
  * **The consumption point now carries the role it should: `value.energy.consumed`.** The unit is Wh, which is energy and not power, so it belongs under `value.energy.*` and not with the watts in `value.power.*` — which is why the ioBroker roles list strikes `value.power.consumption` through. Up to `@iobroker/type-detector` 6.0.2 there was no choice anyway: the pattern `consumption` matched the struck-through role alone, and a point carrying the correct one dropped out of the detected device without a word — the socket was still recognised, just without its consumption, and that is how it reached vis, Alexa and the device manager. Reported as [issue 334](https://github.com/ioBroker/ioBroker.type-detector/issues/334) with the finding, fixed in PR 339, released as 6.0.3 on 2026-10-14. The detector now accepts both roles, and the four shipped templates (`messpunkt`, `tasmota-lampe`, `tasmota-mehrfach`, `tasmota-steckdose`) write the correct one.
@@ -721,7 +758,7 @@ imported, and that all eleven language files carry the same keys.
721
758
  * A button reads along and stays a button; the misleading “never changes” badge is gone.
722
759
  * JSON fields with a dot in their name can be selected.
723
760
 
724
- All changes in detail, with cause and measurement: [docs/aenderungen-ausfuehrlich.md](docs/aenderungen-ausfuehrlich.md).
761
+ All changes in detail, with cause and measurement: [docs/changes-detailed.md](docs/changes-detailed.md).
725
762
 
726
763
  ### 0.9.12 (2026-09-18)
727
764
  * The small **type badges in the tree** (DEV, CHA, FOL …) now all have the same width. A node without an object of its own shows just a dot there, and its badge was narrower — its name fell out of line.
@@ -743,35 +780,6 @@ All changes in detail, with cause and measurement: [docs/aenderungen-ausfuehrlic
743
780
  * **The target line now follows the same alias.** On a multi-output device it always showed the output number — `alias.0.Bastelzimmer.Steckdosenleiste.POWER1`, an ID that does not exist — and reported "will be created", while `RF1000` stood right next to it. Clicking would have put a second alias beside the existing ones. The source said: "the workbench cannot know what the individual output is called." That held as long as it could only ask about the device. The target line now points at `…Steckdosenleiste.RF1000` with the badge "already exists", and "update alias" hits it. Where no alias exists for the output yet — the garden valve island — the proposal from the output number stays, and so does "will be created".
744
781
  * The **SetOption59** note appeared on every Tasmota device, including where it has no effect. It claimed an alias would show "the old value for minutes after switching" — but on the power strip not a single row reads from `tele/STATE`; they all read from `stat.POWERn`, which the device sends immediately on every command (measured: 1.07 s). "For minutes" also assumed the Tasmota default of 300 seconds; on that strip it is ten (measured: `tele/STATE` every ten seconds). The block now only appears when a row really reads from `tele/…` **and** writes to `cmnd/…`, names those rows, and reads the interval from `TelePeriod`; if it is not in the telegram the text says "on the telemetry cycle" instead of inventing a number. The same applies to the chip in the header. And the check "feedback is immediate" no longer reports "all fine" where there was nothing to check, but **"no row affected — all read from stat/…"** with a grey dot instead of a tick. Card and check ask the same function and can no longer drift apart.
745
782
 
746
- ### 0.9.11 (2026-09-16)
747
- * After saving, the next click in the tree asked **“unsaved changes”** — about an alias that had just been written. The “something unwritten is here” mark was only ever set, never cleared; it went away solely when the draft itself was dropped, i.e. on delete and on move. It now falls after every successful write — and only then: if something went wrong, the change really is not in yet, and the question stays justified. **There is a second effect that had been missing for a long time**: while the mark stood, the workbench deliberately did not rebuild the draft. After a write the old one therefore stayed, instead of rebuilding from the freshly written alias.
748
- * A second press of **“Suggest free slots”** bent back a row you had set yourself. On the air conditioner: guess nine slots, set the role of the SPEED row to `level.speed` by hand, discard — and the next suggestion put the guessed `level.mode.fan` back. The pattern slot looked free, so the same row was guessed a second time; it then carried **both** marks, “changed” and “guessed”, which exclude each other — what was just guessed cannot have been changed before. Guessing now leaves any row marked “changed” alone. The slot stays free, and the note below says why. Putting a second row next to it was the alternative — the same source point would then hold two slots, and the eighth check would rightly report it.
749
- * As soon as guesses were pending, the button in the pattern bar renamed itself to **“Discard suggestions”** — and a second one with the same word and the same effect stood in the blue bar below it. Two buttons, one handle. The bar now always says “Suggest free slots”, and only while something is left to guess; once everything is guessed it disappears. Discarding happens where it belongs: in the blue bar, next to “keep all”.
750
- * Instead of „either every slot is taken, or no remaining datapoint fits" the note now states the case that actually applies — with the **names** of the slots that stay free: “SPEED, SWING … stays free. Every remaining datapoint already serves as a read or write source in a filled row”, or “… No remaining datapoint fits”. If a hand decision holds a slot open, a sentence is appended: “1 rows were decided by hand and are left untouched.” The “every slot taken” case stays silent unless asked — it says “nothing to do”, and would otherwise appear on nearly every device.
751
- * Ricardo’s air conditioner is detected as a **thermostat** and fills 3 of 24 slots. **airCondition** fails because its only required slot, MODE, does not carry the role — and that settles it, since “does not fit” has the last word. With automatic suggestions it would reach **9 of 29** against 8 of 24. That now stands next to the pattern field: “· airCondition might fit better” — a single line, both numbers in the tooltip. **One** pattern is named — the best one — and only when it really is better; measured in filled slots, not in ratio. Next to it sits a small **→** button that does both in one go: switch to that pattern and press “Suggest free slots” right away — otherwise the note would be an announcement without an action. In the pattern list every affected row carries “with suggestions: fits” behind its reason. It is computed once when the device is selected and after that only on a row change — suggesting reads names, value lists, units and types, no measured values.
752
- * In the **template sheet** and in the „save as template" dialog the device type showed its **pattern key** instead of its name: a blind read „blinds", a media player „mediaPlayer", a slider „levelSlider" — words that appear nowhere else in the interface. The stored value was right all along (the type, since 11.09.2026); only the label came from the wrong field, and since the Admin does not know those three keys, the translated name fell away with them. It now says the same as the pattern picker next to it: „Jalousien · blind".
753
- * A **button** can now be created. `STOP` on a blind only writes — a key press has no state to read — and that used to defeat the **whole** alias: the dry run said “STOP: no source chosen”, “create now” stayed greyed out, and not a single blind alias ever got a STOP. The first diagnosis was wrong, and that deserves saying: it was not the write check being too strict. **ioBroker rejects an alias without a read source** — `{ id: { write: … } }` yields “Alias id is invalid: The id is empty!”. The correct shape is the one Ricardo has long been using on his ten hand-built STOPs: `alias.id` as plain text pointing at the command point, plus `common.read: false` on the alias point. That tells vis, Alexa and matter to draw a **button** rather than a toggle stuck at “off” forever. What decides is the **target**, not the role: `read: false` is written by the adapter itself (measured on a real `hm-rpc` STOP). If the target is readable the block stays — then the missing read source really is a defect. The button also survives being read back: all three places that reconstruct an alias now know it, otherwise `read` would quietly flip to `true` on the next update. **The same question grew into a new check**: “target can do what is asked”. The workbench writes to foreign points and reads from foreign points without ever checking whether they can do that. Three ways it silently falls apart — the write formula produces text and the target takes none; the target carries `write: false` (ioBroker stores the value anyway but the adapter passes nothing on: a silent dud); the read source carries `read: false` and never reports anything. All three now appear in the checks panel and as a chip on the ID in the detail view, right where the formula is typed
754
- * The workbench creates MQTT **send points** itself — a `cmnd` point only comes into existence in ioBroker once something has been published to its topic; before that the alias would have nothing to write to. It took the type from the command knowledge, and `POWER` is listed there as `boolean` — right next to the write formula `val ? "ON" : "OFF"`. The two do not add up: the js-controller converts the formula result back to the type of the **target** on write, the `"ON"` becomes `true` again, and the formula sits in the alias without effect. Switching still works — Tasmota takes `on` as well as `true` — but the point looked different from every point mqtt-client creates, and the formula claimed something it did not do. On the production system it was **one of 196** alias points with an MQTT write target, and it came from us. The rule now is: **where a write formula exists, the point is created as `mixed`** — no exception for `POWER` but a rule that also covers `Fade` and `LedTable`. Without a formula the exact type stays, because the admin derives min, max and unit from `number`. **Plus two places where it becomes visible**: the target point's type now shows as a chip behind its ID in the detail view — right where the formula is typed — in warning colour when the two do not match. And the checks panel has an eighth check, "write formula takes effect", that names it instead of keeping quiet
755
- * A template now counts as fitting only where its **mandatory rows** actually find their source. Until now detection alone decided, and detection asks a different question than application: `pruefeVorlage` checks whether the named **points** exist, the rows need particular **fields inside them**. A hand-built power-meter template whose mandatory row reads `tele.SENSOR · SML.Total_Summe` thus won on **17** ordinary Tasmota devices and delivered exactly one — and unchecked — row there, where the socket template would have built eleven. The device said "identified as: Tasmota power meter", and the draft was empty. Now it does not even enter the race there and the next best one takes the place; what was skipped is stated in the "why". Optional rows do not count, that is what optional means — measured against the stock, **none** of the fifteen other templates loses any of its 51 wins. **And the try-out in the template sheet**: it now also fetches the values of the points the rows read. Without them it judged fields it could not see, and the same template reported different numbers depending on what had been clicked before. It now shows per device how many rows would really come out, and on "does not fit" **which mandatory row is missing** — turning "22 devices matched, 17 of them won" into the honest "22 matched, 1 won · 21× does not fit". **And the try-out now computes like the creation does**: at first it compared only against the single highest-scoring other template — if that one did not fit the device, the template under test declared itself the winner. "Plain measuring point" thus reported a win on a Tasmota although the socket template sits in between and really fits there. It now walks the match list like `vorschlag` does; measured afterwards, all 150 pairs of template and device agree
756
- * An alias whose source has vanished from the system is now visible without clicking it. Until now it was only said in the expanded detail and in the checks panel — the row in the list stayed quiet because it asked whether a source was **entered**, not whether it **exists**. The row now carries the red `!` with the note "source does not exist", the header a chip "1 point points nowhere" with the list in its tooltip, and the alias tree a red `!` on the affected channel. This is not cosmetic: the js-controller remembers "source missing" permanently and never corrects it — only deleting and recreating helps. It is computed once when the objects load, not on every redraw; on the production system 531 alias points in 5.2 ms. Two were found straight away: a window contact still pointing at the long-replaced `zigbee` adapter, and an NSPanel point with a missing `0_userdata` source for both reading and writing. A row with **no** source at all keeps its own note — it is unfinished, not broken
757
- * New: **"Referenced in"** on an existing alias. The box below the change comparison searches on click for whatever else mentions the ID — the **scripts** of the javascript adapter with folder, name, state and line numbers, the **files** of the instance folders (that is, the vis and vis-2 views), every loaded **object** (where the matter bridges keep their members, for instance), the **enumerations** and the entries on the point itself (`SET → influxdb.0`) — and the same again for the **source**, including further aliases on it. That answers the question of what was left behind when moving to the alias. Measured on the production system with 24,706 objects and 66 files: the first look takes 1.3 seconds, every further alias after that 0.17. The web interfaces of the adapters are not searched — 160 of the 177 MB of text in the file tree, identical on every ioBroker, and they carry examples like `alias.0.Floor.Room.MotionSensor`; without that boundary the workbench would find its own source files as users of itself. Deliberately without a verdict: a source that is still mentioned is not a fault — a script that feeds it belongs exactly there (of 376 aliases with a source, 61 still had the source mentioned directly, a good share of them rightly so). **And the delete dialog now searches the scripts too** — that only existed when moving, although deleting is the irreversible one
758
- * The field picker on a JSON point now copes with every key. Until now the workbench glued the field name onto the access with dots — which only works as long as every part is a valid JavaScript name. `gpu_usages.amd-vaapi.gpu` turned into an arithmetic expression (`?.amd - vaapi?.gpu`), `service.storage./dev/shm.free` and `cpu_usages.1111740.mem` into a syntax error. Measured on a Frigate telegram: of 233 offered fields **27** were usable, the other 206 ended in the red "formula broken" message. `feldFormel` now uses brackets where the key is not a name — `JSON.parse(val)?.gpu_usages?.['amd-vaapi']?.gpu ?? null` — and reads them back again, so the picker stays on the chosen field instead of falling back to "own formula". For ordinary names **not a single character** changes, so the shipped templates are untouched. A dot inside the key itself (`frigate.full_system`) remains unresolvable and still shows "own formula"
759
-
760
- ### 0.9.10 (2026-09-13)
761
- * Four things from the full test run. **A channel identifier** was not sanitised in the multi-output path: from the channel name “Licht, Bar” the js-controller quietly made `Licht_ Bar`, while the workbench displayed “Licht, Bar” and wrote it into the enumerations — an identifier that never existed, and after deleting the alias it stayed there as a leftover. `ausgangName` now sanitises itself, and where two channels produce the same name the second gets a `_2`. **The caption** differed between the two views: where the point's name equals the row name, “Edit alias” showed it and “Create alias” an empty field. **The row list** now counts like the tree — `POWER2` before `POWER10`. And **an enumeration the workbench created itself** now also disappears when it becomes empty through a change of function, not only when the alias is deleted
762
- * Tidying: "turn an alias object into a draft row" was written out five times — each with the same write-source rule and slightly different surroundings. Four bugs in this version came from exactly that: the lost write source on the roller shutter, a switching point that became a read-only one, the missing caption on `alias.0.Solar.Netz`, and a deviation the workbench had produced itself. The reading now lives in one place; what the four callers do with it — compare, create, overwrite — stays with them. Behaviour is unchanged
763
- * Three small things spotted during the run. **RSSI** was pre-ticked in the five Tasmota and measuring-point templates but not in the eleven Homematic ones — the same device property, two answers depending on the vendor; it is now unticked everywhere, like the rest of the diagnostics. **The `MAP_URL` slot** in the vacuum pattern got no role because its expression starts without `^` and the derivation demanded both anchors; a missing start anchor no longer counts against a slot. **And the "guessed" tag** in the swap dialog looked like text stuck to the point name — its styling hung on three parent levels that do not exist there. It is now a pill like in the state list and says in its tooltip whether the guess came from the point name or from the role
764
- * The save button in the template dialog now also checks when pressed, not only when drawn. It is re-evaluated when a field is left — typing an open bracket into the name hint and clicking "Save template" without leaving the field left you with a blue button and saved a template with a broken expression. The five lock reasons now live in one place that drawing and saving share
765
- * Three places now say why they cannot. **The save button in the template dialog** was greyed out and silent — five reasons can lock it and none of them was shown; every applicable one now appears on the button and as a box in the dialog. **The error dialog when deleting** only gave a count ("1 operations failed") and not which id is stuck; writing has had that list all along. **And the reason a send point could not be created** hung on a button that the same callback threw away 120 ms later — it now sits at the top of the dry run and survives the rebuild
766
- * If a point's type does not match its pattern slot, all three places now say so — not just the expanded row. If the slot was **required**, the pattern stops applying altogether, and the whole list showed up tinted: on the Bastelzimmer_Licht, switching SET from `boolean` to `mixed` was enough for eight of eight rows to count as "no slot", while the pattern field reported "✕ SET missing" — SET was right there. It now reads "✕ SET: type mixed instead of boolean", and above the list: "The light pattern does not apply right now: SET requires boolean, but mixed is set. That is why no row has a slot." Only the row that causes it is tinted now — the whole list used to light up, which showed the consequence instead of the cause.
767
- * A late answer to `system.config` now really does carry the expert mode over. The tab gives up after 2.5 seconds and continues with the browser language; if the answer arrives later, the language stays as it is (switching after the labels are drawn would be worse), the expert mode is adopted and the tree is redrawn once. That had long been built — but above it sat a guard from the time before, which bailed out in exactly this case. Without the mode, every node under `system.*` and `enum.*` was missing, with nothing saying why
768
- * The swap dialog notices when one level up fits better. The picker lets you choose any node with data points underneath — it has to, because on a flat adapter the channel is the device. With MQTT, though, `stat`, `tele` and `cmnd` are topic folders: landing there finds fewer points, and the lock would ask you to remove some. The workbench now also computes the parent level and says so — "One level up (…) finds a target for 7 of 7 points, here only 5" — with a button that switches the selection. Nothing is forbidden
769
- * The device list in the swap dialog keeps its position. Scrolling down a long list and picking a device used to jump back to the top, with the freshly picked entry out of sight — picking rebuilds the dialog, and the tree is a different element afterwards. If the selected row still ends up outside, it is brought into view. A new search and a freshly opened dialog still start at the top
770
- * When swapping the source, a write target no longer counts if it coincides with the read source. The search tries the bare point name as its last form, so `cmnd.POWER` found a status point that also ends in `POWER` — the alias would then have written to its own read source. Guessing already caught this, matching by path did not; it showed when the new source was picked as a sub-node instead of the device
771
- * When swapping the source, a point that cannot come along now stops the swap instead of letting it fail halfway. A point with separate sources — reads from `stat.POWER`, writes to `cmnd.POWER` — needs both at the new source. If the write target is missing, ioBroker has **no** form that means "reads, writes nowhere": a plain id means "write to the status point", `{read: X}` without `write` is rejected by the js-controller, and `common.write: false` does not protect the source (measured: writing to such an alias overwrote the read source). So the user decides — the checkbox "remove this point when swapping" now appears in this case as well, and "Swap now" stays disabled until someone has decided; the reason shows on the button and as a line in the dialog. Before, the swap started, failed at the controller and left the alias half on the old and half on the new source
772
- * If a write fails during the swap, **nothing** is deleted. The deletions used to run anyway, so an alias that was already half migrated lost points on top of it. Moving an alias has followed that rule for a long time
773
- * "All data points of the device" no longer moves the storage location. For a device with several outputs the workbench creates a folder with one channel per output. The button rebuilds the draft and passed on only the **finished target**; `setzeZiel` reads its last segment as the device name — with several outputs that segment is the output, and it ended up in the folder as well. Every press pushed the location one level deeper, and that is where it was written, too: three clicks produced four folders instead of one (`…Garten-Ventilinsel.POWER2.POWER2.POWER2.POWER2`). The button now passes folder and name separately, the way the output selector next to it has always done. A single-output device was never affected
774
-
775
783
  Older entries: [CHANGELOG_OLD.md](CHANGELOG_OLD.md).
776
784
 
777
785
  ## License
@@ -467,6 +467,10 @@
467
467
  border-bottom:1px solid var(--line);
468
468
  }
469
469
  .erow .geae.tplabw { color:var(--ink-3); background:var(--surface-2); }
470
+ /* Neu in den Alias / faellt heraus - gruen und rot wie in der
471
+ Aenderungskarte, damit beide dasselbe sagen (21.11.2026). */
472
+ .erow .geae.kommt { color:var(--ok, #2e7d32); border-color:currentColor; background:transparent; }
473
+ .erow .geae.geht { color:var(--bad, #c62828); border-color:currentColor; background:transparent; }
470
474
  .leerhilfe .lh2 { margin-top:11px; font-size:12px; color:var(--ink-3); }
471
475
 
472
476
  .footbar {
@@ -924,7 +928,11 @@
924
928
  die Felder darunter auch - und Marken, die unter dem Musterfeld
925
929
  dazukommen, wachsen nach unten, ohne die Zeile zu verschieben.
926
930
  (Unterkanten-Ausrichtung schob genau dann das Feld nach oben.) */
927
- .suggestbox .acts { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; width:100%; }
931
+ /* Zeilenabstand 2px: rutschen die Knoepfe unter die Felder, bringen sie
932
+ ihre 16px fuer die fehlende Beschriftung schon mit. Mit 18px dazu
933
+ stand eine leere Zeile zwischen gelbem Satz und Knoepfen (Ricardo,
934
+ 21.11.2026). Nebeneinander bleibt es bei 18px. */
935
+ .suggestbox .acts { display:flex; gap:2px 18px; align-items:flex-start; flex-wrap:wrap; width:100%; }
928
936
  /* Ein Feld ohne Beschriftung (der Knopf) startet um deren Hoehe tiefer,
929
937
  damit es auf der Feldlinie liegt. */
930
938
  .suggestbox .acts .knoepfe { margin-top:16px; }
@@ -988,7 +996,10 @@
988
996
  .btn.mini.wichtig {
989
997
  background:var(--accent); border-color:var(--accent); color:#fff; font-weight:600;
990
998
  }
991
- .btn.mini.wichtig:hover { filter:brightness(1.08); }
999
+ /* `button.btn:hover:not(:disabled)` ist spezifischer und setzte den
1000
+ hellen Grund - weisse Schrift auf Weiss, der Knopf verschwand unter
1001
+ der Maus (Ricardo, 21.11.2026). Also mit derselben Spezifitaet. */
1002
+ button.btn.mini.wichtig:hover:not(:disabled) { background:var(--accent); filter:brightness(1.08); }
992
1003
  /* Leise Fassung: mit passender Vorlage ist Raten nur ein Nebenweg.
993
1004
  Der Rahmen bleibt (schwache Linienfarbe) - ganz ohne laese sich der
994
1005
  Knopf wie eine Beschriftung (Ricardo, 25.08.2026). */
@@ -1,6 +1,6 @@
1
1
  {
2
- "hinweis": "Gerätewissen, kein Programm. Die Schlüssel sind Tasmota-Befehlsnamen, wie sie in tele/STATE und StatusSTS stehen. %N% steht für die Ausgangsnummer, damit POWER1 bis POWER8 mit einem Eintrag abgedeckt sind.",
3
- "keineBefehle": [
2
+ "note": "Device knowledge, not code. The keys are Tasmota command names as they appear in tele/STATE and StatusSTS. %N% stands for the output number, so one entry covers POWER1 to POWER8. The descriptions shown in the dialog live in admin/i18n (key cmd.<name>, %N% written as N).",
3
+ "notCommands": [
4
4
  "Time",
5
5
  "Uptime",
6
6
  "UptimeSec",
@@ -15,104 +15,89 @@
15
15
  "Vcc",
16
16
  "Command"
17
17
  ],
18
- "befehle": {
18
+ "commands": {
19
19
  "POWER": {
20
- "rolle": "switch",
21
- "typ": "boolean",
22
- "schreibformel": "val ? \"ON\" : \"OFF\"",
23
- "was": "Ausgang schalten"
20
+ "role": "switch",
21
+ "type": "boolean",
22
+ "writeFormula": "val ? \"ON\" : \"OFF\""
24
23
  },
25
24
  "POWER%N%": {
26
- "rolle": "switch",
27
- "typ": "boolean",
28
- "schreibformel": "val ? \"ON\" : \"OFF\"",
29
- "was": "einzelner Ausgang eines Mehrfachgeräts"
25
+ "role": "switch",
26
+ "type": "boolean",
27
+ "writeFormula": "val ? \"ON\" : \"OFF\""
30
28
  },
31
29
  "Dimmer": {
32
- "rolle": "level.dimmer",
33
- "typ": "number",
34
- "einheit": "%",
35
- "was": "Helligkeit 0 bis 100"
30
+ "role": "level.dimmer",
31
+ "type": "number",
32
+ "unit": "%"
36
33
  },
37
34
  "Color": {
38
- "rolle": "level.color.rgb",
39
- "typ": "string",
40
- "was": "Farbe als Hex, etwa F4FFCC"
35
+ "role": "level.color.rgb",
36
+ "type": "string"
41
37
  },
42
38
  "HSBColor": {
43
- "rolle": "level.color.hue",
44
- "typ": "string",
45
- "was": "dieselbe Farbe als Ton, Sättigung, Helligkeit",
46
- "dopplung": "Color"
39
+ "role": "level.color.hue",
40
+ "type": "string",
41
+ "duplicateOf": "Color"
47
42
  },
48
43
  "Channel": {
49
- "rolle": "level.dimmer",
50
- "typ": "string",
51
- "was": "dieselbe Farbe als Kanalliste",
52
- "dopplung": "Color"
44
+ "role": "level.dimmer",
45
+ "type": "string",
46
+ "duplicateOf": "Color"
53
47
  },
54
48
  "CT": {
55
- "rolle": "level.color.temperature",
56
- "typ": "number",
57
- "einheit": "mired",
58
- "was": "Farbtemperatur 153 bis 500"
49
+ "role": "level.color.temperature",
50
+ "type": "number",
51
+ "unit": "mired"
59
52
  },
60
53
  "White": {
61
- "rolle": "level.dimmer",
62
- "typ": "number",
63
- "einheit": "%",
64
- "was": "Weißkanal"
54
+ "role": "level.dimmer",
55
+ "type": "number",
56
+ "unit": "%"
65
57
  },
66
58
  "Scheme": {
67
- "rolle": "level.effect",
68
- "typ": "number",
69
- "werteliste": {
70
- "0": "einfarbig",
71
- "1": "Aufwachen",
72
- "2": "Farben vorwärts",
73
- "3": "Farben rückwärts",
74
- "4": "zufällig"
75
- },
76
- "was": "Effekt"
59
+ "role": "level.effect",
60
+ "type": "number",
61
+ "states": {
62
+ "0": "single colour",
63
+ "1": "wake up",
64
+ "2": "cycle colours up",
65
+ "3": "cycle colours down",
66
+ "4": "random"
67
+ }
77
68
  },
78
69
  "Speed": {
79
- "rolle": "level",
80
- "typ": "number",
81
- "was": "Geschwindigkeit des Effekts, 1 bis 40",
82
- "vorgabeAus": true
70
+ "role": "level",
71
+ "type": "number",
72
+ "offByDefault": true
83
73
  },
84
74
  "Fade": {
85
- "rolle": "switch",
86
- "typ": "boolean",
87
- "schreibformel": "val ? \"ON\" : \"OFF\"",
88
- "was": "weiche Übergänge"
75
+ "role": "switch",
76
+ "type": "boolean",
77
+ "writeFormula": "val ? \"ON\" : \"OFF\""
89
78
  },
90
79
  "LedTable": {
91
- "rolle": "switch",
92
- "typ": "boolean",
93
- "schreibformel": "val ? \"ON\" : \"OFF\"",
94
- "was": "Helligkeitskorrektur für LEDs",
95
- "vorgabeAus": true
80
+ "role": "switch",
81
+ "type": "boolean",
82
+ "writeFormula": "val ? \"ON\" : \"OFF\"",
83
+ "offByDefault": true
96
84
  },
97
85
  "Sleep": {
98
- "rolle": "level",
99
- "typ": "number",
100
- "einheit": "ms",
101
- "was": "Ruhezeit je Durchlauf — nur ändern, wenn man weiß warum",
102
- "vorgabeAus": true
86
+ "role": "level",
87
+ "type": "number",
88
+ "unit": "ms",
89
+ "offByDefault": true
103
90
  },
104
91
  "TelePeriod": {
105
- "rolle": "level",
106
- "typ": "number",
107
- "einheit": "s",
108
- "was": "wie oft das Gerät von sich aus meldet",
109
- "vorgabeAus": true
92
+ "role": "level",
93
+ "type": "number",
94
+ "unit": "s",
95
+ "offByDefault": true
110
96
  },
111
97
  "SleepMode": {
112
- "rolle": "text",
113
- "typ": "string",
114
- "was": "Dynamic oder Normal - Einstellung, keine Geraetefunktion",
115
- "vorgabeAus": true
98
+ "role": "text",
99
+ "type": "string",
100
+ "offByDefault": true
116
101
  }
117
102
  }
118
103
  }