This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Show info from Livestatus API. |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledthruk_livestatus
. - Download all the files from the
custom_components/thruk_livestatus/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA
configuration.yaml
file, add the below lines replacing the name, host and api_key parameters as required"
sensor:
- platform: thruk_livestatus
name: Friendly Name
host: http[s]://FQDN
api_key: xxxxxx
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/thruk_livestatus/__init__.py
custom_components/thruk_livestatus/const.py
custom_components/thruk_livestatus/manifest.json
custom_components/thruk_livestatus/sensor.py
If you want to contribute to this please read the Contribution guidelines