Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
add picture mode attr
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveicedgreentea committed Jan 19, 2023
1 parent c755090 commit 40c971e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/jvc_projectors/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def __init__(
self._state = False
self._lowlatency_enabled = False
self._installation_mode = ""
self._picture_mode = ""
self._input_mode = ""
self._laser_mode = ""
self._eshift = ""
Expand Down Expand Up @@ -105,6 +106,7 @@ def extra_state_attributes(self):
return {
"power_state": self._state,
"installation_mode": self._installation_mode,
"picture_mode": self._picture_mode,
"input_mode": self._input_mode,
"laser_mode": self._laser_mode if "NZ" in self._model_family else "Unsupported",
"eshift": self._eshift if "NZ" in self._model_family else "Unsupported",
Expand Down Expand Up @@ -142,6 +144,7 @@ def update(self):
self._input_mode = self.jvc_client.get_input_mode()
self._color_mode = self.jvc_client.get_color_mode()
self._input_level = self.jvc_client.get_input_level()
self._picture_mode = self.jvc_client.get_picture_mode()

# Only look at laser for NZ
if "NZ" in self._model_family:
Expand Down

0 comments on commit 40c971e

Please sign in to comment.