Skip to content

Trouble renaming module to work alongisde ControllerX #13

Open
@wafliron

Description

@wafliron

I'm going to apologise in advance for this, because I feel like I must be missing something obvious - but I can't figure it out :-/

I'm trying to setup this module. I already use ControllerX, so I need to rename it (as per install guide and #11) to avoid module naming conflicts.

I've tried every combination of:

  • Renaming /config/appdaemon/apps/ha.appdaemon.aqara_motion_sensors/aqara.py to /config/appdaemon/apps/ha.appdaemon.aqara_motion_sensors/aqaramotion.py
  • Changing "MODULE = 'aqara'" to "MODULE = 'aqaramotion'" in aqara.py
  • Changing the name of the apps.yaml entry from "aqara:" to "aqaramotion:"
  • Changing "module: aqara" to "module: aqaramotion" in apps.yaml

And I'm still getting "WARNING AppDaemon: Unable to find module aqaramotion - initialize() skipped" errors in the AppDaemon log.

Current config looks like:

aqaramotion:
  module: aqaramotion
  class: Aqara
  timeout: 5
  motion_sensors:
    - binary_sensor.some_sensor_i_have

With aqara.py renamed to aqaramotion.py and "MODULE = 'aqara'" changed to "MODULE = 'aqaramotion'" in its contents.

Suggestions? And thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions