Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rishi8078/TimeFlow-Card
/ functions
Functions
438 in github.com/Rishi8078/TimeFlow-Card
⨍
Functions
438
◇
Types & classes
96
↓ 33 callers
Function
e
(e,t,i,s)
timeflow-card.js:1
↓ 32 callers
Method
toString
()
timeflow-card.js:1
↓ 26 callers
Method
get
()
timeflow-card.js:1
↓ 26 callers
Method
set
(e)
timeflow-card.js:1
↓ 22 callers
Function
de
(e)
timeflow-card.js:1
↓ 18 callers
Method
requestUpdate
(e,t,i)
timeflow-card.js:1
↓ 17 callers
Method
get
(key: string)
src/services/TemplateService.ts:15
↓ 16 callers
Method
set
(key: string, value: T)
src/services/TemplateService.ts:19
↓ 14 callers
Method
has
(e)
timeflow-card.js:1
↓ 11 callers
Function
Ce
(e,t,i="mainDisplay")
timeflow-card.js:1
↓ 11 callers
Function
getUnitLabel
(unit: TimeUnitType, value: number, style: LabelStyle = 'mainDisplay')
src/utils/TimeUtils.ts:201
↓ 11 callers
Method
has
(key: string)
src/services/TemplateService.ts:26
↓ 11 callers
Function
ue
(e)
timeflow-card.js:1
↓ 10 callers
Method
getTimerData
(e,t)
timeflow-card.js:1
↓ 10 callers
Method
getTimerData
* 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 callers
Method
getTimerSubtitle
* 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 callers
Method
isTimerExpired
(e)
timeflow-card.js:1
↓ 10 callers
Method
isTimerExpired
* Checks if a timer is expired * @param timerData - Timer data object * @returns boolean - Whether the timer is expired
src/services/Timer.ts:365
↓ 9 callers
Method
getTimerSubtitle
(e,t=!0,i,s=!0)
timeflow-card.js:1
↓ 9 callers
Method
isTemplate
(e)
timeflow-card.js:1
↓ 9 callers
Method
isTemplate
* 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 callers
Method
getSubtitle
(e,t,i,s=!0)
timeflow-card.js:1
↓ 8 callers
Method
getSubtitle
* 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 callers
Method
createElement
(e,t)
timeflow-card.js:1
↓ 7 callers
Method
extractTimerEntry
(e)
timeflow-card.js:1
↓ 7 callers
Method
extractTimerEntry
* 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 callers
Method
formatRemainingTime
(e,t=!0,i,s=!0)
timeflow-card.js:1
↓ 7 callers
Method
formatRemainingTime
* 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 callers
Method
resolveValue
(e)
timeflow-card.js:1
↓ 7 callers
Method
resolveValue
* Enhanced value resolver that handles entities, templates, and plain strings * @param {*} value - Value to resolve * @returns {Promise<*>} - Re
src/services/TemplateService.ts:313
↓ 6 callers
Function
a
(e,...t)
timeflow-card.js:1
↓ 6 callers
Method
delete
(e)
timeflow-card.js:1
↓ 6 callers
Method
delete
(key: string)
src/services/TemplateService.ts:30
↓ 6 callers
Method
getStubConfig
()
timeflow-card.js:456
↓ 6 callers
Method
getStubConfig
()
src/components/TimeFlowCard.ts:479
↓ 5 callers
Function
E
()
timeflow-card.js:1
↓ 5 callers
Function
I
timeflow-card.js:1
↓ 5 callers
Function
J
(e,t,i=e,s)
timeflow-card.js:1
↓ 5 callers
Method
_getSafeGridValue
(e,t)
timeflow-card.js:679
↓ 5 callers
Method
_getSafeGridValue
(value: number, fallback: number)
src/components/ProgressGrid.ts:74
↓ 5 callers
Method
_timerDataToCountdownState
(e)
timeflow-card.js:1
↓ 5 callers
Method
_timerDataToCountdownState
* Converts TimerData to CountdownState for unified interface
src/services/CountdownService.ts:679
↓ 5 callers
Function
y
(e,t)
timeflow-card.js:1
↓ 4 callers
Function
Ge
(e)
timeflow-card.js:1
↓ 4 callers
Function
We
(e,t)
timeflow-card.js:1
↓ 4 callers
Method
_$AI
(e,t=this)
timeflow-card.js:1
↓ 4 callers
Method
_$AR
(e=this._$AA.nextSibling,t)
timeflow-card.js:1
↓ 4 callers
Method
_buildZeroState
()
timeflow-card.js:1
↓ 4 callers
Method
_buildZeroState
()
src/services/CountdownService.ts:44
↓ 4 callers
Method
_findBestSmartTimer
(e,t)
timeflow-card.js:1
↓ 4 callers
Method
_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 callers
Method
_getActionConfig
()
timeflow-card.js:609
↓ 4 callers
Method
_getActionConfig
* Gets action handler configuration with proper defaults
src/components/TimeFlowCard.ts:1252
↓ 4 callers
Method
_getCardClasses
(e=!0)
timeflow-card.js:609
↓ 4 callers
Method
_getCardClasses
* Gets card CSS classes based on initialization and expired state
src/components/TimeFlowCard.ts:1215
↓ 4 callers
Method
_getCardColors
()
timeflow-card.js:609
↓ 4 callers
Method
_getCardColors
* Gets card background and text colors with proper fallbacks
src/components/TimeFlowCard.ts:1204
↓ 4 callers
Method
_getMode
(e)
timeflow-card.js:1
↓ 4 callers
Method
_getMode
(config: CardConfig)
src/services/CountdownService.ts:40
↓ 4 callers
Method
_getTitleText
()
timeflow-card.js:609
↓ 4 callers
Method
_getTitleText
* Gets title text with fallback logic for timers and auto-discovery
src/components/TimeFlowCard.ts:1225
↓ 4 callers
Method
_isTemplate
(e)
timeflow-card.js:780
↓ 4 callers
Method
_isTemplate
(value: string)
src/components/TimeFlowCardEditor.ts:113
↓ 4 callers
Method
_updateCountdownAndRender
()
timeflow-card.js:456
↓ 4 callers
Method
_updateCountdownAndRender
* Resolves templates and updates countdown data, then requests re-render
src/components/TimeFlowCard.ts:627
↓ 4 callers
Function
createActionHandler
(config: CardConfig)
src/utils/action-handler.ts:76
↓ 4 callers
Function
createHandleAction
(hass: HomeAssistant, config: CardConfig)
src/utils/action-handler.ts:86
↓ 4 callers
Method
discoverAlexaTimers
(e,t,i)
timeflow-card.js:1
↓ 4 callers
Method
discoverGoogleTimers
(e,t,i)
timeflow-card.js:1
↓ 4 callers
Method
isValidDateInput
(e)
timeflow-card.js:1
↓ 4 callers
Method
isValidDateInput
* 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 callers
Method
parseDimension
(e)
timeflow-card.js:1
↓ 4 callers
Method
parseDimension
* 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 callers
Method
parseISODate
(e)
timeflow-card.js:1
↓ 4 callers
Method
parseISODate
* 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 callers
Method
parseJson
(e)
timeflow-card.js:1
↓ 4 callers
Method
parseJson
* Helper method to parse JSON strings/arrays
src/services/AlexaTimer.ts:438
↓ 4 callers
Method
processStyles
(e)
timeflow-card.js:1
↓ 4 callers
Method
processStyles
* 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 callers
Method
C
(e,t,{useDefault:i,reflect:s,wrapped:r},o)
timeflow-card.js:1
↓ 3 callers
Method
O
(e)
timeflow-card.js:1
↓ 3 callers
Function
Se
(e)
timeflow-card.js:1
↓ 3 callers
Method
T
(e)
timeflow-card.js:1
↓ 3 callers
Method
_$EM
()
timeflow-card.js:1
↓ 3 callers
Method
_$Ei
()
timeflow-card.js:1
↓ 3 callers
Method
_$Eu
(e,t)
timeflow-card.js:1
↓ 3 callers
Method
_getCardDimensions
(e,t,i)
timeflow-card.js:1
↓ 3 callers
Method
_getCardDimensions
* Internal helper to get card dimensions based on width, height, and aspect ratio
src/utils/StyleManager.ts:93
↓ 3 callers
Method
_hasHeaderIcon
(e)
timeflow-card.js:609
↓ 3 callers
Method
_hasHeaderIcon
* Returns true only when a non-empty header icon value was explicitly configured.
src/components/TimeFlowCard.ts:1273
↓ 3 callers
Method
_renderDateField
(e,t,i,s,r)
timeflow-card.js:780
↓ 3 callers
Method
_renderDateField
( configKey: 'target_date' | 'creation_date' | 'count_up_goal_date', label: string, he
src/components/TimeFlowCardEditor.ts:260
↓ 3 callers
Method
disconnect
()
timeflow-card.js:1
↓ 3 callers
Method
disconnect
* 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 callers
Method
discoverAlexaTimers
* 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 callers
Method
discoverGoogleTimers
* 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 callers
Method
extractAlexaDevice
(e,t)
timeflow-card.js:1
↓ 3 callers
Method
extractAlexaDevice
* 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 callers
Method
extractTimerLabel
(e)
timeflow-card.js:1
↓ 3 callers
Method
extractTimerLabel
* 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