mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-30 06:33:55 +08:00
docs(license): Switch to CC BY-NC-SA 4.0
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
"""The HA Text AI integration."""
|
"""
|
||||||
|
The HA Text AI integration.
|
||||||
|
|
||||||
|
@license: CC BY-NC-SA 4.0 International
|
||||||
|
@author: SMKRV
|
||||||
|
@github: https://github.com/smkrv/ha-text-ai
|
||||||
|
@source: https://github.com/smkrv/ha-text-ai
|
||||||
|
"""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
"""API Client for HA Text AI."""
|
"""
|
||||||
|
API Client for HA Text AI.
|
||||||
|
|
||||||
|
@license: CC BY-NC-SA 4.0 International
|
||||||
|
@author: SMKRV
|
||||||
|
@github: https://github.com/smkrv/ha-text-ai
|
||||||
|
@source: https://github.com/smkrv/ha-text-ai
|
||||||
|
"""
|
||||||
import logging
|
import logging
|
||||||
import asyncio
|
import asyncio
|
||||||
from typing import Any, Dict, List, Optional
|
from typing import Any, Dict, List, Optional
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
"""Config flow for HA text AI integration."""
|
"""
|
||||||
|
Config flow for HA text AI integration.
|
||||||
|
|
||||||
|
@license: CC BY-NC-SA 4.0 International
|
||||||
|
@author: SMKRV
|
||||||
|
@github: https://github.com/smkrv/ha-text-ai
|
||||||
|
@source: https://github.com/smkrv/ha-text-ai
|
||||||
|
"""
|
||||||
import logging
|
import logging
|
||||||
from typing import Any, Dict, Optional
|
from typing import Any, Dict, Optional
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
"""Constants for the HA text AI integration."""
|
"""
|
||||||
|
Constants for the HA text AI integration.
|
||||||
|
|
||||||
|
@license: CC BY-NC-SA 4.0 International
|
||||||
|
@author: SMKRV
|
||||||
|
@github: https://github.com/smkrv/ha-text-ai
|
||||||
|
@source: https://github.com/smkrv/ha-text-ai
|
||||||
|
"""
|
||||||
from typing import Final
|
from typing import Final
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
from homeassistant.const import Platform, CONF_API_KEY, CONF_NAME
|
from homeassistant.const import Platform, CONF_API_KEY, CONF_NAME
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
"""The HA Text AI coordinator."""
|
"""
|
||||||
|
The HA Text AI coordinator.
|
||||||
|
|
||||||
|
@license: CC BY-NC-SA 4.0 International
|
||||||
|
@author: SMKRV
|
||||||
|
@github: https://github.com/smkrv/ha-text-ai
|
||||||
|
@source: https://github.com/smkrv/ha-text-ai
|
||||||
|
"""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
@@ -11,7 +18,7 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
|
|||||||
from homeassistant.util import dt as dt_util
|
from homeassistant.util import dt as dt_util
|
||||||
from homeassistant.exceptions import HomeAssistantError
|
from homeassistant.exceptions import HomeAssistantError
|
||||||
from homeassistant.const import CONF_NAME
|
from homeassistant.const import CONF_NAME
|
||||||
from .config_flow import normalize_name
|
from .config_flow import normalize_name
|
||||||
|
|
||||||
from .const import (
|
from .const import (
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
"""Sensor platform for HA Text AI."""
|
"""
|
||||||
|
Sensor platform for HA Text AI.
|
||||||
|
|
||||||
|
@license: CC BY-NC-SA 4.0 International
|
||||||
|
@author: SMKRV
|
||||||
|
@github: https://github.com/smkrv/ha-text-ai
|
||||||
|
@source: https://github.com/smkrv/ha-text-ai
|
||||||
|
"""
|
||||||
import logging
|
import logging
|
||||||
import math
|
import math
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"metadata": {
|
||||||
|
"author": "SMKRV",
|
||||||
|
"license": "CC BY-NC-SA 4.0 International",
|
||||||
|
"copyright": "© 2024"
|
||||||
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"step": {
|
"step": {
|
||||||
"provider": {
|
"provider": {
|
||||||
|
|||||||
Reference in New Issue
Block a user