Various fixes

This commit is contained in:
barsdeveloper
2022-09-25 17:26:09 +02:00
parent 4d35c198db
commit e0186fc408
13 changed files with 31 additions and 52 deletions

View File

@@ -35,7 +35,7 @@ export default class BoolPinTemplate extends IInputPinTemplate {
renderInput(pin) {
if (pin.isInput()) {
return html`
<input type="checkbox" class="ueb-pin-input" .checked=${pin.defaultValue=="true" } />
<input type="checkbox" class="ueb-pin-input" .checked=${pin.entity.getDefaultValue()} />
`
}
return super.renderInput(pin)