Changes to serverroom sensor.

This commit is contained in:
2024-01-20 00:03:43 +01:00
parent db6a6e9e30
commit 8a5ba47dfa
3 changed files with 22 additions and 15 deletions

View File

@@ -158,11 +158,11 @@ sensor:
id: humid_outdoor
- platform: homeassistant
entity_id: sensor.luftdruck
entity_id: sensor.serverroom_luftdruck
id: airpressure
- platform: homeassistant
entity_id: sensor.serveraum_temperatur
entity_id: sensor.serverroom_serveraum_temperatur
id: temp_serverroom
- platform: homeassistant
@@ -437,7 +437,7 @@ display:
it.print(375, 130, id(mdi_small), TextAlign::BASELINE_CENTER, "󰖎"); // water percent icon
it.print(95, 80, id(mdi_small), TextAlign::BASELINE_LEFT, "󰐼"); // radioactive icon
if(outdoor_radiation > 0 && outdoor_radiation < 100) {
if(outdoor_radiation >= 0) {
it.printf(200, 80, id(sub_sensor_font), TextAlign::BASELINE_RIGHT, "%2.2f", outdoor_radiation);
it.print(205, 80, id(sensor_unit), TextAlign::BASELINE_LEFT, "µS/h");
}