mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-05 07:27:47 +00:00
Restore hui-light-card.ts
This commit is contained in:
parent
3d0f492d62
commit
ebf0050e81
@ -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%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user