Skip to content

Digital-Alchemy-TS/type-writer

Repository files navigation

Welcome to @digital-alchemy/type-writer!

This application acts a support application for @digital-alchemy/hass, providing type definitions to assist during development

editor

🚀 Usage

# install to devDependencies
npm i --save-dev @digital-alchemy/type-writer
# run
npx type-writer

command

If you are running your code within a Home Assistant addon environment, type-writer will automatically connect to your install. No configuration needed!

⚙️ Configuration

For setups outside an addon environment, a configuration file is needed. Create one of the following:

  • .type_writer: add to project root
  • ~/.config/type_writer: add to user configs

Contents:

[hass]
  BASE_URL=http://localhost:8123
  TOKEN=... # YOUR LONG LIVED ACCESS TOKEN