hass-core/homeassistant/components/github
Marius 7714160f4c
Change github sensor state to short commit sha (#31581)
* change state to latest_release_url

to have a meaningful frontend representation.
self._github_data.latest_commit_sha is still available in the attributes, so no info is lost

* template state to show only the tag

and not the full url to the tag

* add guard to update(self) for state

* add empty line 150

black...

* Update sensor.py

* add SHA if no release url

* Correct sha to 7 digits

* take out fallback on state
2020-02-28 12:34:39 +01:00
..
__init__.py Consolidate all platforms that have no tests (#22096) 2019-03-16 20:44:05 -07:00
manifest.json Correct names in manifests (C-L) (#30532) 2020-01-07 08:19:17 +01:00
sensor.py Change github sensor state to short commit sha (#31581) 2020-02-28 12:34:39 +01:00