Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moonraker Failed Plugins: [power] after latest update #73

Closed
pheonix3330 opened this issue Jan 22, 2021 · 2 comments
Closed

Moonraker Failed Plugins: [power] after latest update #73

pheonix3330 opened this issue Jan 22, 2021 · 2 comments

Comments

@pheonix3330
Copy link

moonraker log attached.

Looks like the issue is here:

2021-01-22 22:02:40,672 [power.py:init()] - Power plugin loading devices: ['power tasmota_plug']
2021-01-22 22:02:40,672 [moonraker.py:load_plugin()] - Unable to load plugin (power)
Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/moonraker.py", line 148, in load_plugin
plugin = load_func(config)
File "/home/pi/moonraker/moonraker/plugins/power.py", line 439, in load_plugin_multi
return PrinterPower(config)
File "/home/pi/moonraker/moonraker/plugins/power.py", line 39, in init
self.devices[dev.get_name()] = dev
File "/home/pi/moonraker/moonraker/plugins/power.py", line 174, in get_name
return self.name
AttributeError: 'Tasmota' object has no attribute 'name'
moonraker (1).log

My tasmota plug is configured as follows:

[power tasmota_plug]
type = tasmota
address = 192.168.86.20
off_when_shutdown = True

Any idea what the issue could be? Was working before the latest moonraker update.

@Arksine
Copy link
Owner

Arksine commented Jan 22, 2021

Thanks. I just pushed a fix, it should work now.

@pheonix3330
Copy link
Author

Thanks, working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants