Skip to content

What the editor writes

The editor writes only what the card needs:

  • no empty rows: a new entity, object group or zoom area goes into the YAML once something is filled in (the editor keeps showing it meanwhile);
  • no empty options blocks (camera: {}) and no empty values;
  • no switch left at its default value (header: 'yes', click: 'no', shadow: 'no' and so on), nor the overlay size and colours when they are the default ones (33 %, 20 %, transparent, black);
  • numbers without quotes (lumens: 700, not lumens: '700');
  • the objects of a group as plain ids.
object_groups:
- object_group: Kitchen light
objects:
- Sphere_104_101
- Sphere_104_102

The card also accepts:

  • true/false in place of 'yes'/'no' for the switches (the top-level ones, light.shadow, image.lighting_shadow, room.label, tracker.label);
  • the objects of a group as plain ids (above) or as - object_id: ..., as the original card;
  • a type without its options block when no option is needed (type3d: light without light:).

Existing configurations keep working as they are, and the editor rewrites them in the short form only when something is changed.