mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
Add cv.with_visibility(schema, visibility, *keys) to re-mark a built schema's fields, and use it so the template platforms promote the value metadata their users define (device_class, unit_of_measurement, ...) onto the visual editor's main form instead of the advanced disclosure. Pure UI hints; validation and runtime are unchanged.