Restore hui-light-card.ts

This commit is contained in:
Zack Barett 2020-11-03 22:59:31 -06:00 committed by GitHub
parent 3d0f492d62
commit ebf0050e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
private _brightnessTimout?: number; private _brightnessTimout?: number;
public getCardSize(): number { public getCardSize(): number {
return 10; return 4;
} }
public setConfig(config: LightCardConfig): void { public setConfig(config: LightCardConfig): void {
@ -267,9 +267,9 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
static get styles(): CSSResult { static get styles(): CSSResult {
return css` return css`
/* :host { :host {
display: block; display: block;
} */ }
ha-card { ha-card {
height: 100%; height: 100%;