mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
linter fix
This commit is contained in:
parent
44023c3db7
commit
fe63c12cd9
@ -248,9 +248,7 @@ export class HuiHumidifierCard extends LitElement implements LovelaceCard {
|
||||
}
|
||||
}
|
||||
|
||||
private _getSetHum(
|
||||
stateObj: HassEntity
|
||||
): undefined | number | [number, number] {
|
||||
private _getSetHum(stateObj: HassEntity): undefined | number {
|
||||
if (stateObj.state === UNAVAILABLE) {
|
||||
return undefined;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user