Skip to main content

Module rest

Module rest 

Source

Structs§

ApiConfig
ApiRunning
CalendarQuery
CalendarView
ContextView
EventView
HistoryQuery
LogbookQuery
ServiceDomainView
SetStateRequest
StateView
TemplateRequest

Functions§

api_root
GET /api/ — the HA APIStatusView (“API running.” ping).
call_service
check_config
compatibility
Machine-readable support matrix. This prevents clients from confusing core protocol compatibility with every optional HA integration.
delete_state
DELETE /api/states/:entity_id — remove an entity from the state machine. Idempotent: returns 204 whether or not the entity existed, matching HA’s removal semantics. 4xx only for malformed entity_id or auth failure.
error_log
fire_event
get_calendar_events
get_calendars
get_camera_proxy
get_components
get_config
get_events
get_history
get_history_period
get_logbook
get_logbook_period
get_services
get_state
get_states
render_template
set_state