Fabrication and testing of an all-solid state system for smart window application