This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import time | |
from datetime import datetime | |
import appdaemon.plugins.hass.hassapi as hass | |
class SpoolmanSync(hass.Hass): | |
def initialize(self): | |
"""Inicializa la app y escucha cambios en los sensores AMS.""" |