From 1fdca5f20fa6a88bdb7db8d9e3cb1438a028db27 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Sat, 14 Mar 2020 14:55:12 -0500 Subject: [PATCH] bump to 1.5.0 --- .../interfaces/_fire_event_.hassdomevent.html | 2 +- ....__global.globaleventhandlerseventmap.html | 2 +- .../_haptic_.__global.hassdomevents.html | 2 +- .../_navigate_.__global.hassdomevents.html | 2 +- .../_translations_localize_.formatstype.html | 6 +- .../_types_.__global.hassdomevents.html | 14 ++-- docs/interfaces/_types_.baseactionconfig.html | 2 +- .../_types_.callserviceactionconfig.html | 12 +-- ..._types_.confirmationrestrictionconfig.html | 4 +- docs/interfaces/_types_.credential.html | 4 +- docs/interfaces/_types_.currentuser.html | 12 +-- docs/interfaces/_types_.homeassistant.html | 46 +++++------ docs/interfaces/_types_.lovelacecard.html | 8 +- .../_types_.lovelacecardconfig.html | 6 +- docs/interfaces/_types_.mfamodule.html | 6 +- .../_types_.moreinfoactionconfig.html | 10 +-- .../_types_.navigateactionconfig.html | 10 +-- docs/interfaces/_types_.noactionconfig.html | 6 +- docs/interfaces/_types_.panel.html | 10 +-- .../interfaces/_types_.restrictionconfig.html | 2 +- docs/interfaces/_types_.theme.html | 6 +- docs/interfaces/_types_.themes.html | 4 +- .../_types_.toggleactionconfig.html | 8 +- .../_types_.togglemenuactionconfig.html | 8 +- docs/interfaces/_types_.translation.html | 6 +- docs/interfaces/_types_.urlactionconfig.html | 10 +-- docs/interfaces/_types_.window.html | 14 ++-- docs/modules/_apply_themes_on_element_.html | 2 +- docs/modules/_binary_sensor_icon_.html | 2 +- docs/modules/_compute_card_size_.html | 2 +- docs/modules/_compute_domain_.html | 2 +- docs/modules/_compute_entity_.html | 2 +- docs/modules/_compute_rtl_.html | 4 +- docs/modules/_compute_state_display_.html | 2 +- docs/modules/_compute_state_domain_.html | 2 +- docs/modules/_const_.html | 22 +++--- docs/modules/_cover_icon_.html | 2 +- docs/modules/_create_thing_.html | 50 ++++++------ .../_datetime_duration_to_seconds_.html | 2 +- docs/modules/_datetime_format_date_.html | 4 +- docs/modules/_datetime_format_date_time_.html | 4 +- docs/modules/_datetime_format_time_.html | 4 +- docs/modules/_datetime_relative_time_.html | 6 +- .../_datetime_seconds_to_duration_.html | 4 +- .../_datetime_timer_time_remaining_.html | 2 +- docs/modules/_domain_icons_.html | 78 +++++++++---------- docs/modules/_evaluate_filter_.html | 2 +- docs/modules/_fire_event_.html | 4 +- docs/modules/_get_lovelace_.html | 2 +- docs/modules/_handle_action_.html | 2 +- docs/modules/_handle_click_.html | 2 +- docs/modules/_haptic_.html | 4 +- docs/modules/_has_changed_.html | 2 +- docs/modules/_has_double_click_.html | 2 +- docs/modules/_input_datetime_icon_.html | 2 +- docs/modules/_navigate_.html | 2 +- docs/modules/_scroll_to_target_.html | 2 +- docs/modules/_sensor_icon_.html | 16 ++-- docs/modules/_state_icon_.html | 12 +-- docs/modules/_toggle_entity_.html | 2 +- docs/modules/_translations_localize_.html | 6 +- docs/modules/_turn_on_off_entities_.html | 2 +- docs/modules/_turn_on_off_entity_.html | 2 +- docs/modules/_types_.html | 6 +- package.json | 2 +- 65 files changed, 246 insertions(+), 246 deletions(-) diff --git a/docs/interfaces/_fire_event_.hassdomevent.html b/docs/interfaces/_fire_event_.hassdomevent.html index 9e72c64..f42654f 100644 --- a/docs/interfaces/_fire_event_.hassdomevent.html +++ b/docs/interfaces/_fire_event_.hassdomevent.html @@ -329,7 +329,7 @@

detail

detail: T
diff --git a/docs/interfaces/_haptic_.__global.globaleventhandlerseventmap.html b/docs/interfaces/_haptic_.__global.globaleventhandlerseventmap.html index b2479a7..d63190e 100644 --- a/docs/interfaces/_haptic_.__global.globaleventhandlerseventmap.html +++ b/docs/interfaces/_haptic_.__global.globaleventhandlerseventmap.html @@ -101,7 +101,7 @@

haptic

haptic: HASSDomEvent<HapticType>
diff --git a/docs/interfaces/_haptic_.__global.hassdomevents.html b/docs/interfaces/_haptic_.__global.hassdomevents.html index 9267279..79b540c 100644 --- a/docs/interfaces/_haptic_.__global.hassdomevents.html +++ b/docs/interfaces/_haptic_.__global.hassdomevents.html @@ -101,7 +101,7 @@

haptic

haptic: HapticType
diff --git a/docs/interfaces/_navigate_.__global.hassdomevents.html b/docs/interfaces/_navigate_.__global.hassdomevents.html index 7a26b8a..5e7d49f 100644 --- a/docs/interfaces/_navigate_.__global.hassdomevents.html +++ b/docs/interfaces/_navigate_.__global.hassdomevents.html @@ -101,7 +101,7 @@

location-changed

location-changed: { replace: boolean }
diff --git a/docs/interfaces/_translations_localize_.formatstype.html b/docs/interfaces/_translations_localize_.formatstype.html index 704d9ed..e2d9408 100644 --- a/docs/interfaces/_translations_localize_.formatstype.html +++ b/docs/interfaces/_translations_localize_.formatstype.html @@ -100,7 +100,7 @@

date

@@ -110,7 +110,7 @@

number

number: FormatType
@@ -120,7 +120,7 @@

time

diff --git a/docs/interfaces/_types_.__global.hassdomevents.html b/docs/interfaces/_types_.__global.hassdomevents.html index 6e3391f..a6942c7 100644 --- a/docs/interfaces/_types_.__global.hassdomevents.html +++ b/docs/interfaces/_types_.__global.hassdomevents.html @@ -107,7 +107,7 @@

config-changed

config-changed: { config: any }
@@ -125,7 +125,7 @@

hass-more-info

hass-more-info: { entityId: string | null }
@@ -143,7 +143,7 @@

ll-rebuild

ll-rebuild: {}
@@ -158,7 +158,7 @@

location-changed

location-changed: { replace: boolean }
@@ -176,7 +176,7 @@

show-dialog

show-dialog: {}
@@ -191,7 +191,7 @@

undefined

undefined: any
@@ -201,7 +201,7 @@

value-changed

value-changed: { value: unknown }
diff --git a/docs/interfaces/_types_.baseactionconfig.html b/docs/interfaces/_types_.baseactionconfig.html index caf5951..a2acefc 100644 --- a/docs/interfaces/_types_.baseactionconfig.html +++ b/docs/interfaces/_types_.baseactionconfig.html @@ -121,7 +121,7 @@

Optional confirmation

diff --git a/docs/interfaces/_types_.callserviceactionconfig.html b/docs/interfaces/_types_.callserviceactionconfig.html index cee457d..00c7885 100644 --- a/docs/interfaces/_types_.callserviceactionconfig.html +++ b/docs/interfaces/_types_.callserviceactionconfig.html @@ -108,7 +108,7 @@

action

action: "call-service"
@@ -119,7 +119,7 @@

Optional confirmation

@@ -129,7 +129,7 @@

Optional haptic

haptic: HapticType
@@ -139,7 +139,7 @@

Optional repeat

repeat: number
@@ -149,7 +149,7 @@

service

service: string
@@ -159,7 +159,7 @@

Optional service_data

service_data: { entity_id?: string | [string] }
diff --git a/docs/interfaces/_types_.confirmationrestrictionconfig.html b/docs/interfaces/_types_.confirmationrestrictionconfig.html index 32aa3c4..0b0af54 100644 --- a/docs/interfaces/_types_.confirmationrestrictionconfig.html +++ b/docs/interfaces/_types_.confirmationrestrictionconfig.html @@ -99,7 +99,7 @@

Optional exemptions

exemptions: RestrictionConfig[]
@@ -109,7 +109,7 @@

Optional text

text: string
diff --git a/docs/interfaces/_types_.credential.html b/docs/interfaces/_types_.credential.html index a73b731..36dc308 100644 --- a/docs/interfaces/_types_.credential.html +++ b/docs/interfaces/_types_.credential.html @@ -99,7 +99,7 @@

auth_provider_id

auth_provider_id: string
@@ -109,7 +109,7 @@

auth_provider_type

auth_provider_type: string
diff --git a/docs/interfaces/_types_.currentuser.html b/docs/interfaces/_types_.currentuser.html index e31925f..7a183fd 100644 --- a/docs/interfaces/_types_.currentuser.html +++ b/docs/interfaces/_types_.currentuser.html @@ -103,7 +103,7 @@

credentials

credentials: Credential[]
@@ -113,7 +113,7 @@

id

id: string
@@ -123,7 +123,7 @@

is_admin

is_admin: boolean
@@ -133,7 +133,7 @@

is_owner

is_owner: boolean
@@ -143,7 +143,7 @@

mfa_modules

mfa_modules: MFAModule[]
@@ -153,7 +153,7 @@

name

name: string
diff --git a/docs/interfaces/_types_.homeassistant.html b/docs/interfaces/_types_.homeassistant.html index 20728dd..c819b91 100644 --- a/docs/interfaces/_types_.homeassistant.html +++ b/docs/interfaces/_types_.homeassistant.html @@ -120,7 +120,7 @@

auth

auth: Auth
@@ -130,7 +130,7 @@

callApi

callApi: <T>(method: "GET" | "POST" | "PUT" | "DELETE", path: string, parameters?: {}) => Promise<T>
@@ -178,7 +178,7 @@

callService

callService: (domain: string, service: string, serviceData?: {}) => Promise<void>
@@ -220,7 +220,7 @@

callWS

callWS: <T>(msg: MessageBase) => Promise<T>
@@ -257,7 +257,7 @@

config

config: HassConfig
@@ -267,7 +267,7 @@

connected

connected: boolean
@@ -277,7 +277,7 @@

connection

connection: Connection
@@ -287,7 +287,7 @@

dockedSidebar

dockedSidebar: boolean
@@ -297,7 +297,7 @@

fetchWithAuth

fetchWithAuth: (path: string, init?: {}) => Promise<Response>
@@ -336,7 +336,7 @@

language

language: string
@@ -346,7 +346,7 @@

localize

localize: LocalizeFunc
@@ -356,7 +356,7 @@

moreInfoEntityId

moreInfoEntityId: string
@@ -366,7 +366,7 @@

panelUrl

panelUrl: string
@@ -376,7 +376,7 @@

panels

panels: Panels
@@ -386,7 +386,7 @@

resources

resources: Resources
@@ -396,7 +396,7 @@

selectedLanguage

selectedLanguage: string
@@ -406,7 +406,7 @@

Optional selectedThemeselectedTheme: string | null

@@ -416,7 +416,7 @@

sendWS

sendWS: (msg: MessageBase) => Promise<void>
@@ -447,7 +447,7 @@

services

services: HassServices
@@ -457,7 +457,7 @@

states

states: HassEntities
@@ -467,7 +467,7 @@

themes

themes: Themes
@@ -477,7 +477,7 @@

translationMetadata

translationMetadata: { fragments: string[]; translations: {} }
@@ -503,7 +503,7 @@

user

diff --git a/docs/interfaces/_types_.lovelacecard.html b/docs/interfaces/_types_.lovelacecard.html index fda196d..5098fec 100644 --- a/docs/interfaces/_types_.lovelacecard.html +++ b/docs/interfaces/_types_.lovelacecard.html @@ -918,7 +918,7 @@

Optional hass

@@ -1015,7 +1015,7 @@

Optional isPanel

isPanel: boolean
@@ -3648,7 +3648,7 @@

