Ivey grants almost $1M to weatherize homes