Home Assistant Custom Component: Temperatur.nu
This custom component includes a sensor for temperatur.nu as well as a service for reporting your current temperature
Sensor
This sensor will show the current temperature on the set location
Parameter | What to put |
---|---|
name | What do you want to call the sensor |
location | This is the name of the station on temperatur.nu. You will find it at the end of the url for the station. In the example we are using https://www.temperatur.nu/ekholmen |
sensor:
- platform: temperatur_nu
name: Temperatur Ekholmen
location: ekholmen
Reporting service
This service will send your current temperature to temperatur.nu.
You will need the hash/token that you get when setting up your station. If you have a station set up already but don't know your token you can find it here
To register the service in HA you need to either set up a sensor or add this to your configuration.yaml file
temperatur_nu:
Parameter | What to put |
---|---|
hash | Your private hash |
sensor | The sensor that contains your current temperature |
service: temperatur_nu.send_temperature
data:
sensor: sensor.temperature_outdoor_lowest
hash: 3d8dummy32c18dummye2d87adummy63f