Skip to content

How to set a unique id for a new entity? #321

Answered by dlashua
wsw70 asked this question in Q&A
Discussion options

You must be logged in to vote

There is a way to do this, however, it is not something PyScript handles for you. Therefore, you will need to consult the HomeAssistant developer documentation and do it in the same way the you would if you were writing a Home Assistant Integration.

For this type of control, it will likely be easier for you to write an Integration than it will be for you to do it through PyScript.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wsw70
Comment options

Answer selected by wsw70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants