UniversalDevicesInc-PG3 / udi-poly-notification

Polyglot v2 NodeServer for Notifications
MIT License
2 stars 1 forks source link

AttributeError: 'Pushover' object has no attribute 'get_device_name' #11

Closed jimboca closed 4 years ago

jimboca commented 4 years ago

2020-02-18 13:55:24,187 [Controller] [INFO ] pushover_homeisy:Service Pushover homeisy:do_send: params={'message': 'Front Door Motion Triggered', 'device': 3, 'priority': 2, 'format': 0}
2020-02-18 13:55:24,188 [Controller] [ERROR] _parseInput: failed mn_fdmo.runCmd(DON) 'Pushover' object has no attribute 'get_device_name'
Traceback (most recent call last):
  File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 846, in _parseInput
    self.nodes[input[key]['address']].runCmd(input[key])
  File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 749, in runCmd
    fun(self, command)
  File "/var/polyglot/nodeservers/Notification/nodes/Notify.py", line 217, in cmd_send_on
    self.send_msg(self.get_message_on())
  File "/var/polyglot/nodeservers/Notification/nodes/Notify.py", line 233, in send_msg
    'format': self.get_format(),
  File "/var/polyglot/nodeservers/Notification/nodes/Pushover.py", line 305, in do_send
    params['device'] = self.get_device_name(params['device'])
AttributeError: 'Pushover' object has no attribute 'get_device_name'
111