Properties
/api/
/api/: {
get: {
responses: {
200: {
content: {
application/json: {
message?: string;
};
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
message?: string;
};
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
message?: string;
};
};
};
}
-
200: {
content: {
application/json: {
message?: string;
};
};
}
-
content: {
application/json: {
message?: string;
};
}
-
application/json: {
message?: string;
}
-
Optional
message?: string
/api/calendars
/api/calendars: {
get: {
responses: {
200: {
content: {
application/json: {
calendar?: string;
entity_id?: string;
}[];
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
calendar?: string;
entity_id?: string;
}[];
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
calendar?: string;
entity_id?: string;
}[];
};
};
}
-
200: {
content: {
application/json: {
calendar?: string;
entity_id?: string;
}[];
};
}
-
content: {
application/json: {
calendar?: string;
entity_id?: string;
}[];
}
-
application/json: {
calendar?: string;
entity_id?: string;
}[]
/api/calendars/{entity_id}
/api/calendars/{entity_id}: {
get: {
parameters: {
path: {
entity_id: string;
};
};
responses: {
200: {
content: {
application/json: {
description?: string;
end?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
location?: string;
start?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
summary?: string;
}[];
};
};
404: {
content: {
application/json: {
message?: string;
};
};
};
};
};
}
Type declaration
-
get: {
parameters: {
path: {
entity_id: string;
};
};
responses: {
200: {
content: {
application/json: {
description?: string;
end?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
location?: string;
start?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
summary?: string;
}[];
};
};
404: {
content: {
application/json: {
message?: string;
};
};
};
};
}
-
parameters: {
path: {
entity_id: string;
};
}
-
path: {
entity_id: string;
}
-
responses: {
200: {
content: {
application/json: {
description?: string;
end?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
location?: string;
start?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
summary?: string;
}[];
};
};
404: {
content: {
application/json: {
message?: string;
};
};
};
}
-
200: {
content: {
application/json: {
description?: string;
end?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
location?: string;
start?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
summary?: string;
}[];
};
}
-
content: {
application/json: {
description?: string;
end?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
location?: string;
start?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
summary?: string;
}[];
}
-
application/json: {
description?: string;
end?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
location?: string;
start?: Without<{
dateTime?: string;
}, {
date?: string;
}> & {
date?: string;
} | Without<{
date?: string;
}, {
dateTime?: string;
}> & {
dateTime?: string;
};
summary?: string;
}[]
-
404: {
content: {
application/json: {
message?: string;
};
};
}
-
content: {
application/json: {
message?: string;
};
}
-
application/json: {
message?: string;
}
-
Optional
message?: string
/api/config
/api/config: {
get: {
responses: {
200: {
content: {
application/json: {
components?: string[];
config_dir?: string;
elevation?: number;
latitude?: number;
location_name?: string;
longitude?: number;
time_zone?: string;
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
};
version?: string;
whitelist_external_dirs?: string[];
};
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
components?: string[];
config_dir?: string;
elevation?: number;
latitude?: number;
location_name?: string;
longitude?: number;
time_zone?: string;
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
};
version?: string;
whitelist_external_dirs?: string[];
};
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
components?: string[];
config_dir?: string;
elevation?: number;
latitude?: number;
location_name?: string;
longitude?: number;
time_zone?: string;
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
};
version?: string;
whitelist_external_dirs?: string[];
};
};
};
}
-
200: {
content: {
application/json: {
components?: string[];
config_dir?: string;
elevation?: number;
latitude?: number;
location_name?: string;
longitude?: number;
time_zone?: string;
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
};
version?: string;
whitelist_external_dirs?: string[];
};
};
}
-
content: {
application/json: {
components?: string[];
config_dir?: string;
elevation?: number;
latitude?: number;
location_name?: string;
longitude?: number;
time_zone?: string;
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
};
version?: string;
whitelist_external_dirs?: string[];
};
}
-
application/json: {
components?: string[];
config_dir?: string;
elevation?: number;
latitude?: number;
location_name?: string;
longitude?: number;
time_zone?: string;
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
};
version?: string;
whitelist_external_dirs?: string[];
}
-
Optional
components?: string[]
-
Optional
config_dir?: string
-
Optional
elevation?: number
-
Optional
latitude?: number
-
Optional
location_name?: string
-
Optional
longitude?: number
-
Optional
time_zone?: string
-
Optional
unit_system?: {
length?: string;
mass?: string;
pressure?: string;
temperature?: string;
volume?: string;
}
-
Optional
length?: string
-
Optional
mass?: string
-
Optional
pressure?: string
-
Optional
temperature?: string
-
Optional
volume?: string
-
Optional
version?: string
-
Optional
whitelist_external_dirs?: string[]
/api/error_log
/api/error_log: {
get: {
responses: {
200: {
content: {
text/plain: string;
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
text/plain: string;
};
};
};
}
-
responses: {
200: {
content: {
text/plain: string;
};
};
}
-
200: {
content: {
text/plain: string;
};
}
-
content: {
text/plain: string;
}
/api/events
/api/events: {
get: {
responses: {
200: {
content: {
application/json: {
event?: string;
listener_count?: Record<string, never>;
}[];
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
event?: string;
listener_count?: Record<string, never>;
}[];
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
event?: string;
listener_count?: Record<string, never>;
}[];
};
};
}
-
200: {
content: {
application/json: {
event?: string;
listener_count?: Record<string, never>;
}[];
};
}
-
content: {
application/json: {
event?: string;
listener_count?: Record<string, never>;
}[];
}
-
application/json: {
event?: string;
listener_count?: Record<string, never>;
}[]
/api/logbook
/api/logbook: {
get: {
responses: {
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
};
}
-
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
}
-
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
}
-
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[]
/api/logbook/{timestamp}
/api/logbook/{timestamp}: {
get: {
parameters: {
path: {
timestamp: string;
};
};
responses: {
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
};
};
};
}
Type declaration
-
get: {
parameters: {
path: {
timestamp: string;
};
};
responses: {
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
};
};
}
-
parameters: {
path: {
timestamp: string;
};
}
-
path: {
timestamp: string;
}
-
responses: {
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
};
}
-
200: {
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
};
}
-
content: {
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[];
}
-
application/json: {
context_user_id?: string;
domain?: string;
entity_id?: string;
message?: string;
name?: string;
when?: string;
}[]
/api/services
/api/services: {
get: {
responses: {
200: {
content: {
application/json: {
domain?: string;
services?: {
description?: string;
fields?: Record<string, never>;
name?: string;
target?: Record<string, never>;
}[];
}[];
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
domain?: string;
services?: {
description?: string;
fields?: Record<string, never>;
name?: string;
target?: Record<string, never>;
}[];
}[];
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
domain?: string;
services?: {
description?: string;
fields?: Record<string, never>;
name?: string;
target?: Record<string, never>;
}[];
}[];
};
};
}
-
200: {
content: {
application/json: {
domain?: string;
services?: {
description?: string;
fields?: Record<string, never>;
name?: string;
target?: Record<string, never>;
}[];
}[];
};
}
-
content: {
application/json: {
domain?: string;
services?: {
description?: string;
fields?: Record<string, never>;
name?: string;
target?: Record<string, never>;
}[];
}[];
}
-
application/json: {
domain?: string;
services?: {
description?: string;
fields?: Record<string, never>;
name?: string;
target?: Record<string, never>;
}[];
}[]
/api/states
/api/states: {
get: {
responses: {
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}[];
};
};
};
};
}
Type declaration
-
get: {
responses: {
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}[];
};
};
};
}
-
responses: {
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}[];
};
};
}
-
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}[];
};
}
-
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}[];
}
-
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}[]
/api/states/{entity_id}
/api/states/{entity_id}: {
get: {
parameters: {
path: {
entity_id: string;
};
};
responses: {
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
};
};
};
404: {
content: {
application/json: {
message?: string;
};
};
};
};
};
}
Type declaration
-
get: {
parameters: {
path: {
entity_id: string;
};
};
responses: {
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
};
};
};
404: {
content: {
application/json: {
message?: string;
};
};
};
};
}
-
parameters: {
path: {
entity_id: string;
};
}
-
path: {
entity_id: string;
}
-
responses: {
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
};
};
};
404: {
content: {
application/json: {
message?: string;
};
};
};
}
-
200: {
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
};
};
}
-
content: {
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
};
}
-
application/json: {
attributes?: Record<string, never>;
entity_id?: string;
last_changed?: string;
last_updated?: string;
state?: string;
}
-
Optional
attributes?: Record<string, never>
-
Optional
entity_id?: string
-
Optional
last_changed?: string
-
Optional
last_updated?: string
-
Optional
state?: string
-
404: {
content: {
application/json: {
message?: string;
};
};
}
-
content: {
application/json: {
message?: string;
};
}
-
application/json: {
message?: string;
}
-
Optional
message?: string
/api/template
/api/template: {
post: {
requestBody: {
content: {
application/json: {
template?: string;
};
};
};
responses: {
200: {
content: {
text/plain: string;
};
};
400: {
content: {
application/json: {
message?: string;
};
};
};
};
};
}
Type declaration
-
post: {
requestBody: {
content: {
application/json: {
template?: string;
};
};
};
responses: {
200: {
content: {
text/plain: string;
};
};
400: {
content: {
application/json: {
message?: string;
};
};
};
};
}
-
requestBody: {
content: {
application/json: {
template?: string;
};
};
}
-
content: {
application/json: {
template?: string;
};
}
-
application/json: {
template?: string;
}
-
Optional
template?: string
-
responses: {
200: {
content: {
text/plain: string;
};
};
400: {
content: {
application/json: {
message?: string;
};
};
};
}
-
200: {
content: {
text/plain: string;
};
}
-
content: {
text/plain: string;
}
-
400: {
content: {
application/json: {
message?: string;
};
};
}
-
content: {
application/json: {
message?: string;
};
}
-
application/json: {
message?: string;
}
-
Optional
message?: string
Returns a message if the API is up and running.
Description
Returns a message if the API is up and running.