mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-04 06:57:47 +00:00
Restore hui-thermostat-card.ts
This commit is contained in:
parent
54e99357b5
commit
991d1f0997
@ -82,7 +82,7 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
||||
@query("ha-card") private _card?: HaCard;
|
||||
|
||||
public getCardSize(): number {
|
||||
return 14;
|
||||
return 5;
|
||||
}
|
||||
|
||||
public setConfig(config: ThermostatCardConfig): void {
|
||||
@ -405,6 +405,10 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
:host {
|
||||
display: block;
|
||||
}
|
||||
|
||||
ha-card {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
|
Loading…
x
Reference in New Issue
Block a user