MCPcopy Create free account

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

Functions438 in github.com/Rishi8078/TimeFlow-Card

↓ 1 callersMethod_renderGridyCard
* Renders the Gridy style - title/status row with a dot-grid progress indicator.
src/components/TimeFlowCard.ts:1073
↓ 1 callersMethod_resolveResponsiveLayout
(e,t,i,s)
timeflow-card.js:679
↓ 1 callersMethod_resolveResponsiveLayout
( maxColumns: number, minColumns: number, preferredDotSize: number, gap: number )
src/components/ProgressGrid.ts:79
↓ 1 callersMethod_startCountdownUpdates
()
timeflow-card.js:456
↓ 1 callersMethod_startCountdownUpdates
* Starts ticking the countdown every second
src/components/TimeFlowCard.ts:607
↓ 1 callersMethod_subscribeToTemplate
(e)
timeflow-card.js:1
↓ 1 callersMethod_subscribeToTemplate
* Subscribe to a template and get real-time updates * Uses WebSocket subscription - much more efficient than HTTP polling
src/services/TemplateService.ts:110
↓ 1 callersMethod_toggleCountUpGoalDateMode
()
timeflow-card.js:810
↓ 1 callersMethod_toggleCountUpGoalDateMode
()
src/components/TimeFlowCardEditor.ts:319
↓ 1 callersMethod_toggleCreationDateMode
()
timeflow-card.js:810
↓ 1 callersMethod_toggleCreationDateMode
()
src/components/TimeFlowCardEditor.ts:315
↓ 1 callersMethod_toggleTargetDateMode
()
timeflow-card.js:810
↓ 1 callersMethod_toggleTargetDateMode
()
src/components/TimeFlowCardEditor.ts:311
↓ 1 callersFunctionactionHandlerBind
( element: ActionHandlerElement, options?: ActionHandlerOptions )
src/utils/action-handler.ts:42
↓ 1 callersMethodcalculateDynamicIconSize
(e,t,i,s)
timeflow-card.js:1
↓ 1 callersMethodcalculateDynamicIconSize
* Calculate dynamic icon size based on card dimensions - now truly proportional * @param {*} width - Card width * @param {*} height - Card heigh
src/utils/StyleManager.ts:137
↓ 1 callersMethodcalculateDynamicStrokeWidth
(e,t)
timeflow-card.js:1
↓ 1 callersMethodcalculateDynamicStrokeWidth
* Calculate dynamic stroke width based on icon size * @param {number} iconSize - Icon size in pixels * @param {*} stroke_width - Explicit stroke
src/utils/StyleManager.ts:174
↓ 1 callersMethodcalculateProgress
(e,t)
timeflow-card.js:1
↓ 1 callersMethodcalculateProgress
* Calculates progress percentage (enhanced for Alexa and Google Home) * @param {Object} config - Card configuration * @param {Object} hass - Hom
src/services/CountdownService.ts:357
↓ 1 callersFunctionce
(e=le,t,i)
timeflow-card.js:1
↓ 1 callersMethodclearCache
()
timeflow-card.js:1
↓ 1 callersMethodclearCache
* Clears style cache
src/utils/StyleManager.ts:318
↓ 1 callersMethodclearTemplateCache
()
timeflow-card.js:1
↓ 1 callersMethodclearTemplateCache
* Clears template subscriptions and results * Note: With WebSocket subscriptions, this is less commonly needed * as the subscriptions auto-updat
src/services/TemplateService.ts:340
↓ 1 callersMethodconnect
()
timeflow-card.js:1
↓ 1 callersMethodconnect
* Connect to template subscriptions - call this in connectedCallback
src/services/TemplateService.ts:69
↓ 1 callersMethodconnectedCallback
()
timeflow-card.js:1
↓ 1 callersMethodenableUpdating
(e)
timeflow-card.js:1
↓ 1 callersMethodevaluateTemplate
(e,t)
timeflow-card.js:1
↓ 1 callersMethodevaluateTemplate
* Evaluates a Home Assistant template using WebSocket subscription * Returns cached value immediately if available, subscribes for updates *
src/services/TemplateService.ts:195
↓ 1 callersMethodfinalizeStyles
(e)
timeflow-card.js:1
↓ 1 callersFunctionfireEvent
( node: HTMLElement, type: string, detail?: any, options?: { bubbles?: boolean; cancelable?: boolean;
src/utils/handle-action.ts:10
↓ 1 callersMethodfirstUpdated
(e)
timeflow-card.js:1
↓ 1 callersMethodformatAlexaTimerName
(e)
timeflow-card.js:1
↓ 1 callersMethodformatAlexaTimerName
(e)
timeflow-card.js:1
↓ 1 callersMethodformatAlexaTimerName
* Formats Alexa timer name from entity ID * @param entityId - Entity ID * @returns string - Formatted name
src/services/Timer.ts:338
↓ 1 callersMethodformatAlexaTimerName
* Formats Alexa timer name from entity ID * @param entityId - Entity ID * @returns string - Formatted name
src/services/AlexaTimer.ts:527
↓ 1 callersMethodformatGoogleTimerName
(e)
timeflow-card.js:1
↓ 1 callersMethodformatGoogleTimerName
* Formats Google Home timer name from entity ID * @param entityId - Entity ID * @returns string - Formatted name
src/services/Timer.ts:352
↓ 1 callersFunctionformatString
* Format a translated string with placeholders * Replaces {key} style placeholders with values from the arguments object * @param text - Translated
src/utils/localize.ts:483
↓ 1 callersFunctiongetActionHandler
()
src/utils/action-handler.ts:30
↓ 1 callersFunctiongetLocalizedEventyLabel
(unit: TimeUnitType, value: number, localize?: LocalizeFn)
src/utils/TimeUtils.ts:232
↓ 1 callersMethodgetPropertyDescriptor
(e,t,i)
timeflow-card.js:1
↓ 1 callersMethodgetStandardTimerData
(e,t,i)
timeflow-card.js:1
↓ 1 callersMethodgetStandardTimerData
* Handles standard HA timer data extraction * @param entityId - Timer entity ID * @param entity - Entity state object * @param parseDuration
src/services/StandardTimer.ts:16
↓ 1 callersMethodgetTimeRemaining
()
timeflow-card.js:1
↓ 1 callersMethodgetTimeRemaining
* Gets current time remaining * @returns {Object} - Time remaining object
src/services/CountdownService.ts:697
↓ 1 callersMethodgetTimerTitle
(e,t,i)
timeflow-card.js:1
↓ 1 callersMethodgetTimerTitle
* Gets appropriate title text for timer entity (enhanced for Alexa and Google Home) * @param entityId - Timer entity ID * @param hass - Home Ass
src/services/Timer.ts:286
↓ 1 callersMethodgetUpdateComplete
()
timeflow-card.js:1
↓ 1 callersFunctionhandleAction
( node: HTMLElement, _hass: HomeAssistant, config: { entity?: string; camera_image?: string;
src/utils/handle-action.ts:28
↓ 1 callersMethodisExpired
()
timeflow-card.js:1
↓ 1 callersMethodisExpired
* Gets expired status * @returns {boolean} - Whether countdown has expired
src/services/CountdownService.ts:705
↓ 1 callersMethodisTimerEntity
(e)
timeflow-card.js:1
↓ 1 callersMethodisTimerEntity
* Checks if an entity ID is a timer entity (including Alexa and Google timers) * @param entityId - Entity ID to check * @returns boolean - Wheth
src/services/Timer.ts:40
↓ 1 callersMethodisValidAspectRatioInput
(e)
timeflow-card.js:1
↓ 1 callersMethodisValidAspectRatioInput
* Validates aspect ratio input * @param {*} value - Value to validate * @returns {boolean} - Whether the value is valid
src/utils/ConfigValidator.ts:425
↓ 1 callersMethodisValidBooleanInput
(e)
timeflow-card.js:1
↓ 1 callersMethodisValidBooleanInput
* Validates boolean input * @param {*} value - Value to validate * @returns {boolean} - Whether the value is valid
src/utils/ConfigValidator.ts:470
↓ 1 callersMethodisValidDateComponents
(e,t,i)
timeflow-card.js:1
↓ 1 callersMethodisValidDateComponents
* Validates date components * @param {number} year - Year component * @param {number} month - Month component (1-12) * @param {number} day -
src/utils/DateParser.ts:119
↓ 1 callersMethodisValidDateResult
(e,t)
timeflow-card.js:1
↓ 1 callersMethodisValidDateResult
* Validates that a parsed date result is reasonable * @param {Date} dateObj - Parsed date object * @param {string} originalString - Original dat
src/utils/DateParser.ts:39
↓ 1 callersMethodisValidStylesInput
(e)
timeflow-card.js:1
↓ 1 callersMethodisValidStylesInput
* Validates styles object structure * @param {*} styles - Styles object to validate * @returns {boolean} - Whether the styles are valid
src/utils/ConfigValidator.ts:507
↓ 1 callersMethodisValidTextInput
(e)
timeflow-card.js:1
↓ 1 callersMethodisValidTextInput
* Validates text input for XSS prevention * @param {*} value - Value to validate * @returns {boolean} - Whether the value is valid
src/utils/ConfigValidator.ts:479
↓ 1 callersMethodisValidTimeComponents
(e,t,i)
timeflow-card.js:1
↓ 1 callersMethodisValidTimeComponents
* Validates time components * @param {number} hour - Hour component * @param {number} minute - Minute component * @param {number} second - Se
src/utils/DateParser.ts:139
↓ 1 callersMethodj
(e)
timeflow-card.js:1
↓ 1 callersMethodk
(e)
timeflow-card.js:1
↓ 1 callersMethodparseISODateFallback
(e)
timeflow-card.js:1
↓ 1 callersMethodparseISODateFallback
* Final fallback parsing method * @param {string} dateString - Date string to parse * @returns {number} - Unix timestamp
src/utils/DateParser.ts:157
↓ 1 callersMethodparseISODateManual
(e)
timeflow-card.js:1
↓ 1 callersMethodparseISODateManual
* Enhanced manual parsing with better error handling * @param {string} dateString - Date string to parse * @returns {number} - Unix timestamp
src/utils/DateParser.ts:75
↓ 1 callersFunctionparseMillisecondsToUnits
(ms: number)
src/utils/TimeUtils.ts:52
↓ 1 callersFunctionparseSecondsToUnits
(totalSeconds: number)
src/utils/TimeUtils.ts:70
↓ 1 callersMethodperformUpdate
()
timeflow-card.js:1
↓ 1 callersMethodscheduleUpdate
()
timeflow-card.js:1
↓ 1 callersFunctionsetupLocalize
(hass?: HomeAssistant)
src/utils/localize.ts:497
↓ 1 callersMethodshouldUpdate
(e)
timeflow-card.js:1
↓ 1 callersFunctionsubscribeRenderTemplate
( conn: Connection, onChange: (result: RenderTemplateResult) => void, params: { template: string;
src/types/index.ts:38
↓ 1 callersMethodu
(e)
timeflow-card.js:1
↓ 1 callersMethodupdate
(e)
timeflow-card.js:1
↓ 1 callersMethodupdate
(e,t)
timeflow-card.js:1
↓ 1 callersMethodupdateCountdown
(e,t)
timeflow-card.js:1
↓ 1 callersMethodupdateCountdown
* Updates the countdown based on current configuration (enhanced for Alexa) * @param {Object} config - Card configuration * @param {Object} hass
src/services/CountdownService.ts:274
↓ 1 callersMethodupdated
(e)
timeflow-card.js:1
↓ 1 callersMethodwillUpdate
(e)
timeflow-card.js:1
Method$
timeflow-card.js:1
Method_$AI
(e,t=this,i,s)
timeflow-card.js:1
Method_$AI
(e,t=this)
timeflow-card.js:1
Method_$AI
(e)
timeflow-card.js:1
Method_$AU
()
timeflow-card.js:1
Method_$AU
()
timeflow-card.js:1
Method_$AU
()
timeflow-card.js:1
Method_$AU
()
timeflow-card.js:1
Method_$AU
()
timeflow-card.js:1
Method_computeHelper
(e)
timeflow-card.js:780
← previousnext →201–300 of 438, ranked by callers