Doesn't this line
|
sensor_name = 'rpi-{}'.format(rpi_hostname) |
defeat the purpose of line
|
sensor_name = os.environ.get( |
If the config file specifies a sensor_name then the sensor should get that name - and not use the rpi_hostname (discovered in getHostnames())
Doesn't this line
RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py
Line 1239 in 259e42c
RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py
Line 265 in 259e42c
If the config file specifies a
sensor_namethen the sensor should get that name - and not use therpi_hostname(discovered ingetHostnames())