def __setattr__(self, key, value):
        raise AttributeError("can't set attribute")
Check if device is on and update the state.
dataset/ETHPy150Open rtyler/Spawning/spawning/util/system.py/System.__setattr__--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/wake_on_lan.py/WOLSwitch.update