3 Commits

Author SHA1 Message Date
Ville Skyttä
770185004b
Code block improvements (#382)
* Use f-strings instead of .format()

* Code block language marker fixes

* Make example code blocks syntactically valid Python

* Run all python code blocks through black

https://github.com/scop/misc/blob/master/black_markdown.py

* Add some missing code block language markers

* Use shell language consistently to mark shell code blocks

* Undo folding of some example dicts

* Remove outdated OrderedDict comments per Python 3.7, replace with plain dict
2020-01-13 21:55:41 +02:00
Joakim Plate
7ac43cbfcf Add device classes to switch (#246)
https://github.com/home-assistant/home-assistant/pull/23149
2019-05-02 13:03:27 -07:00
Paulus Schoutsen
05b099ae60 Add entities 2018-05-02 11:07:36 -04:00