Fix #91. Fix hide full row.
This commit is contained in:
1 parent
f9064d6b56
commit
51d68933cf
4 files changed
+172
-107
No files matched your search
+5
-1
@@ -88,7 +88,10 @@ class SliderEntityRow extends LitElement {
|
||||
`;
|
||||
|
||||
if (this._config.full_row)
|
||||
return content;
|
||||
if(this._config.hide_when_off && c.isOff)
|
||||
return html``;
|
||||
else
|
||||
return content;
|
||||
|
||||
return html`
|
||||
<hui-generic-entity-row
|
||||
@@ -108,6 +111,7 @@ class SliderEntityRow extends LitElement {
|
||||
.state {
|
||||
min-width: 45px;
|
||||
text-align: end;
|
||||
margin-left: 5px;
|
||||
}
|
||||
ha-entity-toggle {
|
||||
margin-left: 8px;
|
||||
|
||||
Reference in new issue
Block a user