vertical-stack-in-card icon indicating copy to clipboard operation
vertical-stack-in-card copied to clipboard

Feature: Editor

Open acesyde opened this issue 2 years ago • 1 comments

Hi,

Could you add editor support in addition to YAML mode ?

acesyde avatar Apr 29 '22 11:04 acesyde

providing gui editor support can be done by adding these lines to custom js

window.customElements.get('vertical-stack-in-card').getConfigElement = function() {
    return document.createElement('hui-stack-card-editor');
 }

It basically adds the required getConfigElement and then piggybacks on homeassistants built in editor for the horizontal and vertical stack cards.

gilliginsisland avatar Jun 19 '22 04:06 gilliginsisland

Added in v0.4.4.

ofekashery avatar Oct 29 '22 15:10 ofekashery