ha-component-kit
Designed with developers in mind, this powerful package is built on React to create seamless, highly customizable interfaces for your Home Assistant smart home dashboards.
파일 탐색기
최종 버전 다운로드 (.zip)- config.json
- bug_report.md
- feature_request.md
- deploy.yaml
- FUNDING.yml
- afterDescription.tsx
- afterPrimary.tsx
- importExample.tsx
- global.css
- main.ts
- manager.ts
- page.tsx
- preview.tsx
- redirect.ts
- copy-to-ha.js
- get-addon-info.ts
- index.ts
- read-file.ts
- constants.ts
- index.ts
- run
- .nvmrc
- build.json
- CHANGELOG.md
- config.json
- Dockerfile
- icon.png
- logo.png
- package-lock.json
- package.json
- README.md
- tsconfig.json
- john_doe_ai_generated.png
- reolink-snapshot.jpg
- calendar.ts
- index.ts
- alarmControlPanel.ts
- climate.ts
- index.ts
- light.ts
- mediaPlayer.ts
- scene.ts
- types.ts
- vacuum.ts
- open-weather.ts
- createAlarmPanel.ts
- createAutomation.ts
- createBinarySensor.ts
- createCalendar.ts
- createCamera.ts
- createClimate.ts
- createCover.ts
- createEntity.ts
- createLight.ts
- createMediaPlayer.ts
- createPerson.ts
- createScene.ts
- createSensor.ts
- createSwitch.ts
- createVacuum.ts
- createWeather.ts
- mockConnection.tsx
- mockEntities.ts
- mockLogs.ts
- mockWeather.ts
- README.md
- index.tsx
- mock-history.ts
- tsconfig.json
- vite-env.d.ts
- AlarmCard.stories.tsx
- index.tsx
- hashExample.code.tsx
- AreaCard.stories.tsx
- index.tsx
- living-room.jpg
- office.jpg
- ButtonCard.test.tsx.snap
- ButtonCard.stories.tsx
- ButtonCard.test.tsx
- index.tsx
- CalendarCard.stories.tsx
- index.tsx
- hls.tsx
- index.tsx
- webrtc.tsx
- index.tsx
- CameraCard.stories.tsx
- constants.ts
- index.tsx
- FeatureEntity.stories.tsx
- index.tsx
- index.tsx
- RelatedEntity.stories.tsx
- CardBase.stories.tsx
- index.tsx
- ClimateCard.stories.tsx
- index.tsx
- climate.tsx
- sensor.tsx
- toggle.tsx
- types.ts
- EntitiesCard.stories.tsx
- EntitiesCardRow.stories.tsx
- EntitiesCardRow.tsx
- index.tsx
- FabCard.test.tsx.snap
- FabCard.stories.tsx
- FabCard.test.tsx
- index.tsx
- index.tsx
- PersonCard.stories.tsx
- FamilyCard.stories.tsx
- index.tsx
- garbage-bin.svg
- GarbageCollectionCard.stories.tsx
- index.tsx
- index.tsx
- index.tsx
- AlternateControls.tsx
- Clock.tsx
- constants.ts
- Fab.tsx
- index.tsx
- Marquee.tsx
- MediaPlayerCard.stories.tsx
- ProgressBar.tsx
- Thumbnail.tsx
- PictureCard.test.tsx.snap
- index.tsx
- office.jpg
- PictureCard.stories.tsx
- PictureCard.test.tsx
- index.tsx
- SensorCard.stories.tsx
- index.tsx
- SidebarCard.stories.tsx
- TimeCard.test.tsx.snap
- customFormatter.code.tsx
- formatter.tsx
- index.tsx
- shared.tsx
- TimeCard.stories.tsx
- TimeCard.test.tsx
- types.ts
- TriggerCard.test.tsx.snap
- index.tsx
- TriggerCard.stories.tsx
- TriggerCard.test.tsx
- index.tsx
- VacuumCard.stories.tsx
- WeatherCard.test.tsx.snap
- helpers.ts
- index.tsx
- WeatherCard.stories.tsx
- WeatherCard.test.tsx
- WeatherCardDetail.tsx
- Group.stories.tsx
- index.tsx
- some-breakpoints.code.tsx
- useBreakpoint.stories.tsx
- useBreakpoint.ts
- Alert.stories.tsx
- index.tsx
- index.tsx
- Column.stories.tsx
- index.tsx
- ControlSlider.stories.tsx
- index.tsx
- ControlSliderCircular.stories.tsx
- index.tsx
- svg-arc.ts
- ControlSwitch.stories.tsx
- index.tsx
- AlarmControls.stories.tsx
- index.tsx
- shared.ts
- types.ts
- BigNumber.tsx
- ClimateControls.stories.tsx
- ClimateControlSlider.tsx
- ClimateHumiditySlider.tsx
- data.ts
- index.tsx
- shared.ts
- CoverControls.stories.tsx
- index.tsx
- ColorPicker.stories.tsx
- index.tsx
- ColorTempPicker.stories.tsx
- index.tsx
- color_wheel.png
- index.tsx
- LightControls.stories.tsx
- index.tsx
- index.tsx
- ButtonBar.stories.tsx
- index.tsx
- index.tsx
- ButtonGroup.stories.tsx
- index.tsx
- EntityAttributes.stories.tsx
- index.tsx
- index.tsx
- LogBookRenderer.stories.tsx
- index.tsx
- index.tsx
- SwitchControls.stories.tsx
- index.tsx
- shared.ts
- vacuum.png
- VacuumControls.stories.tsx
- VacuumImage.tsx
- index.tsx
- TextField.tsx
- index.tsx
- Menu.stories.tsx
- modal.code.tsx
- modalByDomain.code.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- Modal.stories.tsx
- index.tsx
- living-room.jpg
- PreloadImage.stories.tsx
- index.tsx
- RangeSlider.stories.tsx
- index.tsx
- Ripples.stories.tsx
- index.tsx
- Row.stories.tsx
- constants.ts
- index.tsx
- index.tsx
- Tooltip.stories.tsx
- breakpoints.ts
- constants.ts
- helpers.ts
- index.tsx
- store.ts
- theme.ts
- ThemeControls.tsx
- ThemeControlsModal.tsx
- ThemeProvider.stories.tsx
- isValidProp.ts
- .d.ts
- index.ts
- vite-env.d.ts
- fileMock.ts
- jest.config.ts
- LICENSE.md
- package.json
- README.md
- tsconfig.json
- tsconfig.node.json
- vite-env.d.ts
- vite.config.ts
- index.ts
- README.md
- extract-translations.ts
- index.ts
- package-lock.json
- package.json
- README.md
- action-generator.ts
- cli.ts
- connection.ts
- constants.ts
- entity-generator.ts
- index.ts
- tsconfig.json
- vite-node.config.ts
- README.md
- entity.ts
- index.ts
- portalRoot.code.tsx
- renderError.code.tsx
- specifyingLanguage.code.tsx
- statusViaStore.code.tsx
- suspendResume.code.tsx
- windowContext.code.tsx
- index.tsx
- callApi.ts
- createDateFormatters.ts
- handleSuspendResume.ts
- HassConnect.stories.tsx
- HassContext.tsx
- index.tsx
- Provider.tsx
- token-storage.ts
- tryConnection.ts
- DummyComponent.tsx
- useAreas.code.tsx
- useAreasData.code.tsx
- useAreasDataExample.stories.tsx
- useAreasExample.stories.tsx
- getFloorsAndAreas.ts
- index.ts
- useAreasDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- yaml.code.yaml
- camera.ts
- constants.ts
- index.ts
- time-cache-entity-promise.ts
- useCamera.stories.tsx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useConfigDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useDeviceDocs.mdx
- useEntity.test.tsx.snap
- basic.code.tsx
- DummyComponent.tsx
- index.ts
- useEntities.mdx
- useEntity.test.tsx.snap
- basic.code.tsx
- DummyComponent.tsx
- service.code.tsx
- serviceResponse.code.tsx
- withHistory.code.tsx
- index.ts
- useEntity.mdx
- useEntity.test.tsx
- DummyComponent.tsx
- useFloorsExample.stories.tsx
- useFloorsParent.code.tsx
- index.ts
- useFloorsDocs.mdx
- callApi.code.tsx
- callApi.context.code.ts
- callApi.snapshot.code.ts
- callService.definition.code.ts
- callService.response.code.tsx
- callService.usage.code.tsx
- DummyUseStoreComponent.tsx
- formatterDates.code.tsx
- formatterStateValue.code.tsx
- getAllEntities.code.tsx
- getAllEntities.definition.code.ts
- helper.stories.tsx
- helperFunctions.code.tsx
- joinHassUrl.code.tsx
- joinHassUrl.definition.code.ts
- primary.stories.tsx
- storeGlobalStyles.code.tsx
- storeProgrammatic.code.tsx
- useHass.code.tsx
- index.ts
- useHass.callApi.mdx
- useHass.callService.mdx
- useHass.getAllEntities.mdx
- useHass.helpers.mdx
- useHass.joinHassUrl.mdx
- useHass.mdx
- useHass.programmatic.mdx
- useHass.styling.mdx
- useHass.test.tsx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useHaStatusDocs.mdx
- DummyComponent.tsx
- useHistory.code.tsx
- coordinates.ts
- history.ts
- index.ts
- useHistoryDocs.mdx
- alarm.ts
- battery.ts
- binary_sensor.ts
- constants.ts
- cover.ts
- number.ts
- sensor.ts
- weather.ts
- basic.code.tsx
- byDomain.basic.code.tsx
- byDomain.customProps.code.tsx
- byEntity.basic.code.tsx
- byEntity.customProps.code.tsx
- customProps.code.tsx
- index.tsx
- useIcon.mdx
- useIconByDomain.mdx
- useIconByEntity.mdx
- basic.code.tsx
- primary.stories.tsx
- index.ts
- useLightBrightnessDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useLightColorDocs.mdx
- basic.code.tsx
- primary.stories.tsx
- index.ts
- useLightTemperatureDocs.mdx
- findReplace.code.tsx
- localesConstant.code.tsx
- localizeFunction.code.tsx
- useLocale.code.tsx
- useLocales.code.tsx
- af.json
- ar.json
- bg.json
- bn.json
- bs.json
- ca.json
- cs.json
- cy.json
- da.json
- de.json
- el.json
- en.json
- en-GB.json
- eo.json
- es.json
- es-419.json
- et.json
- eu.json
- fa.json
- fi.json
- fr.json
- fy.json
- ga.json
- gl.json
- gsw.json
- he.json
- hi.json
- hr.json
- hu.json
- hy.json
- id.json
- is.json
- it.json
- ja.json
- ka.json
- ko.json
- lb.json
- lt.json
- lv.json
- mk.json
- ml.json
- nb.json
- nl.json
- nn.json
- pl.json
- pt.json
- pt-BR.json
- ro.json
- ru.json
- sk.json
- sl.json
- sq.json
- sr.json
- sr-Latn.json
- sv.json
- ta.json
- te.json
- th.json
- tr.json
- uk.json
- ur.json
- vi.json
- zh-Hans.json
- zh-Hant.json
- index.ts
- types.ts
- index.ts
- useLocale.stories.tsx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useLocaleDataDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- index.ts
- logbook.ts
- useLogsDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- index.ts
- useLowDevices.stories.tsx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useRegistryData.mdx
- preferred.code.tsx
- response.code.tsx
- rootLevel.code.tsx
- rootTarget.code.tsx
- serviceLevel.code.tsx
- index.ts
- useService.mdx
- useService.test.tsx
- basic.code.tsx
- index.ts
- useSubscribeEntity.mdx
- basic.code.tsx
- constants.ts
- disable.code.tsx
- DummyComponent.tsx
- simple.code.tsx
- index.ts
- useTemplate.stories.tsx
- basic.code.tsx
- DummyComponent.tsx
- primary.stories.tsx
- index.ts
- useUserDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- filtering.code.tsx
- primary.stories.tsx
- index.ts
- useUsersDocs.mdx
- basic.code.tsx
- DummyComponent.tsx
- helpers.ts
- index.ts
- useWeatherDocs.mdx
- index.ts
- alarmControlPanel.ts
- mediaPlayer.ts
- vacuum.ts
- index.ts
- autogenerated-types-by-domain.ts
- index.ts
- supported-services.ts
- colors.ts
- compute-color.ts
- convert-color.ts
- convert-light-color.ts
- hex.ts
- index.ts
- lab.ts
- rgb.ts
- index.ts
- areas.ts
- devices.ts
- entities.ts
- entity_sources.ts
- floors.ts
- frontend_data.ts
- timeCacheFunctionPromise.ts
- user.ts
- time-ago.ts
- blankBeforeUnit.ts
- colors.ts
- computeAttributeDisplay.ts
- computeDomain.test.ts
- computeDomain.ts
- computeDomainTitle.ts
- computeStateDisplay.ts
- date.ts
- entity.ts
- entity_registry.ts
- index.ts
- number.ts
- string.ts
- stripPrefixFromEntityName.ts
- supports-feature.ts
- .d.ts
- constants.stories.tsx
- helpers.stories.tsx
- index.ts
- jest.config.ts
- LICENSE.md
- package.json
- README.md
- sync-ha-user-types.cjs
- tsconfig.json
- tsconfig.node.json
- vite-env.d.ts
- vite.config.ts
- index.ts
- socket.ts
- deploy.ts
- sync-types.ts
- App.tsx
- Dashboard.tsx
- .d.ts
- .env
- .env.development
- .nvmrc
- .prettierignore
- .prettierrc
- README.md
- tsconfig.json
- build.config.js
- index.js
- package-lock.json
- package.json
- README.md
- tsconfig.json
- logo.png
- appExample.code.tsx
- breakpointExample.code.tsx
- mqHelperInput.code.tsx
- mqHelperOutput.code.tsx
- redirect.tsx
- 1.demo.stories.tsx
- 2.gettingStarted.mdx
- 2a.gettingStartedManual.mdx
- 3.deployment.mdx
- 3.responsive.stories.tsx
- 3a.deploymentManual.mdx
- 3a.responsiveCardLayout.stories.tsx
- 3b.deploymentSsh.mdx
- 3b.responsiveBreakpoints.stories.tsx
- 3c.responsiveMqHelper.stories.tsx
- 3d.responsiveClasses.stories.tsx
- 4.issuesAndDiscussions.mdx
- 5.changeLog.mdx
- 6.typescriptSync.stories.tsx
- dining-room.jpg
- editor.stories.tsx
- hakit-demo.gif
- living-room.jpg
- office.jpg
- tsconfig.json
- vite-env.d.ts
- .d.ts
- .gitignore
- .nvmrc
- .prettierrc
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- database.json
- DEPLOY.md
- eslint.config.mjs
- package-lock.json
- package.json
- README.md
- repository.json
- ROADMAP.md
- tsconfig-type-check.json
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/shannonhochkins/ha-component-kit
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd ha-component-kit
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f hakit/Dockerfile -t ha-component-kit .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 ha-component-kit
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Node.js
쉬움사전 준비물
npm create hakit@latest
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm install @hakit/core @hakit/components
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
<img alt="" src="https://img.shields.io/npm/v/@hakit/core.svg?style=for-the-badge&labelColor=000000&label=@hakit/CORE" align="left" height="16" width="auto">
이 명령어를 터미널에 그대로 입력해 실행하세요.
<img alt="" src="https://img.shields.io/npm/v/@hakit/components.svg?style=for-the-badge&labelColor=000000&label=@HAKIT/COMPONENTS" align="left" height="16" width="auto">
이 명령어를 터미널에 그대로 입력해 실행하세요.
<img alt="" src="https://img.shields.io/npm/dt/%40hakit%2Fcore.svg?style=flat&colorA=000000&colorB=000000&label=Downloads" align="top" height="20" width="auto">
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
