Sennevds / system_sensors

Logging of system sensor specific for the RPI and sending them to a MQTT broker
MIT License
367 stars 113 forks source link

Add extra parameters to the config topic #1

Closed Sennevds closed 5 years ago

Sennevds commented 5 years ago

Add extra parameters to the config topic like:

If we add this the device will show as integration under one device Example config:

{
    "unit_of_measurement": "°C",
    "value_template": "{{ value_json.temperature }}",
    "state_topic": "homeassistant/sensor/deconz/state",
    "name": "deconz_temperature",
    "unique_id": "deconz_sensor_temperature",
    "device": {
        "identifiers": [
            "deconz_sensor"
        ],
        "name": "DeconzSensors",
        "model": "RPI Deconz",
        "manufacturer": "RPI"
    }    
}
Sennevds commented 5 years ago

Included in latest src