5f01411780
Initial snapshot of Home Assistant config (HAOS 2026.4.4)
prior to dashboard restructuring and helper YAML migration.
Pre-commit cleanup applied:
- Removed blueprints/switch_manager/ (9.4 MB stale, component already gone)
- Removed .storage/switch_manager
- Removed home-assistant.log.{1,old,fault}
- Removed zigbee2mqtt/configuration_backup_v{1..4}.yaml
- Removed zigbee2mqtt/database.db.tmp.2024-09-27 (1.5y old)
- Created empty themes/ to satisfy configuration.yaml include
.gitignore uses allowlist strategy for .storage/ to keep
all tokens, keys, and PINs out of version control.
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
"""Constants for the PowerOcean integration."""
|
|
|
|
import logging
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "powerocean"
|
|
NAME = "Ecoflow PowerOcean"
|
|
VERSION = "2024.08.27"
|
|
ISSUE_URL = "https://github.com/niltrip/powerocean/issues"
|
|
ISSUE_URL_ERROR_MESSAGE = " Please log any issues here: " + ISSUE_URL
|
|
|
|
|
|
PLATFORMS: list[Platform] = [Platform.SENSOR]
|
|
|
|
_LOGGER = logging.getLogger(f"custom_components.{DOMAIN}")
|
|
|
|
ATTR_PRODUCT_DESCRIPTION = "Product Description"
|
|
ATTR_DESTINATION_NAME = "Destination Name"
|
|
ATTR_SOURCE_NAME = "Source Name"
|
|
ATTR_UNIQUE_ID = "Internal Unique ID"
|
|
ATTR_PRODUCT_VENDOR = "Vendor"
|
|
ATTR_PRODUCT_SERIAL = "Vendor Product Serial"
|
|
ATTR_PRODUCT_NAME = "Device Name"
|
|
ATTR_PRODUCT_VERSION = "Vendor Firmware Version"
|
|
ATTR_PRODUCT_BUILD = "Vendor Product Build"
|
|
ATTR_PRODUCT_FEATURES = "Vendor Product Features"
|
|
|
|
|
|
STARTUP_MESSAGE = f"""
|
|
----------------------------------------------------------------------------
|
|
{NAME}
|
|
Version: {VERSION}
|
|
Domain: {DOMAIN}
|
|
If you have any issues with this custom component please open an issue here:
|
|
{ISSUE_URL}
|
|
----------------------------------------------------------------------------
|
|
"""
|