mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 22:36:35 +00:00
Fix lint
This commit is contained in:
parent
3ebe21e135
commit
e7ec18d270
@ -93,6 +93,7 @@ class StateBadge extends PolymerElement {
|
|||||||
errorMessage = `Type error: state-badge expected number, but type of ${
|
errorMessage = `Type error: state-badge expected number, but type of ${
|
||||||
newVal.entity_id
|
newVal.entity_id
|
||||||
}.attributes.brightness is ${typeof brightness} (${brightness})`;
|
}.attributes.brightness is ${typeof brightness} (${brightness})`;
|
||||||
|
// eslint-disable-next-line
|
||||||
console.warn(errorMessage);
|
console.warn(errorMessage);
|
||||||
}
|
}
|
||||||
// lowest brighntess will be around 50% (that's pretty dark)
|
// lowest brighntess will be around 50% (that's pretty dark)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user