Skip to content

Update sensor.otp.markdown #2990

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

Merged
merged 2 commits into from
Aug 24, 2017
Merged

Update sensor.otp.markdown #2990

merged 2 commits into from
Aug 24, 2017

Conversation

mehuman
Copy link
Contributor

@mehuman mehuman commented Jul 16, 2017

Description:

Pull request in home-assistant (if applicable): home-assistant/home-assistant#


To run in a docker container
```shell
docker exec -it <container name> python -c 'import pyotp; print("Token: " + pyotp.random_base32())'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the Home Assistant docker name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@balloob What do you mean by Home Assistant docker name? The name of the docker image (homeassistant/home-assistant) or the name of the containter (home-assistant)?

I put it as incase someone had renamed the container. My guess is you want "home-assistant" as per the instructions, which I'm happy to do.

Pulled both values from instructions here:
https://home-assistant.io/docs/installation/docker/

Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🐦

@fabaff fabaff merged commit f493074 into home-assistant:current Aug 24, 2017
fabaff pushed a commit that referenced this pull request Aug 25, 2017
* Update sensor.otp.markdown

* Minor changes and add container name
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.

4 participants