getCardSize

  • Returns number

    @@ -5124,7 +5124,7 @@

    setConfig

  • Parameters

    diff --git a/docs/interfaces/_types_.lovelacecardconfig.html b/docs/interfaces/_types_.lovelacecardconfig.html index 415ef1d..9b9d4d4 100644 --- a/docs/interfaces/_types_.lovelacecardconfig.html +++ b/docs/interfaces/_types_.lovelacecardconfig.html @@ -104,7 +104,7 @@

    Optional index

    index: number
    @@ -114,7 +114,7 @@

    type

    type: string
    @@ -124,7 +124,7 @@

    Optional view_index

    view_index: number
    diff --git a/docs/interfaces/_types_.mfamodule.html b/docs/interfaces/_types_.mfamodule.html index 02e3509..0f67c7b 100644 --- a/docs/interfaces/_types_.mfamodule.html +++ b/docs/interfaces/_types_.mfamodule.html @@ -100,7 +100,7 @@

    enabled

    enabled: boolean
    @@ -110,7 +110,7 @@

    id

    id: string
    @@ -120,7 +120,7 @@

    name

    name: string
    diff --git a/docs/interfaces/_types_.moreinfoactionconfig.html b/docs/interfaces/_types_.moreinfoactionconfig.html index b4a318d..d32fd01 100644 --- a/docs/interfaces/_types_.moreinfoactionconfig.html +++ b/docs/interfaces/_types_.moreinfoactionconfig.html @@ -107,7 +107,7 @@

    action

    action: "more-info"
    @@ -118,7 +118,7 @@

    Optional confirmation

    @@ -128,7 +128,7 @@

    Optional entity

    entity: string
    @@ -138,7 +138,7 @@

    Optional haptic

    haptic: HapticType
    @@ -148,7 +148,7 @@

    Optional repeat

    repeat: number
    diff --git a/docs/interfaces/_types_.navigateactionconfig.html b/docs/interfaces/_types_.navigateactionconfig.html index a7603b3..6c4376c 100644 --- a/docs/interfaces/_types_.navigateactionconfig.html +++ b/docs/interfaces/_types_.navigateactionconfig.html @@ -107,7 +107,7 @@

    action

    action: "navigate"
    @@ -118,7 +118,7 @@

    Optional confirmation

    @@ -128,7 +128,7 @@

    Optional haptic

    haptic: HapticType
    @@ -138,7 +138,7 @@

    navigation_path

    navigation_path: string
    @@ -148,7 +148,7 @@

    Optional repeat

    repeat: number
    diff --git a/docs/interfaces/_types_.noactionconfig.html b/docs/interfaces/_types_.noactionconfig.html index 9aa47f4..d261283 100644 --- a/docs/interfaces/_types_.noactionconfig.html +++ b/docs/interfaces/_types_.noactionconfig.html @@ -105,7 +105,7 @@

    action

    action: "none"
    @@ -116,7 +116,7 @@

    Optional confirmation

    @@ -126,7 +126,7 @@

    Optional repeat

    repeat: number
    diff --git a/docs/interfaces/_types_.panel.html b/docs/interfaces/_types_.panel.html index 34395a2..291dcc5 100644 --- a/docs/interfaces/_types_.panel.html +++ b/docs/interfaces/_types_.panel.html @@ -102,7 +102,7 @@

    component_name

    component_name: string
    @@ -112,7 +112,7 @@

    config

    config: {} | null
    @@ -122,7 +122,7 @@

    icon

    icon: string | null
    @@ -132,7 +132,7 @@

    title

    title: string | null
    @@ -142,7 +142,7 @@

    url_path

    url_path: string
    diff --git a/docs/interfaces/_types_.restrictionconfig.html b/docs/interfaces/_types_.restrictionconfig.html index 5213fd9..053731c 100644 --- a/docs/interfaces/_types_.restrictionconfig.html +++ b/docs/interfaces/_types_.restrictionconfig.html @@ -98,7 +98,7 @@

    user

    user: string
    diff --git a/docs/interfaces/_types_.theme.html b/docs/interfaces/_types_.theme.html index 9b167eb..7fddaba 100644 --- a/docs/interfaces/_types_.theme.html +++ b/docs/interfaces/_types_.theme.html @@ -100,7 +100,7 @@

    accent-color

    accent-color: string
    @@ -110,7 +110,7 @@

    primary-color

    primary-color: string
    @@ -120,7 +120,7 @@

    text-primary-color

    text-primary-color: string
    diff --git a/docs/interfaces/_types_.themes.html b/docs/interfaces/_types_.themes.html index 54c3be8..2a43c2a 100644 --- a/docs/interfaces/_types_.themes.html +++ b/docs/interfaces/_types_.themes.html @@ -99,7 +99,7 @@

    default_theme

    default_theme: string
    @@ -109,7 +109,7 @@

    themes

    themes: {}
    diff --git a/docs/interfaces/_types_.toggleactionconfig.html b/docs/interfaces/_types_.toggleactionconfig.html index db1db51..f65d5f6 100644 --- a/docs/interfaces/_types_.toggleactionconfig.html +++ b/docs/interfaces/_types_.toggleactionconfig.html @@ -106,7 +106,7 @@

    action

    action: "toggle"
    @@ -117,7 +117,7 @@

    Optional confirmation

    @@ -127,7 +127,7 @@

    Optional haptic

    haptic: HapticType
    @@ -137,7 +137,7 @@

    Optional repeat

    repeat: number
    diff --git a/docs/interfaces/_types_.togglemenuactionconfig.html b/docs/interfaces/_types_.togglemenuactionconfig.html index cc11f1c..c382a71 100644 --- a/docs/interfaces/_types_.togglemenuactionconfig.html +++ b/docs/interfaces/_types_.togglemenuactionconfig.html @@ -106,7 +106,7 @@

    action

    action: "toggle-menu"
    @@ -117,7 +117,7 @@

    Optional confirmation

    @@ -127,7 +127,7 @@

    Optional haptic

    haptic: HapticType
    @@ -137,7 +137,7 @@

    Optional repeat

    repeat: number
    diff --git a/docs/interfaces/_types_.translation.html b/docs/interfaces/_types_.translation.html index 8f974a4..23df21b 100644 --- a/docs/interfaces/_types_.translation.html +++ b/docs/interfaces/_types_.translation.html @@ -100,7 +100,7 @@

    fingerprints

    fingerprints: {}
    @@ -118,7 +118,7 @@

    isRTL

    isRTL: boolean
    @@ -128,7 +128,7 @@

    nativeName

    nativeName: string
    diff --git a/docs/interfaces/_types_.urlactionconfig.html b/docs/interfaces/_types_.urlactionconfig.html index 1f3b11d..16cf0c7 100644 --- a/docs/interfaces/_types_.urlactionconfig.html +++ b/docs/interfaces/_types_.urlactionconfig.html @@ -107,7 +107,7 @@

    action

    action: "url"
    @@ -118,7 +118,7 @@

    Optional confirmation

    @@ -128,7 +128,7 @@

    Optional haptic

    haptic: HapticType
    @@ -138,7 +138,7 @@

    Optional repeat

    repeat: number
    @@ -148,7 +148,7 @@

    url_path

    url_path: string
    diff --git a/docs/interfaces/_types_.window.html b/docs/interfaces/_types_.window.html index 44f10ff..f2e33c7 100644 --- a/docs/interfaces/_types_.window.html +++ b/docs/interfaces/_types_.window.html @@ -99,7 +99,7 @@

    ShadyCSS

    ShadyCSS: { nativeCss: boolean; nativeShadow: boolean; getComputedStyleValue: any; prepareTemplate: any; styleDocument: any; styleElement: any; styleSubtree: any }
    @@ -120,7 +120,7 @@
    getComputedStyleValue:

    Parameters

    @@ -145,7 +145,7 @@
    prepareTemplate: function

    Parameters

    @@ -173,7 +173,7 @@
    styleDocument: function
  • Parameters

    @@ -195,7 +195,7 @@
    styleElement: function
  • Parameters

    @@ -217,7 +217,7 @@
    styleSubtree: function
  • Parameters

    @@ -242,7 +242,7 @@

    customPanelJS

    customPanelJS: string
    diff --git a/docs/modules/_apply_themes_on_element_.html b/docs/modules/_apply_themes_on_element_.html index 0c905d6..50d36df 100644 --- a/docs/modules/_apply_themes_on_element_.html +++ b/docs/modules/_apply_themes_on_element_.html @@ -91,7 +91,7 @@

    Const applyThemesOnElem
  • diff --git a/docs/modules/_binary_sensor_icon_.html b/docs/modules/_binary_sensor_icon_.html index dea50cd..4501be8 100644 --- a/docs/modules/_binary_sensor_icon_.html +++ b/docs/modules/_binary_sensor_icon_.html @@ -91,7 +91,7 @@

    Const binarySensorIcon<
  • diff --git a/docs/modules/_compute_card_size_.html b/docs/modules/_compute_card_size_.html index 8682718..93ff8c3 100644 --- a/docs/modules/_compute_card_size_.html +++ b/docs/modules/_compute_card_size_.html @@ -91,7 +91,7 @@

    Const computeCardSize

    Parameters

    diff --git a/docs/modules/_compute_domain_.html b/docs/modules/_compute_domain_.html index 00a84f8..304eb06 100644 --- a/docs/modules/_compute_domain_.html +++ b/docs/modules/_compute_domain_.html @@ -91,7 +91,7 @@

    computeDomain

  • Parameters

    diff --git a/docs/modules/_compute_entity_.html b/docs/modules/_compute_entity_.html index 282f72f..6b6892b 100644 --- a/docs/modules/_compute_entity_.html +++ b/docs/modules/_compute_entity_.html @@ -91,7 +91,7 @@

    computeEntity

  • Parameters

    diff --git a/docs/modules/_compute_rtl_.html b/docs/modules/_compute_rtl_.html index ce60873..a25ae42 100644 --- a/docs/modules/_compute_rtl_.html +++ b/docs/modules/_compute_rtl_.html @@ -92,7 +92,7 @@

    computeRTL

  • Parameters

    @@ -115,7 +115,7 @@

    computeRTLDirection

  • Parameters

    diff --git a/docs/modules/_compute_state_display_.html b/docs/modules/_compute_state_display_.html index 92c58a6..a0edf78 100644 --- a/docs/modules/_compute_state_display_.html +++ b/docs/modules/_compute_state_display_.html @@ -91,7 +91,7 @@

    computeStateDisplay

  • Parameters

    diff --git a/docs/modules/_compute_state_domain_.html b/docs/modules/_compute_state_domain_.html index c411bde..245a9da 100644 --- a/docs/modules/_compute_state_domain_.html +++ b/docs/modules/_compute_state_domain_.html @@ -91,7 +91,7 @@

    computeStateDomain

  • Parameters

    diff --git a/docs/modules/_const_.html b/docs/modules/_const_.html index f264b7b..801854e 100644 --- a/docs/modules/_const_.html +++ b/docs/modules/_const_.html @@ -104,7 +104,7 @@

    Const DEFAULT_DOMAIN_IC
    DEFAULT_DOMAIN_ICON: "hass:bookmark" = "hass:bookmark"
    @@ -119,7 +119,7 @@

    Const DEFAULT_PANEL

    DEFAULT_PANEL: "lovelace" = "lovelace"
    @@ -134,7 +134,7 @@

    Const DEFAULT_VIEW_ENTI
    DEFAULT_VIEW_ENTITY_ID: "group.default_view" = "group.default_view"
    @@ -149,7 +149,7 @@

    Const DOMAINS_HIDE_MORE
    DOMAINS_HIDE_MORE_INFO: string[] = ["input_number","input_select","input_text","scene","weblink"]
    @@ -164,7 +164,7 @@

    Const DOMAINS_MORE_INFO
    DOMAINS_MORE_INFO_NO_HISTORY: string[] = ["camera","configurator","history_graph","scene"]
    @@ -179,7 +179,7 @@

    Const DOMAINS_TOGGLE

    DOMAINS_TOGGLE: Set<string> = new Set(["fan","input_boolean","light","switch","group","automation"])
    @@ -194,7 +194,7 @@

    Const DOMAINS_WITH_CARD
    DOMAINS_WITH_CARD: string[] = ["climate","cover","configurator","input_select","input_number","input_text","lock","media_player","scene","script","timer","vacuum","water_heater","weblink"]
    @@ -209,7 +209,7 @@

    Const DOMAINS_WITH_MORE
    DOMAINS_WITH_MORE_INFO: string[] = ["alarm_control_panel","automation","camera","climate","configurator","cover","fan","group","history_graph","input_datetime","light","lock","media_player","script","sun","updater","vacuum","water_heater","weather"]
    @@ -224,7 +224,7 @@

    Const STATES_OFF

    STATES_OFF: string[] = ["closed", "locked", "off"]
    @@ -239,7 +239,7 @@

    Const UNIT_C

    UNIT_C: "°C" = "°C"
    @@ -254,7 +254,7 @@

    Const UNIT_F

    UNIT_F: "°F" = "°F"
    diff --git a/docs/modules/_cover_icon_.html b/docs/modules/_cover_icon_.html index dc74b2d..a7958e9 100644 --- a/docs/modules/_cover_icon_.html +++ b/docs/modules/_cover_icon_.html @@ -91,7 +91,7 @@

    Const coverIcon

  • Parameters

    diff --git a/docs/modules/_create_thing_.html b/docs/modules/_create_thing_.html index dd1b409..84365b5 100644 --- a/docs/modules/_create_thing_.html +++ b/docs/modules/_create_thing_.html @@ -99,7 +99,7 @@

    Const SPECIAL_TYPES

    SPECIAL_TYPES: Set<string> = new Set(["call-service","divider","section","weblink","cast","select"])
    @@ -116,7 +116,7 @@

    Const createThing

  • Parameters

    @@ -141,7 +141,7 @@

    Const DOMAIN_TO_ELEMENT
    DOMAIN_TO_ELEMENT_TYPE: object
    @@ -150,7 +150,7 @@

    alert

    alert: string = "toggle"
    @@ -160,7 +160,7 @@

    automation

    automation: string = "toggle"
    @@ -170,7 +170,7 @@

    climate

    climate: string = "climate"
    @@ -180,7 +180,7 @@

    cover

    cover: string = "cover"
    @@ -190,7 +190,7 @@

    fan

    fan: string = "toggle"
    @@ -200,7 +200,7 @@

    group

    group: string = "group"
    @@ -210,7 +210,7 @@

    input_boolean

    input_boolean: string = "toggle"
    @@ -220,7 +220,7 @@

    input_datetime

    input_datetime: string = "input-datetime"
    @@ -230,7 +230,7 @@

    input_number

    input_number: string = "input-number"
    @@ -240,7 +240,7 @@

    input_select

    input_select: string = "input-select"
    @@ -250,7 +250,7 @@

    input_text

    input_text: string = "input-text"
    @@ -260,7 +260,7 @@

    light

    light: string = "toggle"
    @@ -270,7 +270,7 @@

    lock

    lock: string = "lock"
    @@ -280,7 +280,7 @@

    media_player

    media_player: string = "media-player"
    @@ -290,7 +290,7 @@

    remote

    remote: string = "toggle"
    @@ -300,7 +300,7 @@

    scene

    scene: string = "scene"
    @@ -310,7 +310,7 @@

    script

    script: string = "script"
    @@ -320,7 +320,7 @@

    sensor

    sensor: string = "sensor"
    @@ -330,7 +330,7 @@

    switch

    switch: string = "toggle"
    @@ -340,7 +340,7 @@

    timer

    timer: string = "timer"
    @@ -350,7 +350,7 @@

    vacuum

    vacuum: string = "toggle"
    @@ -360,7 +360,7 @@

    water_heater

    water_heater: string = "climate"
    diff --git a/docs/modules/_datetime_duration_to_seconds_.html b/docs/modules/_datetime_duration_to_seconds_.html index b0c6329..a291782 100644 --- a/docs/modules/_datetime_duration_to_seconds_.html +++ b/docs/modules/_datetime_duration_to_seconds_.html @@ -91,7 +91,7 @@

    durationToSeconds

  • Parameters

    diff --git a/docs/modules/_datetime_format_date_.html b/docs/modules/_datetime_format_date_.html index eb6e551..3bb1a37 100644 --- a/docs/modules/_datetime_format_date_.html +++ b/docs/modules/_datetime_format_date_.html @@ -93,7 +93,7 @@

    Const formatDate

    formatDate: (Anonymous function) = (toLocaleDateStringSupportsOptions()? (dateObj: Date, locales: string) =>dateObj.toLocaleDateString(locales, {year: "numeric",month: "long",day: "numeric",}): (dateObj: Date) => fecha.format(dateObj, "mediumDate"))
    @@ -110,7 +110,7 @@

    toLocaleDateStringSupportsOptions

  • Returns boolean

    diff --git a/docs/modules/_datetime_format_date_time_.html b/docs/modules/_datetime_format_date_time_.html index ff386d3..463f673 100644 --- a/docs/modules/_datetime_format_date_time_.html +++ b/docs/modules/_datetime_format_date_time_.html @@ -93,7 +93,7 @@

    Const formatDateTimeformatDateTime: (Anonymous function) = (toLocaleStringSupportsOptions()? (dateObj: Date, locales: string) =>dateObj.toLocaleString(locales, {year: "numeric",month: "long",day: "numeric",hour: "numeric",minute: "2-digit",}): (dateObj: Date) => fecha.format(dateObj, "haDateTime"))

  • @@ -110,7 +110,7 @@

    toLocaleStringSupportsOptions

  • Returns boolean

    diff --git a/docs/modules/_datetime_format_time_.html b/docs/modules/_datetime_format_time_.html index 4c05a2e..e5ba53f 100644 --- a/docs/modules/_datetime_format_time_.html +++ b/docs/modules/_datetime_format_time_.html @@ -93,7 +93,7 @@

    Const formatTime

    formatTime: (Anonymous function) = (toLocaleTimeStringSupportsOptions()? (dateObj: Date, locales: string) =>dateObj.toLocaleTimeString(locales, {hour: "numeric",minute: "2-digit",}): (dateObj: Date) => fecha.format(dateObj, "shortTime"))
    @@ -110,7 +110,7 @@

    toLocaleTimeStringSupportsOptions

  • Returns boolean

    diff --git a/docs/modules/_datetime_relative_time_.html b/docs/modules/_datetime_relative_time_.html index 7d8acbd..d4a1ca4 100644 --- a/docs/modules/_datetime_relative_time_.html +++ b/docs/modules/_datetime_relative_time_.html @@ -94,7 +94,7 @@

    Const langKey

    langKey: string[] = ["second", "minute", "hour", "day"]
    @@ -104,7 +104,7 @@

    Const tests

    tests: number[] = [60, 60, 24, 7]
    @@ -127,7 +127,7 @@

    relativeTime

  • Parameters

    diff --git a/docs/modules/_datetime_seconds_to_duration_.html b/docs/modules/_datetime_seconds_to_duration_.html index 28e0c2e..fe3ee25 100644 --- a/docs/modules/_datetime_seconds_to_duration_.html +++ b/docs/modules/_datetime_seconds_to_duration_.html @@ -92,7 +92,7 @@

    Const leftPad

  • Parameters

    @@ -115,7 +115,7 @@

    secondsToDuration

  • Parameters

    diff --git a/docs/modules/_datetime_timer_time_remaining_.html b/docs/modules/_datetime_timer_time_remaining_.html index 7ccae27..ab3fa5e 100644 --- a/docs/modules/_datetime_timer_time_remaining_.html +++ b/docs/modules/_datetime_timer_time_remaining_.html @@ -91,7 +91,7 @@

    timerTimeRemaining

  • Parameters

    diff --git a/docs/modules/_domain_icons_.html b/docs/modules/_domain_icons_.html index bbadeb2..c553c83 100644 --- a/docs/modules/_domain_icons_.html +++ b/docs/modules/_domain_icons_.html @@ -97,7 +97,7 @@

    domainIcon

  • Parameters

    @@ -122,7 +122,7 @@

    Const fixedIcons

    fixedIcons: object
    @@ -131,7 +131,7 @@

    alert

    alert: string = "hass:alert"
    @@ -141,7 +141,7 @@

    automation

    automation: string = "hass:playlist-play"
    @@ -151,7 +151,7 @@

    calendar

    calendar: string = "hass:calendar"
    @@ -161,7 +161,7 @@

    camera

    camera: string = "hass:video"
    @@ -171,7 +171,7 @@

    climate

    climate: string = "hass:thermostat"
    @@ -181,7 +181,7 @@

    configurator

    configurator: string = "hass:settings"
    @@ -191,7 +191,7 @@

    conversation

    conversation: string = "hass:text-to-speech"
    @@ -201,7 +201,7 @@

    device_tracker

    device_tracker: string = "hass:account"
    @@ -211,7 +211,7 @@

    fan

    fan: string = "hass:fan"
    @@ -221,7 +221,7 @@

    group

    group: string = "hass:google-circles-communities"
    @@ -231,7 +231,7 @@

    history_graph

    history_graph: string = "hass:chart-line"
    @@ -241,7 +241,7 @@

    homeassistant

    homeassistant: string = "hass:home-assistant"
    @@ -251,7 +251,7 @@

    homekit

    homekit: string = "hass:home-automation"
    @@ -261,7 +261,7 @@

    image_processing

    image_processing: string = "hass:image-filter-frames"
    @@ -271,7 +271,7 @@

    input_boolean

    input_boolean: string = "hass:drawing"
    @@ -281,7 +281,7 @@

    input_datetime

    input_datetime: string = "hass:calendar-clock"
    @@ -291,7 +291,7 @@

    input_number

    input_number: string = "hass:ray-vertex"
    @@ -301,7 +301,7 @@

    input_select

    input_select: string = "hass:format-list-bulleted"
    @@ -311,7 +311,7 @@

    input_text

    input_text: string = "hass:textbox"
    @@ -321,7 +321,7 @@

    light

    light: string = "hass:lightbulb"
    @@ -331,7 +331,7 @@

    mailbox

    mailbox: string = "hass:mailbox"
    @@ -341,7 +341,7 @@

    notify

    notify: string = "hass:comment-alert"
    @@ -351,7 +351,7 @@

    person

    person: string = "hass:account"
    @@ -361,7 +361,7 @@

    plant

    plant: string = "hass:flower"
    @@ -371,7 +371,7 @@

    proximity

    proximity: string = "hass:apple-safari"
    @@ -381,7 +381,7 @@

    remote

    remote: string = "hass:remote"
    @@ -391,7 +391,7 @@

    scene

    scene: string = "hass:google-pages"
    @@ -401,7 +401,7 @@

    script

    script: string = "hass:file-document"
    @@ -411,7 +411,7 @@

    sensor

    sensor: string = "hass:eye"
    @@ -421,7 +421,7 @@

    simple_alarm

    simple_alarm: string = "hass:bell"
    @@ -431,7 +431,7 @@

    sun

    sun: string = "hass:white-balance-sunny"
    @@ -441,7 +441,7 @@

    switch

    switch: string = "hass:flash"
    @@ -451,7 +451,7 @@

    timer

    timer: string = "hass:timer"
    @@ -461,7 +461,7 @@

    updater

    updater: string = "hass:cloud-upload"
    @@ -471,7 +471,7 @@

    vacuum

    vacuum: string = "hass:robot-vacuum"
    @@ -481,7 +481,7 @@

    water_heater

    water_heater: string = "hass:thermometer"
    @@ -491,7 +491,7 @@

    weblink

    weblink: string = "hass:open-in-new"
    diff --git a/docs/modules/_evaluate_filter_.html b/docs/modules/_evaluate_filter_.html index 3ec9d33..cdb48d9 100644 --- a/docs/modules/_evaluate_filter_.html +++ b/docs/modules/_evaluate_filter_.html @@ -91,7 +91,7 @@

    Const evaluateFilter

  • Parameters

    diff --git a/docs/modules/_fire_event_.html b/docs/modules/_fire_event_.html index cfe8b17..f3be951 100644 --- a/docs/modules/_fire_event_.html +++ b/docs/modules/_fire_event_.html @@ -105,7 +105,7 @@

    ValidHassDomEvent

    ValidHassDomEvent: keyof HASSDomEvents
    @@ -122,7 +122,7 @@

    Const fireEvent

  • diff --git a/docs/modules/_get_lovelace_.html b/docs/modules/_get_lovelace_.html index 675f2ab..285e52e 100644 --- a/docs/modules/_get_lovelace_.html +++ b/docs/modules/_get_lovelace_.html @@ -91,7 +91,7 @@

    Const getLovelace

  • Returns any

    diff --git a/docs/modules/_handle_action_.html b/docs/modules/_handle_action_.html index 757dff0..f3835af 100644 --- a/docs/modules/_handle_action_.html +++ b/docs/modules/_handle_action_.html @@ -91,7 +91,7 @@

    Const handleAction

  • Parameters

    diff --git a/docs/modules/_handle_click_.html b/docs/modules/_handle_click_.html index b49036a..327810e 100644 --- a/docs/modules/_handle_click_.html +++ b/docs/modules/_handle_click_.html @@ -91,7 +91,7 @@

    Const handleClick

  • Parameters

    diff --git a/docs/modules/_haptic_.html b/docs/modules/_haptic_.html index 9d105ab..2816ab6 100644 --- a/docs/modules/_haptic_.html +++ b/docs/modules/_haptic_.html @@ -99,7 +99,7 @@

    HapticType

    HapticType: "success" | "warning" | "failure" | "light" | "medium" | "heavy" | "selection"
    @@ -121,7 +121,7 @@

    Const forwardHaptic

  • Parameters

    diff --git a/docs/modules/_has_changed_.html b/docs/modules/_has_changed_.html index 375cea2..5caf234 100644 --- a/docs/modules/_has_changed_.html +++ b/docs/modules/_has_changed_.html @@ -91,7 +91,7 @@

    hasConfigOrEntityChanged

  • Parameters

    diff --git a/docs/modules/_has_double_click_.html b/docs/modules/_has_double_click_.html index 7de12f3..566bc29 100644 --- a/docs/modules/_has_double_click_.html +++ b/docs/modules/_has_double_click_.html @@ -91,7 +91,7 @@

    hasDoubleClick

  • Parameters

    diff --git a/docs/modules/_input_datetime_icon_.html b/docs/modules/_input_datetime_icon_.html index fa183cc..80cdc69 100644 --- a/docs/modules/_input_datetime_icon_.html +++ b/docs/modules/_input_datetime_icon_.html @@ -91,7 +91,7 @@

    Const inputDateTime

    Parameters

    diff --git a/docs/modules/_navigate_.html b/docs/modules/_navigate_.html index fe27abe..e1473e2 100644 --- a/docs/modules/_navigate_.html +++ b/docs/modules/_navigate_.html @@ -97,7 +97,7 @@

    Const navigate

  • Parameters

    diff --git a/docs/modules/_scroll_to_target_.html b/docs/modules/_scroll_to_target_.html index 66334eb..a1c0325 100644 --- a/docs/modules/_scroll_to_target_.html +++ b/docs/modules/_scroll_to_target_.html @@ -91,7 +91,7 @@

    scrollToTarget

  • diff --git a/docs/modules/_sensor_icon_.html b/docs/modules/_sensor_icon_.html index 324a6e9..64f4ab2 100644 --- a/docs/modules/_sensor_icon_.html +++ b/docs/modules/_sensor_icon_.html @@ -97,7 +97,7 @@

    Const sensorIcon

  • Parameters

    @@ -119,7 +119,7 @@

    Const fixedDeviceClass<
    fixedDeviceClassIcons: object
    @@ -128,7 +128,7 @@

    humidity

    humidity: string = "hass:water-percent"
    @@ -138,7 +138,7 @@

    illuminance

    illuminance: string = "hass:brightness-5"
    @@ -148,7 +148,7 @@

    power

    power: string = "hass:flash"
    @@ -158,7 +158,7 @@

    pressure

    pressure: string = "hass:gauge"
    @@ -168,7 +168,7 @@

    signal_strength

    signal_strength: string = "hass:wifi"
    @@ -178,7 +178,7 @@

    temperature

    temperature: string = "hass:thermometer"
    diff --git a/docs/modules/_state_icon_.html b/docs/modules/_state_icon_.html index 853fb02..a885a1d 100644 --- a/docs/modules/_state_icon_.html +++ b/docs/modules/_state_icon_.html @@ -97,7 +97,7 @@

    Const stateIcon

  • Parameters

    @@ -119,7 +119,7 @@

    Const domainIcons

    domainIcons: object
    @@ -128,7 +128,7 @@

    binary_sensor

    binary_sensor: binarySensorIcon = binarySensorIcon
    @@ -138,7 +138,7 @@

    cover

    cover: coverIcon = coverIcon
    @@ -148,7 +148,7 @@

    input_datetime

    input_datetime: inputDateTimeIcon = inputDateTimeIcon
    @@ -158,7 +158,7 @@

    sensor

    sensor: sensorIcon = sensorIcon
    diff --git a/docs/modules/_toggle_entity_.html b/docs/modules/_toggle_entity_.html index 302c2d8..031df32 100644 --- a/docs/modules/_toggle_entity_.html +++ b/docs/modules/_toggle_entity_.html @@ -91,7 +91,7 @@

    Const toggleEntity

  • Parameters

    diff --git a/docs/modules/_translations_localize_.html b/docs/modules/_translations_localize_.html index d1fb96c..9294a5c 100644 --- a/docs/modules/_translations_localize_.html +++ b/docs/modules/_translations_localize_.html @@ -101,7 +101,7 @@

    LocalizeFunc

    LocalizeFunc: (key: string, ...args: any[]) => string
    @@ -142,7 +142,7 @@

    Const computeLocalize

  • @@ -184,7 +184,7 @@

    Const localizeKey

  • diff --git a/docs/modules/_turn_on_off_entities_.html b/docs/modules/_turn_on_off_entities_.html index 3c1d24c..a83bae4 100644 --- a/docs/modules/_turn_on_off_entities_.html +++ b/docs/modules/_turn_on_off_entities_.html @@ -91,7 +91,7 @@

    Const turnOnOffEntities
  • Parameters

    diff --git a/docs/modules/_turn_on_off_entity_.html b/docs/modules/_turn_on_off_entity_.html index 824ca75..912349e 100644 --- a/docs/modules/_turn_on_off_entity_.html +++ b/docs/modules/_turn_on_off_entity_.html @@ -91,7 +91,7 @@

    Const turnOnOffEntity

    Parameters

    diff --git a/docs/modules/_types_.html b/docs/modules/_types_.html index b562ac2..2a206fb 100644 --- a/docs/modules/_types_.html +++ b/docs/modules/_types_.html @@ -123,7 +123,7 @@

    ActionConfig

    @@ -133,7 +133,7 @@

    LocalizeFunc

    LocalizeFunc: (key: string, ...args: any[]) => string
    @@ -167,7 +167,7 @@

    ValidHassDomEvent

    ValidHassDomEvent: keyof HASSDomEvents
    diff --git a/package.json b/package.json index 9bc40e6..6c28bb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "custom-card-helpers", - "version": "1.3.3", + "version": "1.5.0", "description": "Set of helpful functions and types for Custom Card creators", "main": "dist/index.js", "umd:main": "dist/index.umd.js",