jnimmo / hass-dmx

Home Assistant DMX over IP Integration
MIT License
107 stars 46 forks source link

Fixed single channel issue #27

Closed chaptergy closed 4 years ago

chaptergy commented 4 years ago

This fixes issue #26, which was due to the comparison being changed from == to is. is compares if the object references are equal while == checks if the value is equal. This caused it to always jump to the else block, which always only returned the brightness.