Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions custom_components/catt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file makes Home Assistant recognize this directory as an integration.
# For CATT, which is primarily a CLI tool, this allows HACS to manage it.

DOMAIN = "catt"

async def async_setup(hass, config):
# Mark domain as loaded. CATT itself doesn't integrate deeply with Home Assistant's event loop
# or entity system in a typical way, so setup is minimal.
hass.data[DOMAIN] = {}
return True

async def async_setup_entry(hass, entry):
# CATT does not use config entries.
return True

async def async_unload_entry(hass, entry):
# CATT does not use config entries.
return True
10 changes: 10 additions & 0 deletions custom_components/catt/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"domain": "catt",
"name": "Cast All The Things",
"documentation": "https://github.com/skorokithakis/catt",
"issue_tracker": "https://github.com/skorokithakis/catt/issues",
"codeowners": ["@skorokithakis"],
"version": "0.12.0",
"iot_class": "local_polling",
"requirements": ["catt==0.12.0"]
}
6 changes: 6 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "catt",
"content_in_root": true,
"filename": "catt",
"render_readme": true
}