true]). */ public function setState(Entity $entity, array $state): void; /** Set a light: ['on' => bool, 'brightness' => 0-100, 'rgb' => [r,g,b]]. */ public function setLight(Entity $entity, array $params): void; /** Reboot the whole device. */ public function reboot(Device $device): void; /** Entity types this driver can control. */ public function capabilities(): array; }