add V 0.6.0-alpha

This commit is contained in:
2026-01-13 15:38:22 +01:00
committed by GitHub
parent 6a477bc7fe
commit 72d2cf7c5b
13 changed files with 1712 additions and 0 deletions

27
const.py Normal file
View File

@@ -0,0 +1,27 @@
DOMAIN = "proxmox_pve"
CONF_HOST = "host"
CONF_PORT = "port"
CONF_VERIFY_SSL = "verify_ssl"
CONF_TOKEN_NAME = "token_name"
CONF_TOKEN_VALUE = "token_value"
# Options
CONF_SCAN_INTERVAL = "scan_interval"
CONF_IP_MODE = "ip_mode"
CONF_IP_PREFIX = "ip_prefix"
DEFAULT_PORT = 8006
DEFAULT_VERIFY_SSL = True
DEFAULT_SCAN_INTERVAL = 20
IP_MODE_PREFER_192168 = "prefer_192168"
IP_MODE_PREFER_PRIVATE = "prefer_private"
IP_MODE_ANY = "any"
IP_MODE_CUSTOM_PREFIX = "custom_prefix"
DEFAULT_IP_MODE = IP_MODE_PREFER_192168
DEFAULT_IP_PREFIX = "192.168."
PLATFORMS = ["sensor", "switch", "button"]