WIP #206 Entity button card
This commit is contained in:
@ -41,6 +41,12 @@ class HACard {
|
||||
);
|
||||
}
|
||||
|
||||
case CardType.entityButton: {
|
||||
return EntityButtonCardWidget(
|
||||
card: this,
|
||||
);
|
||||
}
|
||||
|
||||
case CardType.weatherForecast:
|
||||
case CardType.thermostat:
|
||||
case CardType.sensor:
|
||||
@ -51,7 +57,6 @@ class HACard {
|
||||
case CardType.map:
|
||||
case CardType.iframe:
|
||||
case CardType.gauge:
|
||||
case CardType.entityButton:
|
||||
case CardType.conditional:
|
||||
case CardType.alarmPanel: {
|
||||
return UnsupportedCardWidget(
|
||||
|
@ -5,7 +5,7 @@ class Sizes {
|
||||
static const leftWidgetPadding = 8.0;
|
||||
static const extendedWidgetHeight = 50.0;
|
||||
static const iconSize = 28.0;
|
||||
static const largeIconSize = 34.0;
|
||||
static const largeIconSize = 46.0;
|
||||
static const stateFontSize = 15.0;
|
||||
static const nameFontSize = 15.0;
|
||||
static const smallFontSize = 14.0;
|
||||
|
Reference in New Issue
Block a user