The electrolyte includes one or more polysiloxanes, one or more alkali metal salts, and one or more silanes. At least one polysiloxane includes side chains having poly(alkylene oxide) moieties. At east one silane includes at least one moiety selected from a first group consisting of an alkyl group, a halogenated alkyl group, an aryl group, a halogenated aryl group, an alkoxy group and an oxyalkylene group and at least one moiety selected from a second group consisting of an alkoxy group, an oxyalkylene group and a carbonate group. In one example, the electrochemical device is a secondary battery.