MCPcopy Create free account

hub / github.com/Rishi8078/TimeFlow-Card / functions

Functions438 in github.com/Rishi8078/TimeFlow-Card

↓ 33 callersFunctione
(e,t,i,s)
timeflow-card.js:1
↓ 32 callersMethodtoString
()
timeflow-card.js:1
↓ 26 callersMethodget
()
timeflow-card.js:1
↓ 26 callersMethodset
(e)
timeflow-card.js:1
↓ 22 callersFunctionde
(e)
timeflow-card.js:1
↓ 18 callersMethodrequestUpdate
(e,t,i)
timeflow-card.js:1
↓ 17 callersMethodget
(key: string)
src/services/TemplateService.ts:15
↓ 16 callersMethodset
(key: string, value: T)
src/services/TemplateService.ts:19
↓ 14 callersMethodhas
(e)
timeflow-card.js:1
↓ 11 callersFunctionCe
(e,t,i="mainDisplay")
timeflow-card.js:1
↓ 11 callersFunctiongetUnitLabel
(unit: TimeUnitType, value: number, style: LabelStyle = 'mainDisplay')
src/utils/TimeUtils.ts:201
↓ 11 callersMethodhas
(key: string)
src/services/TemplateService.ts:26
↓ 11 callersFunctionue
(e)
timeflow-card.js:1
↓ 10 callersMethodgetTimerData
(e,t)
timeflow-card.js:1
↓ 10 callersMethodgetTimerData
* Gets timer data from a Home Assistant timer entity (including Alexa and Google timers) * @param entityId - Timer entity ID * @param hass - Hom
src/services/Timer.ts:99
↓ 10 callersMethodgetTimerSubtitle
* Gets subtitle text for timer display * @param timerData - Timer data object * @param showSeconds - Whether to show seconds in display * @pa
src/services/Timer.ts:388
↓ 10 callersMethodisTimerExpired
(e)
timeflow-card.js:1
↓ 10 callersMethodisTimerExpired
* Checks if a timer is expired * @param timerData - Timer data object * @returns boolean - Whether the timer is expired
src/services/Timer.ts:365
↓ 9 callersMethodgetTimerSubtitle
(e,t=!0,i,s=!0)
timeflow-card.js:1
↓ 9 callersMethodisTemplate
(e)
timeflow-card.js:1
↓ 9 callersMethodisTemplate
* Detects if a value contains Home Assistant templates * @param {*} value - Value to check * @returns {boolean} - Whether the value is a templat
src/utils/ConfigValidator.ts:525
↓ 8 callersMethodgetSubtitle
(e,t,i,s=!0)
timeflow-card.js:1
↓ 8 callersMethodgetSubtitle
* Gets the subtitle text showing time breakdown (enhanced for Alexa and Google Home) * @param {Object} config - Card configuration * @param {Obj
src/services/CountdownService.ts:569
↓ 7 callersMethodcreateElement
(e,t)
timeflow-card.js:1
↓ 7 callersMethodextractTimerEntry
(e)
timeflow-card.js:1
↓ 7 callersMethodextractTimerEntry
* Helper to extract id and data from timer entry * Handles both old tuple format [id, data] and new object format {id, ...data} * @param entry -
src/services/AlexaTimer.ts:454
↓ 7 callersMethodformatRemainingTime
(e,t=!0,i,s=!0)
timeflow-card.js:1
↓ 7 callersMethodformatRemainingTime
* Formats remaining time as human-readable string * @param remaining - Remaining time in seconds * @param showSeconds - Whether to include secon
src/services/Timer.ts:213
↓ 7 callersMethodresolveValue
(e)
timeflow-card.js:1
↓ 7 callersMethodresolveValue
* Enhanced value resolver that handles entities, templates, and plain strings * @param {*} value - Value to resolve * @returns {Promise<*>} - Re
src/services/TemplateService.ts:313
↓ 6 callersFunctiona
(e,...t)
timeflow-card.js:1
↓ 6 callersMethoddelete
(e)
timeflow-card.js:1
↓ 6 callersMethoddelete
(key: string)
src/services/TemplateService.ts:30
↓ 6 callersMethodgetStubConfig
()
timeflow-card.js:456
↓ 6 callersMethodgetStubConfig
()
src/components/TimeFlowCard.ts:479
↓ 5 callersFunctionE
()
timeflow-card.js:1
↓ 5 callersFunctionI
timeflow-card.js:1
↓ 5 callersFunctionJ
(e,t,i=e,s)
timeflow-card.js:1
↓ 5 callersMethod_getSafeGridValue
(e,t)
timeflow-card.js:679
↓ 5 callersMethod_getSafeGridValue
(value: number, fallback: number)
src/components/ProgressGrid.ts:74
↓ 5 callersMethod_timerDataToCountdownState
(e)
timeflow-card.js:1
↓ 5 callersMethod_timerDataToCountdownState
* Converts TimerData to CountdownState for unified interface
src/services/CountdownService.ts:679
↓ 5 callersFunctiony
(e,t)
timeflow-card.js:1
↓ 4 callersFunctionGe
(e)
timeflow-card.js:1
↓ 4 callersFunctionWe
(e,t)
timeflow-card.js:1
↓ 4 callersMethod_$AI
(e,t=this)
timeflow-card.js:1
↓ 4 callersMethod_$AR
(e=this._$AA.nextSibling,t)
timeflow-card.js:1
↓ 4 callersMethod_buildZeroState
()
timeflow-card.js:1
↓ 4 callersMethod_buildZeroState
()
src/services/CountdownService.ts:44
↓ 4 callersMethod_findBestSmartTimer
(e,t)
timeflow-card.js:1
↓ 4 callersMethod_findBestSmartTimer
* Discovers and selects the best smart timer based on priority: * active → paused → finished * * @param config - Card configuration * @pa
src/services/CountdownService.ts:223
↓ 4 callersMethod_getActionConfig
()
timeflow-card.js:609
↓ 4 callersMethod_getActionConfig
* Gets action handler configuration with proper defaults
src/components/TimeFlowCard.ts:1252
↓ 4 callersMethod_getCardClasses
(e=!0)
timeflow-card.js:609
↓ 4 callersMethod_getCardClasses
* Gets card CSS classes based on initialization and expired state
src/components/TimeFlowCard.ts:1215
↓ 4 callersMethod_getCardColors
()
timeflow-card.js:609
↓ 4 callersMethod_getCardColors
* Gets card background and text colors with proper fallbacks
src/components/TimeFlowCard.ts:1204
↓ 4 callersMethod_getMode
(e)
timeflow-card.js:1
↓ 4 callersMethod_getMode
(config: CardConfig)
src/services/CountdownService.ts:40
↓ 4 callersMethod_getTitleText
()
timeflow-card.js:609
↓ 4 callersMethod_getTitleText
* Gets title text with fallback logic for timers and auto-discovery
src/components/TimeFlowCard.ts:1225
↓ 4 callersMethod_isTemplate
(e)
timeflow-card.js:780
↓ 4 callersMethod_isTemplate
(value: string)
src/components/TimeFlowCardEditor.ts:113
↓ 4 callersMethod_updateCountdownAndRender
()
timeflow-card.js:456
↓ 4 callersMethod_updateCountdownAndRender
* Resolves templates and updates countdown data, then requests re-render
src/components/TimeFlowCard.ts:627
↓ 4 callersFunctioncreateActionHandler
(config: CardConfig)
src/utils/action-handler.ts:76
↓ 4 callersFunctioncreateHandleAction
(hass: HomeAssistant, config: CardConfig)
src/utils/action-handler.ts:86
↓ 4 callersMethoddiscoverAlexaTimers
(e,t,i)
timeflow-card.js:1
↓ 4 callersMethoddiscoverGoogleTimers
(e,t,i)
timeflow-card.js:1
↓ 4 callersMethodisValidDateInput
(e)
timeflow-card.js:1
↓ 4 callersMethodisValidDateInput
* Validates date input (string, entity, or template) * @param {*} value - Value to validate * @returns {boolean} - Whether the value is valid
src/utils/ConfigValidator.ts:320
↓ 4 callersMethodparseDimension
(e)
timeflow-card.js:1
↓ 4 callersMethodparseDimension
* Helper to parse dimension strings (e.g., "200px", "100%") to numbers * @param {*} dimension - Dimension value to parse * @returns {number|null
src/utils/StyleManager.ts:229
↓ 4 callersMethodparseISODate
(e)
timeflow-card.js:1
↓ 4 callersMethodparseISODate
* Main entry point for date parsing with a hybrid approach * @param {string} dateString - ISO date string to parse * @returns {number} - Unix ti
src/utils/DateParser.ts:11
↓ 4 callersMethodparseJson
(e)
timeflow-card.js:1
↓ 4 callersMethodparseJson
* Helper method to parse JSON strings/arrays
src/services/AlexaTimer.ts:438
↓ 4 callersMethodprocessStyles
(e)
timeflow-card.js:1
↓ 4 callersMethodprocessStyles
* Processes styles array into CSS string * @param {Array} styles - Array of style objects or strings * @returns {string} - CSS string
src/utils/StyleManager.ts:35
↓ 3 callersMethodC
(e,t,{useDefault:i,reflect:s,wrapped:r},o)
timeflow-card.js:1
↓ 3 callersMethodO
(e)
timeflow-card.js:1
↓ 3 callersFunctionSe
(e)
timeflow-card.js:1
↓ 3 callersMethodT
(e)
timeflow-card.js:1
↓ 3 callersMethod_$EM
()
timeflow-card.js:1
↓ 3 callersMethod_$Ei
()
timeflow-card.js:1
↓ 3 callersMethod_$Eu
(e,t)
timeflow-card.js:1
↓ 3 callersMethod_getCardDimensions
(e,t,i)
timeflow-card.js:1
↓ 3 callersMethod_getCardDimensions
* Internal helper to get card dimensions based on width, height, and aspect ratio
src/utils/StyleManager.ts:93
↓ 3 callersMethod_hasHeaderIcon
(e)
timeflow-card.js:609
↓ 3 callersMethod_hasHeaderIcon
* Returns true only when a non-empty header icon value was explicitly configured.
src/components/TimeFlowCard.ts:1273
↓ 3 callersMethod_renderDateField
(e,t,i,s,r)
timeflow-card.js:780
↓ 3 callersMethod_renderDateField
( configKey: 'target_date' | 'creation_date' | 'count_up_goal_date', label: string, he
src/components/TimeFlowCardEditor.ts:260
↓ 3 callersMethoddisconnect
()
timeflow-card.js:1
↓ 3 callersMethoddisconnect
* Disconnect from all template subscriptions - call this in disconnectedCallback * Saves current results to cache for quick restore on reconnect
src/services/TemplateService.ts:83
↓ 3 callersMethoddiscoverAlexaTimers
* AUTO-DISCOVERY: Attempts to find Alexa timer entities in Home Assistant * @param hass - Home Assistant object * @returns string[] - Array of p
src/services/Timer.ts:142
↓ 3 callersMethoddiscoverGoogleTimers
* AUTO-DISCOVERY: Attempts to find Google Home timer entities in Home Assistant * @param hass - Home Assistant object * @returns string[] - Arra
src/services/Timer.ts:155
↓ 3 callersMethodextractAlexaDevice
(e,t)
timeflow-card.js:1
↓ 3 callersMethodextractAlexaDevice
* Extracts Alexa device name from entity ID or attributes * @param entityId - Entity ID * @param attributes - Entity attributes * @returns st
src/services/AlexaTimer.ts:487
↓ 3 callersMethodextractTimerLabel
(e)
timeflow-card.js:1
↓ 3 callersMethodextractTimerLabel
* Helper to extract timer label from timer data * Checks timerLabel first (sorted_* format), then label (brief format) * @param data - Timer dat
src/services/AlexaTimer.ts:472
next →1–100 of 438, ranked by callers