braviaproapi.bravia.VideoScreen

class braviaproapi.bravia.VideoScreen(bravia_client, http_client)

Bases: object

Provides functionality for configuring the target device’s display.

Parameters:
  • bravia_client – The parent BraviaClient instance.
  • http_client – The Http instance associated with the parent client.
set_scene_setting(setting)

Sets the scene mode for the display.

Parameters:

setting (SceneMode) – The scene mode to set. May not be SceneMode.UNKNOWN.

Raises:
  • TypeError – One or more arguments is the incorrect type.
  • ValueError – One or more arguments is invalid.
  • ApiError – The request to the target device failed.
  • InvalidStateError – The target device is off or does not support this mode for the current input.
  • InternalError – An internal error occurred.
class braviaproapi.bravia.SceneMode

Bases: enum.Enum

Specifies the screen mode of the target device.

UNKNOWN

The screen mode was not recognized.

AUTO

Automatically sets the scene based on content.

AUTO_24P_SYNC

Automatically selects “Cinema” mode for 24Hz content, otherwise same as AUTO.

GENERAL

Turns off scene select.