I am specifying the kelvin and saturation as suggested from my app in the SetStates endpoint. It used to work fine, but still not working.
NSArray *states = @[
@{ @"selector": light_id,
@"power": state ? @"on" : @"off",
@"saturation" : [NSNumber numberWithFloat:0.0],
@"brightness" : [NSNumber numberWithFloat:brightness],
@"kelvin" : [NSNumber numberWithInt:kelvin]
},
];
Any ideas? This is iOS code by the way which worked well last week.