/** * Render the built party-board card under jsdom and print its plates. * * Usage: node render-party-board.mjs < spec.json * * The spec JSON carries {bundle, tag, config, hass, url?, click_plate?}; * stdout receives one JSON object {plates, tappable, location, html} where * plates is the ordered plate list the shadow DOM renders (name + * present/away/unknown kind), tappable the plate names rendered as tappable *