public static ReadOnlyThermostatFanState ToThermostatFanState(this XElement element) { return(ReadOnlyThermostatFanState.FromXElement(element)); }