amosyuen / ha-epson-projector-link

Home Assistant Epson Projector Link
Apache License 2.0
9 stars 3 forks source link

Update const.py #102

Closed larhedse closed 1 month ago

larhedse commented 2 months ago

I have, as a newbie, tried to do the change I think is needed to support the extra WirelessHD source input, and also the moved PC source input (I just added 20 so that 10 is untouched). Please feel free to correct any misstake I might have done - I am not used to either GitHub or Python - newbie on thin ice.

According to the documentation this is the list of sources that should be returned if one asks the projector (no I have not tested this part): 20 PC 30 HDMI1 53 LAN A0 HDMI2 D0 WirelessHD

larhedse commented 2 months ago

I have tested this direct into /homeassistant/custom_components/epson_projector_link/projector/const.py and it works perfectly.