Commit graph

7 commits

Author SHA1 Message Date
Joakim Sørensen
597da90622 Fixes issue for returning the correct docker version. () 2018-11-13 21:00:21 +01:00
Joakim Sørensen
7fed49c4ab Bump pyhaversion to 2.0.2 () 2018-11-08 09:27:51 +01:00
Jorim Tielemans
29be78e08e Improve version sensor ()
* Validate value against valid list

* Show correct name

Constants in alphabetical order.
Added default name when not showing the local/current version.

* Add icon

Icon was already defined but not set

* Unnecessary "elif" after "return" (no-else-return)
2018-11-07 13:28:25 +01:00
Joakim Sørensen
3d1a324f33 Add functionality to the version sensor ()
* Added functionality to the version sensor.

* Corrected typo.

* Change default name to not cause a breaking change.

* Use vol.lower in the schema.

* Add missing blank line.

* Change order of cv.string and vol.Lower.
2018-11-01 09:20:30 +01:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ()
* add_devices -> add_entities

* Lint

* PyLint

* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Fabian Affolter
1ce4c2092a Update syntax () 2018-06-02 08:30:07 -04:00
Fabian Affolter
c4550d02c5 Add version sensor ()
* Add version sensor

* Set version directly

* Rework tests and fix typo

* Remove additional blank line
2017-08-12 08:52:56 +02:00