Bunches of fixes nd changes

This commit is contained in:
CeeWeasel
2025-10-27 16:49:34 -04:00
parent 0c01e534ed
commit 953ee882cd
53 changed files with 1167 additions and 441 deletions
+24 -2
View File
@@ -425,6 +425,27 @@ cards:
return "temp-unknown";
'
# The HVAC Delta can be positive or negative, depending on if the furnace, heat pump, or ac is running
- entities:
- sensor.hvac_multisensor_delta
# An example of rounding up a number, i.e. a temperature of 90.1 becomes 91
text_template: '${entity.state ? Math.ceil(entity.state) : "undefined"} F'
class_template: '
var temp = parseFloat(entity.state.replace("°", ""));
if (temp < -30)
return "temp-freeze";
else if (temp < -20)
return "temp-low";
else if (temp < 10)
return "temp-medium";
else if (temp < 30)
return "temp-high";
else if (temp >= 100)
return "temp-hot";
else
return "hidden-entity";
'
- entities:
- sensor.kitchen_fridge_thermostat_temperature
text_template: '${entity.state ? Math.floor(entity.state) : "unknown"}'
@@ -547,7 +568,8 @@ cards:
'
- entities:
- sensor.hvac_multisensor_salt_level_in_bags
- sensor.water_softener_multisensor_salt_level_in_bags
text_template: '${entity.state ? Math.floor(entity.state) : "undefined"}'
class_template: '
var bags = parseFloat(entity.state);
if (bags > 4)
@@ -729,7 +751,7 @@ cards:
- binary_sensor.storage_room_door_contact
- binary_sensor.mancave_door_contact
- binary_sensor.boys_room_door_contact
- binary_sensor.hvac_multisensor_door
- binary_sensor.water_softener_multisensor_door
#- binary_sensor.furnace_room_door_contact
- binary_sensor.utility_room_door_contact
states: