public function setTime($time)
{
// $this->client->sendCommand(
// (new SetScheduleAttributes($this))
// ->time($time)
// );
$x = new SetScheduleAttributes($this);
$y = $x->time($time);
$this->client->sendCommand($y);
$this->attributes->time = (string) $time;
return $this;
}