From abe798d121b0ee2adabd021a90668a58b05419cb Mon Sep 17 00:00:00 2001 From: Robbie Trencheny Date: Fri, 20 Jan 2017 22:03:06 -0800 Subject: [PATCH] Add a more info card for the fan component (#177) * Add a more info card for fan and make the fan icon spin * Add direction support to fan more info * Fix ESLint errors * Fix ESLint errors * Remove spinning fan icon :( --- src/more-infos/more-info-content.html | 15 +-- src/more-infos/more-info-fan.html | 162 ++++++++++++++++++++++++++ src/util/hass-util.html | 6 +- 3 files changed, 173 insertions(+), 10 deletions(-) create mode 100644 src/more-infos/more-info-fan.html diff --git a/src/more-infos/more-info-content.html b/src/more-infos/more-info-content.html index 793563978c..67da253387 100644 --- a/src/more-infos/more-info-content.html +++ b/src/more-infos/more-info-content.html @@ -1,19 +1,20 @@ + + + + - - - - - - - + + + + diff --git a/src/util/hass-util.html b/src/util/hass-util.html index 3bd524f22a..5d69ca2756 100644 --- a/src/util/hass-util.html +++ b/src/util/hass-util.html @@ -23,9 +23,9 @@ window.hassUtil.DOMAINS_WITH_CARD = [ ]; window.hassUtil.DOMAINS_WITH_MORE_INFO = [ - 'light', 'group', 'sun', 'climate', 'configurator', 'cover', - 'script', 'media_player', 'camera', 'updater', 'alarm_control_panel', - 'lock', 'automation', + 'alarm_control_panel', 'automation', 'camera', 'climate', 'configurator', + 'cover', 'fan', 'group', 'light', 'lock', 'media_player', 'script', + 'sun', 'updater', ]; window.hassUtil.DOMAINS_WITH_NO_HISTORY = ['camera', 'configurator', 'scene'];