Restructure v0 in v0 sub package

This commit is contained in:
Edward Brown 2025-11-14 12:10:48 +00:00 • committed by Edward Brown
parent e6ea78ab49
commit 995cb81253
48 changed files with 25 additions and 20 deletions

View file

@ -1,14 +0,0 @@
from haco.control import Control
from haco.tools import invert_bool
class Switch(Control):
NAME = 'switch'
def __init__(self, name, icon=None):
super().__init__(name, icon=icon)
@property
def control_type(self):
return invert_bool