/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='sensorEntity'> /// </param> public static void ApiSensorByIdPut(this IHomeAutomationAPI operations, int id, SensorEntity sensorEntity = default(SensorEntity)) { operations.ApiSensorByIdPutAsync(id, sensorEntity).GetAwaiter().GetResult(); }