Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/EverythingSmartHome/everything-presence-addons
/ functions
Functions
828 in github.com/EverythingSmartHome/everything-presence-addons
⨍
Functions
828
◇
Types & classes
267
↓ 75 callers
Function
ingressAware
(path: string)
everything-presence-mmwave-configurator/frontend/src/api/client.ts:36
↓ 40 callers
Function
handle
(res: Response)
everything-presence-mmwave-configurator/frontend/src/api/client.ts:28
↓ 32 callers
Method
getMapping
* Get the device mapping for a device.
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:61
↓ 27 callers
Function
getEntityState
(mappingKey: string, template: string | null)
everything-presence-mmwave-configurator/backend/src/routes/live.ts:107
↓ 26 callers
Function
markAvailability
(key: string, state: { state: string } | null)
everything-presence-mmwave-configurator/backend/src/routes/live.ts:78
↓ 26 callers
Function
matchesEntity
(mappedEntity: string | undefined, ...fallbackPatterns: string[])
everything-presence-mmwave-configurator/frontend/src/App.tsx:224
↓ 24 callers
Function
addEntity
(mappingKey: string, pattern: string | null | undefined)
everything-presence-mmwave-configurator/backend/src/routes/liveWs.ts:96
↓ 24 callers
Function
setAvailability
(key: string)
everything-presence-mmwave-configurator/frontend/src/App.tsx:204
↓ 23 callers
Method
getState
* Get the current state of a single entity
everything-presence-mmwave-configurator/backend/src/ha/readTransport.ts:118
↓ 23 callers
Function
toCanvas
(v: number, range: number)
everything-presence-mmwave-configurator/frontend/src/pages/RoomBuilderPage.tsx:139
↓ 22 callers
Function
updateRoom
(id: string, payload: Partial<RoomConfig>)
everything-presence-mmwave-configurator/frontend/src/api/rooms.ts:26
↓ 19 callers
Function
isUnavailableState
(state?: string | null)
everything-presence-mmwave-configurator/backend/src/routes/live.ts:72
↓ 19 callers
Function
toCanvas
(v: number, range: number)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:110
↓ 18 callers
Method
getProfileById
(id: string)
everything-presence-mmwave-configurator/backend/src/domain/deviceProfiles.ts:136
↓ 18 callers
Function
updateSettings
(settings: Partial<AppSettings>)
everything-presence-mmwave-configurator/frontend/src/api/client.ts:76
↓ 15 callers
Method
resolve
* Resolve an entity ID from mappings, with fallback to template resolution. * * @param mappings - Stored entity mappings (preferred) * @param
everything-presence-mmwave-configurator/backend/src/domain/entityResolver.ts:52
↓ 15 callers
Function
toCanvasCoord
(p: Point)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:635
↓ 14 callers
Method
getPolygonZoneEntity
* Get polygon zone entity ID. * Uses entities metadata when available, falls back to key patterns.
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:451
↓ 13 callers
Method
parseStateNumber
(state: { state: string } | null)
everything-presence-mmwave-configurator/backend/src/ha/zoneReader.ts:24
↓ 12 callers
Function
capturePointer
(e: React.PointerEvent<SVGElement>)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:705
↓ 11 callers
Method
getStates
* Get the current states of multiple entities (bulk query)
everything-presence-mmwave-configurator/backend/src/ha/readTransport.ts:123
↓ 11 callers
Method
resolvePolygonZoneEntity
* Resolve a polygon zone entity from mappings or templates.
everything-presence-mmwave-configurator/backend/src/domain/entityResolver.ts:126
↓ 10 callers
Function
compareVersions
(version1: string | undefined | null, version2: string | undefined | null)
everything-presence-mmwave-configurator/frontend/src/utils/firmware.ts:53
↓ 10 callers
Method
getEntityId
* Get a specific entity ID by key. * Returns null if not found.
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:69
↓ 10 callers
Method
getProfile
* Get profile by ID.
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:687
↓ 10 callers
Method
hasMapping
* Check if a device has mappings.
everything-presence-mmwave-configurator/backend/src/config/deviceMappingStorage.ts:293
↓ 10 callers
Method
listEntityRegistry
* List all entities from the entity registry
everything-presence-mmwave-configurator/backend/src/ha/readTransport.ts:91
↓ 10 callers
Function
parseNumberState
(state: { state: string } | null)
everything-presence-mmwave-configurator/backend/src/routes/live.ts:86
↓ 10 callers
Function
parseNumberValue
()
everything-presence-mmwave-configurator/frontend/src/App.tsx:210
↓ 10 callers
Function
toWorldFromEvent
(e: { clientX: number; clientY: number })
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:669
↓ 10 callers
Function
useDeviceMappings
()
everything-presence-mmwave-configurator/frontend/src/contexts/DeviceMappingsContext.tsx:315
↓ 9 callers
Method
call
(command: Record<string, unknown>)
everything-presence-mmwave-configurator/backend/src/ha/wsReadTransport.ts:550
↓ 8 callers
Function
deviceToRoom
(deviceX: number, deviceY: number)
everything-presence-mmwave-configurator/frontend/src/components/ZoneCanvas.tsx:144
↓ 8 callers
Function
ensureDataDir
()
everything-presence-mmwave-configurator/backend/src/config/storage.ts:15
↓ 8 callers
Function
handleChange
(updates: Partial<FurnitureInstance>)
everything-presence-mmwave-configurator/frontend/src/components/FurnitureEditor.tsx:22
↓ 8 callers
Method
matchTemplate
* Match a single template against available entities with conflict detection and ranking.
everything-presence-mmwave-configurator/backend/src/domain/entityDiscovery.ts:479
↓ 8 callers
Function
parseIntState
(state: { state: string } | null)
everything-presence-mmwave-configurator/backend/src/routes/live.ts:92
↓ 8 callers
Method
setTextEntity
* Set a text entity value
everything-presence-mmwave-configurator/backend/src/ha/writeClient.ts:43
↓ 7 callers
Method
buildUrl
(path: string)
everything-presence-mmwave-configurator/backend/src/ha/restReadTransport.ts:64
↓ 7 callers
Method
callService
( domain: string, service: string, data: Record<string, unknown>, options?: { returnResponse?:
everything-presence-mmwave-configurator/backend/src/ha/writeClient.ts:82
↓ 7 callers
Function
fetchDevices
()
everything-presence-mmwave-configurator/frontend/src/api/client.ts:43
↓ 7 callers
Function
formatSnapPresetLabel
( snapMm: number, units: 'metric' | 'imperial' )
everything-presence-mmwave-configurator/frontend/src/utils/snapLabels.ts:1
↓ 7 callers
Method
getDeviceNamePrefix
* Resolve the device name prefix (used in profile templates) from mapped entities.
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:152
↓ 7 callers
Function
getSvgPoint
( e: { clientX: number; clientY: number }, svgEl: SVGSVGElement | null, )
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:299
↓ 7 callers
Function
getTargetState
(targetNum: number, property: 'x' | 'y' | 'speed' | 'resolution' | 'angle' | 'distance' | 'active')
everything-presence-mmwave-configurator/backend/src/routes/live.ts:244
↓ 7 callers
Method
getZoneEntitySet
* Get zone entity set for a specific zone type and index. * Uses entities metadata when available, falls back to key patterns. * Returns null if
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:355
↓ 7 callers
Function
lineIntersection
( p1: Point, p2: Point, p3: Point, p4: Point )
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:490
↓ 7 callers
Method
listDevices
* List all devices from the device registry
everything-presence-mmwave-configurator/backend/src/ha/readTransport.ts:86
↓ 7 callers
Function
markStepStart
(key: string)
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:193
↓ 7 callers
Function
normalizeValue
(value?: string)
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:218
↓ 7 callers
Function
parseIntValue
()
everything-presence-mmwave-configurator/frontend/src/App.tsx:215
↓ 7 callers
Function
resetMigrationFlow
()
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:1069
↓ 7 callers
Function
resolveEntityNamePrefix
(deviceId: string, explicitPrefix?: string | null)
everything-presence-mmwave-configurator/backend/src/routes/devices.ts:39
↓ 7 callers
Method
resolveZoneEntitySet
* Resolve a zone entity set from mappings or templates. * * @param mappings - Stored entity mappings * @param entityNamePrefix - Legacy prefi
everything-presence-mmwave-configurator/backend/src/domain/entityResolver.ts:84
↓ 7 callers
Function
roomToDevice
(roomX: number, roomY: number)
everything-presence-mmwave-configurator/frontend/src/components/ZoneCanvas.tsx:166
↓ 7 callers
Function
updateCeilingSliceConfig
( updates: Partial<CeilingSliceConfig>, options: { persist?: boolean } = {}, )
everything-presence-mmwave-configurator/frontend/src/pages/ZoneEditorPage.tsx:981
↓ 6 callers
Function
degToRad
(deg: number)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:113
↓ 6 callers
Function
deviceToRoom
(deviceX: number, deviceY: number)
everything-presence-mmwave-configurator/frontend/src/pages/ZoneEditorPage.tsx:691
↓ 6 callers
Function
ensureMinStepDuration
(key: string, minMs: number = MIN_STEP_MS)
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:196
↓ 6 callers
Function
fetchPolygonZonesFromDevice
( deviceId: string, profileId: string, entityNamePrefix: string, entityMappings?: EntityMappings )
everything-presence-mmwave-configurator/frontend/src/api/zones.ts:91
↓ 6 callers
Function
fetchProfiles
()
everything-presence-mmwave-configurator/frontend/src/api/client.ts:48
↓ 6 callers
Function
fetchRooms
()
everything-presence-mmwave-configurator/frontend/src/api/rooms.ts:12
↓ 6 callers
Function
fromCanvas
(v: number, range: number)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:111
↓ 6 callers
Function
getCeilingSliceLineDepth
( lateral: number, config: CeilingSliceConfig, coverage: CeilingSliceCoverage | null | undefined, fall
everything-presence-mmwave-configurator/frontend/src/utils/ceilingSlices.ts:153
↓ 6 callers
Method
getRestFallback
()
everything-presence-mmwave-configurator/backend/src/ha/wsReadTransport.ts:59
↓ 6 callers
Function
handleZonesChange
(zones: ZoneRect[])
everything-presence-mmwave-configurator/frontend/src/pages/WizardPage.tsx:1132
↓ 6 callers
Function
joinClasses
(...classes: Array<string | false | null | undefined>)
everything-presence-mmwave-configurator/frontend/src/components/CanvasLayout.tsx:3
↓ 6 callers
Function
nextStep
()
everything-presence-mmwave-configurator/frontend/src/pages/WizardPage.tsx:1076
↓ 6 callers
Function
readCacheIndex
()
everything-presence-mmwave-configurator/backend/src/config/firmwareStorage.ts:41
↓ 6 callers
Method
saveMapping
* Save a device mapping with atomic write and mutex locking. * Ensures concurrent writes to the same device are serialized.
everything-presence-mmwave-configurator/backend/src/config/deviceMappingStorage.ts:160
↓ 6 callers
Function
sortZonesByIndex
(zones: ZoneRect[])
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:992
↓ 6 callers
Function
update
(patch: Partial<ZoneRect>)
everything-presence-mmwave-configurator/frontend/src/components/ZoneEditor.tsx:13
↓ 6 callers
Method
waitUntilReady
* Wait until the transport is ready
everything-presence-mmwave-configurator/backend/src/ha/readTransport.ts:175
↓ 5 callers
Function
capturePointer
(e: React.PointerEvent<SVGElement>)
everything-presence-mmwave-configurator/frontend/src/components/ZoneCanvas.tsx:131
↓ 5 callers
Function
createEmptyStats
(deviceId: string, date: string)
everything-presence-mmwave-configurator/frontend/src/components/ep1/ep1Utils.ts:322
↓ 5 callers
Function
ensureCacheDir
(subDir?: string)
everything-presence-mmwave-configurator/backend/src/config/firmwareStorage.ts:33
↓ 5 callers
Function
extractPrefixFromEntity
(entityId: string, knownSuffix: string)
everything-presence-mmwave-configurator/frontend/src/utils/entityUtils.ts:7
↓ 5 callers
Method
fetchAllFirmwareIndexes
* Fetch all firmware indexes from configured URLs
everything-presence-mmwave-configurator/backend/src/domain/firmwareService.ts:675
↓ 5 callers
Function
fromCanvasCoord
(cx: number, cy: number)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:639
↓ 5 callers
Function
getDeviceProfile
(device: DiscoveredDevice)
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:222
↓ 5 callers
Function
getStatsKey
(deviceId: string, date: string)
everything-presence-mmwave-configurator/frontend/src/components/ep1/ep1Utils.ts:335
↓ 5 callers
Method
getTargetEntities
* Get target entity set for a specific target index. * Uses entities metadata when available, falls back to key patterns. * Returns null if x or
everything-presence-mmwave-configurator/backend/src/domain/deviceEntityService.ts:490
↓ 5 callers
Function
getZoneMigrationInfo
( currentVersion: string | undefined, targetVersion: string | undefined, model?: string | null,
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:959
↓ 5 callers
Function
handleChange
(updates: Partial<Door>)
everything-presence-mmwave-configurator/frontend/src/components/DoorEditor.tsx:26
↓ 5 callers
Function
isPolygonOnlyDevice
(args: { profileId?: string | null; firmwareVersion?: string | null; model?: string | null; })
everything-presence-mmwave-configurator/backend/src/domain/firmwareVersionUtils.ts:62
↓ 5 callers
Function
isZoneAvailable
(zone: ZoneRect)
everything-presence-mmwave-configurator/frontend/src/pages/ZoneEditorPage.tsx:338
↓ 5 callers
Function
normalizeAxisAngle
(angle: number)
everything-presence-mmwave-configurator/frontend/src/utils/rotationSuggestion.ts:12
↓ 5 callers
Function
openMobileSheet
(sheet: MobileCanvasSheet)
everything-presence-mmwave-configurator/frontend/src/pages/WizardPage.tsx:1381
↓ 5 callers
Function
readBackups
()
everything-presence-mmwave-configurator/backend/src/config/zoneBackupStorage.ts:15
↓ 5 callers
Function
resolveDeviceInfo
(device: DiscoveredDevice | null | undefined)
everything-presence-mmwave-configurator/frontend/src/components/FirmwareUpdateSection.tsx:249
↓ 5 callers
Method
resolveTargetEntity
* Resolve a tracking target entity.
everything-presence-mmwave-configurator/backend/src/domain/entityResolver.ts:155
↓ 4 callers
Function
clampHandleSize
(baseSize: number, minSize: number, maxSize: number)
everything-presence-mmwave-configurator/frontend/src/components/RoomCanvas.tsx:624
↓ 4 callers
Function
commitSelectedSegmentImperialLength
(feetRaw: string, inchesRaw: string)
everything-presence-mmwave-configurator/frontend/src/pages/RoomBuilderPage.tsx:866
↓ 4 callers
Method
discoverServiceBySuffix
* Discover an ESPHome service for a device by suffix. * Uses two methods: * 1. Query getServicesForTarget for device-specific services * 2. C
everything-presence-mmwave-configurator/backend/src/domain/entityDiscovery.ts:1510
↓ 4 callers
Function
enableZoneSlot
(slotId: string)
everything-presence-mmwave-configurator/frontend/src/pages/WizardPage.tsx:1147
↓ 4 callers
Function
fetchZoneBackups
( deviceId?: string )
everything-presence-mmwave-configurator/frontend/src/api/client.ts:110
↓ 4 callers
Function
formatHour
(hour: number)
everything-presence-mmwave-configurator/frontend/src/components/HourlyActivityChart.tsx:20
↓ 4 callers
Function
getActivityEventDetails
(type: ActivityEventType)
everything-presence-mmwave-configurator/frontend/src/components/ep1/ep1Utils.ts:288
↓ 4 callers
Method
getDeviceConfig
* Get device configuration by calling the get_build_flags ESPHome service. * This service returns the device's build configuration directly. *
everything-presence-mmwave-configurator/backend/src/domain/firmwareService.ts:467
↓ 4 callers
Function
getDeviceIconUrl
( profile: DeviceProfile | null | undefined, placement?: DevicePlacement | null )
everything-presence-mmwave-configurator/frontend/src/utils/deviceIcon.ts:3
next →
1–100 of 828, ranked by callers