Digital-Alchemy-TS / type-writer

Tools for converting Home Assistant to Typescript types
https://docs.digital-alchemy.app
MIT License
3 stars 1 forks source link

Typed entity definitions #25

Closed zoe-codez closed 3 months ago

zoe-codez commented 3 months ago

Changes

This changes the flow so that type-writer is working off the typescript factory APIs in order to generate entity definitions.

States & attributes for common domains are now more refined, attempting to provide string unions instead of string where appropriate. This requires some matching changes to hass to properly match these new types

Checklist