Fixing possible issues with thermostats or sensors without a unit property