Skip to content

Commit

Permalink
fix: Updating examples for AppDaemon 3.0
Browse files Browse the repository at this point in the history
As of AppDaemon 3.0, namespaces have been introduced to make it
possible to handle multiple instances of the same plugin.  These
changes bring the upstream in-line with the version from the
examples repository.

This change should be congruent with the changes in
AppDaemon/appdaemon@6f97b59
  • Loading branch information
brianredbeard committed Mar 26, 2018
1 parent e3630ed commit b60148f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions occusim.py
@@ -1,4 +1,4 @@
import appdaemon.appapi as appapi
import appdaemon.plugins.hass.hassapi as hass
import datetime
import re
import random
Expand All @@ -10,7 +10,7 @@
__version__ = "1.1.5"


class OccuSim(appapi.AppDaemon):
class OccuSim(hass.Hass):

def initialize(self):

Expand Down

0 comments on commit b60148f

Please sign in to comment.