Packages of water heater and solar device