Restore hui-thermostat-card.ts

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

View File

@ -82,7 +82,7 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
@query("ha-card") private _card?: HaCard; @query("ha-card") private _card?: HaCard;
public getCardSize(): number { public getCardSize(): number {
return 14; return 5;
} }
public setConfig(config: ThermostatCardConfig): void { public setConfig(config: ThermostatCardConfig): void {
@ -405,6 +405,10 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
static get styles(): CSSResult { static get styles(): CSSResult {
return css` return css`
:host {
display: block;
}
ha-card { ha-card {
height: 100%; height: 100%;
position: relative; position: relative;