The Hue v2 API mandates speed in scene objects (even though the palette entry, to which the speed supposedly relates, is optional).
aiohue at the very least has trouble parsing scenes where speed is not specified.
This PR modifies the Scene object to always include speed in its V2 API representation, and pulls out the default value into a constant to use across both constructor and save methods.
The Hue v2 API mandates
speed
in scene objects (even though thepalette
entry, to which the speed supposedly relates, is optional).aiohue
at the very least has trouble parsing scenes wherespeed
is not specified.This PR modifies the
Scene
object to always includespeed
in its V2 API representation, and pulls out the default value into a constant to use across both constructor andsave
methods.