I got the error message Cannot read properties of undefined (reading 'usePoll'), this fix uses optional chaining so if the object property does not exist, it will not fail.
This error can be reproduced by adding a TV device and then try to set the polling setting.
Related issue #59 where they also encountered the issue.
I got the error message
Cannot read properties of undefined (reading 'usePoll')
, this fix uses optional chaining so if the object property does not exist, it will not fail.This error can be reproduced by adding a TV device and then try to set the polling setting.
Related issue #59 where they also encountered the issue.