Get_hass_config() error in Appdaemon

I’ve a few AppDaemon apps running but I can’t seem to get the get_hass_config() call working. The following code snippet just doesn’t work:

import appdaemon.plugins.hass.hassapi as hass

class Test(hass.Hass):

    def initialize(self):
        self.log( 'test started' )
        config = self.get_hass_config()

When it runs I get the following error:

2018-12-19 10:48:09.411789 INFO test: test started
2018-12-19 10:48:09.411947 WARNING AppDaemon: ------------------------------------------------------------
2018-12-19 10:48:09.412084 WARNING AppDaemon: Unexpected error running initialize() for test
2018-12-19 10:48:09.412202 WARNING AppDaemon: ------------------------------------------------------------
2018-12-19 10:48:09.412476 WARNING AppDaemon: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/appdaemon/", line 1581, in init_object
  File "/conf/apps/test/", line 8, in initialize
    config = self.get_hass_config()
AttributeError: 'Test' object has no attribute 'get_hass_config'

2018-12-19 10:48:09.412603 WARNING AppDaemon: ------------------------------------------------------------

The documentation ([]) shows the call but, looking at the source code, it doesn’t appear anywhere in the file. I’m running the latest appdaemon in a docker container under Ubuntu. Any idea what I’m doing wrong?

Thanks in advance,


your not doing anything wrong.
get_hass_config has been changed to get_plugin_config and it isnt changed it the docs.
ill tell andrew to change it.

That works great,