Closed mvdwetering closed 2 months ago
The changes enhance the support verification for HDMI outputs in the Yamaha integration. By introducing checks for both the hdmiout
attribute and the lipsynchdmiout2offset
, the logic becomes more robust and reliable. This update improves error handling and overall control flow in the is_supported
methods across the relevant components.
File | Change Summary |
---|---|
custom_components/yamaha_ynca/select.py |
Modified the is_supported method to require both hdmiout and lipsynchdmiout2offset to be present and not None , enhancing the support check logic. |
custom_components/yamaha_ynca/switch.py |
Updated the is_supported method to check for the existence of hdmiout before evaluating lipsynchdmiout2offset , refining the conditions for determining support. |
🐰 In the land of circuits bright,
Where HDMI beams with delight,
A check was made, robust and grand,
To ensure all signals stand!
Now with logic, clear and true,
Our zones sing a clearer hue! 🌟
Summary by CodeRabbit
hdmiout
andlipsynchdmiout2offset
attributes must be present and valid.