Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate entities on startup #55

Merged
merged 1 commit into from
Apr 3, 2020
Merged

Generate entities on startup #55

merged 1 commit into from
Apr 3, 2020

Conversation

helto4real
Copy link
Collaborator

First experimental feature for #53

If the environvariable HASS_GEN_ENTITIES set to "True" then the daemon will generate entities from your Home Assistant. This feature will generate only supported entity types in the Fluent API. Basically On/Off/Toggle entities and Media Players. More will follow.

Home Assistant add-on will have a settings corresponding to this settings.

All generated files will be under [appfolder]/.generated

Classes is partial but all files under .generated will be written over.

@helto4real helto4real merged commit a7989e1 into dev Apr 3, 2020
@helto4real helto4real deleted the code_generator branch April 3, 2020 21:06
Ikcelaks pushed a commit to Ikcelaks/netdaemon that referenced this pull request Dec 23, 2022
First experimental feature for net-daemon#53

If the environvariable HASS_GEN_ENTITIES set to "True" then the daemon will generate entities from your Home Assistant. This feature will generate only supported entity types in the Fluent API. Basically On/Off/Toggle entities and Media Players. More will follow.

Home Assistant add-on will have a settings corresponding to this settings.

All generated files will be under [appfolder]/.generated

Classes is partial but all files under .generated will be written over.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant