From 7298a63f50d0a1f8ba7451abd6e79024fb5205b5 Mon Sep 17 00:00:00 2001 From: Edward Brown Date: Fri, 14 Nov 2025 12:11:27 +0000 Subject: [PATCH] Restructure v0 in v0 sub package --- haco/{ => v0}/configs/__init__.py | 0 haco/{ => v0}/configs/demo.py | 0 haco/{ => v0}/configs/development.py | 0 haco/{ => v0}/configs/proscenic_t21.py | 4 ++-- haco/{ => v0}/configs/test.py | 0 haco/{ => v0}/data/__init__.py | 0 haco/{ => v0}/data/type_binary_sensor.py | 0 haco/{ => v0}/data/type_sensor.py | 0 haco/{ => v0}/data/uom.py | 0 9 files changed, 2 insertions(+), 2 deletions(-) rename haco/{ => v0}/configs/__init__.py (100%) rename haco/{ => v0}/configs/demo.py (100%) rename haco/{ => v0}/configs/development.py (100%) rename haco/{ => v0}/configs/proscenic_t21.py (100%) rename haco/{ => v0}/configs/test.py (100%) rename haco/{ => v0}/data/__init__.py (100%) rename haco/{ => v0}/data/type_binary_sensor.py (100%) rename haco/{ => v0}/data/type_sensor.py (100%) rename haco/{ => v0}/data/uom.py (100%) diff --git a/haco/configs/__init__.py b/haco/v0/configs/__init__.py similarity index 100% rename from haco/configs/__init__.py rename to haco/v0/configs/__init__.py diff --git a/haco/configs/demo.py b/haco/v0/configs/demo.py similarity index 100% rename from haco/configs/demo.py rename to haco/v0/configs/demo.py diff --git a/haco/configs/development.py b/haco/v0/configs/development.py similarity index 100% rename from haco/configs/development.py rename to haco/v0/configs/development.py diff --git a/haco/configs/proscenic_t21.py b/haco/v0/configs/proscenic_t21.py similarity index 100% rename from haco/configs/proscenic_t21.py rename to haco/v0/configs/proscenic_t21.py index 0832489..ba192bf 100644 --- a/haco/configs/proscenic_t21.py +++ b/haco/v0/configs/proscenic_t21.py @@ -1,9 +1,9 @@ import math - -from haco import Tasmota, Number, Sensor, Select, Switch, tuya from haco.debugging import get_tasmota_updater from haco.tools import add_tuya_io +from haco import Tasmota, Number, Sensor, Select, Switch, tuya + OPTIONS = ['Default', 'Fries', 'Shrimp', 'Pizza', 'Chicken', 'Fish', 'Steak', 'Cake', 'Bacon', 'Preheat', 'Custom'] cookbook = Select('Cookbook', options=OPTIONS, icon='chef-hat') diff --git a/haco/configs/test.py b/haco/v0/configs/test.py similarity index 100% rename from haco/configs/test.py rename to haco/v0/configs/test.py diff --git a/haco/data/__init__.py b/haco/v0/data/__init__.py similarity index 100% rename from haco/data/__init__.py rename to haco/v0/data/__init__.py diff --git a/haco/data/type_binary_sensor.py b/haco/v0/data/type_binary_sensor.py similarity index 100% rename from haco/data/type_binary_sensor.py rename to haco/v0/data/type_binary_sensor.py diff --git a/haco/data/type_sensor.py b/haco/v0/data/type_sensor.py similarity index 100% rename from haco/data/type_sensor.py rename to haco/v0/data/type_sensor.py diff --git a/haco/data/uom.py b/haco/v0/data/uom.py similarity index 100% rename from haco/data/uom.py rename to haco/v0/data/uom.py