home-assistant / home-assistant-notebooks

:notebook: Sample Jupyter Notebooks to explore Home Assistant data
https://data.home-assistant.io/
Other
63 stars 32 forks source link

Getting started notebook: show alternative to random #16

Open balloob opened 5 years ago

balloob commented 5 years ago

For sensors and binary sensors, we currently use a random.choice. This is embedded in the data extraction code, making it unclear to users how they could change it to their own entity ID. We should clarify that by extracting the random.choice to a variable and adding commented out code and a comment on how to change that to your own entity ID.