{#if !loading}
{#if valvesSpec}
{#each Object.keys(valvesSpec.properties) as property, idx}
{valvesSpec.properties[property].title}
{#if (valvesSpec?.required ?? []).includes(property)}
*required
{/if}
{#if (valves[property] ?? null) !== null}
{/if}
{#if (valvesSpec.properties[property]?.description ?? null) !== null}
{valvesSpec.properties[property].description}
{/if}