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

3.7.3 rewrite #48

Merged
merged 10 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add missing modes
iloveicedgreentea committed Jun 7, 2024
commit f3225cbce6cc7aba2dc1e587bb7c5439c6c0bbbd
2 changes: 1 addition & 1 deletion custom_components/jvc_projectors/manifest.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"config_flow": false,
"documentation": "https://www.home-assistant.io/integrations/jvc_projector",
"requirements": [
"pyjvc==3.7.7"
"pyjvc==3.7.8"
],
"ssdp": [],
"zeroconf": [],
5 changes: 4 additions & 1 deletion custom_components/jvc_projectors/remote.py
Original file line number Diff line number Diff line change
@@ -185,9 +185,11 @@ def _update_model_specific_attributes(self):
"input_level": self.jvc_client.get_input_level(),
"mask_mode": self.jvc_client.get_mask_mode(),
"signal_status": self.jvc_client.get_source_status(),
"resolution": self.jvc_client.get_source_display(),
"anamorphic_mode": self.jvc_client.get_anamorphic(),
}
)
if self._attributes.get("signal_status") == "signal":
if self._attributes.get("signal_status"):
self._attributes.update(
{
"content_type": self.jvc_client.get_content_type(),
@@ -201,6 +203,7 @@ def _update_model_specific_attributes(self):
{
"laser_mode": self.jvc_client.get_laser_mode(),
"laser_power": self.jvc_client.get_laser_power(),
"laser_value": self.jvc_client.get_laser_value(),
}
)
else: