IndigoDomotics / indigo-pushover

Indigo plugin to send push notifications via Pushover.
MIT License
17 stars 11 forks source link

First time run bug #38

Closed indigo-jay closed 8 months ago

indigo-jay commented 8 months ago

When the plugin is installed for the first time the user will get the following error (despite entering the required keys in the config dialog):

 Pushover Error  Post Error - Result: {"token":"invalid","errors":["application token must be supplied, see https://pushover.net/api"],"status":0,"request":"e5d40fc7-35ad-423b-9a66-8ea533324866"}

So, when entering the keys in the config that popups up just after installing on a server that it's never been installed on, the key somehow isn't actually accessible until you restart the plugin.

jcs commented 8 months ago

Does closedPrefsConfigUi need to update self.apiToken from valuesDict?

FlyingDiver commented 8 months ago

Yup - Working on it now

FlyingDiver commented 8 months ago

Fixed in 2022.0.1