package
1.4.22
Repository: https://github.com/jayme-github/fritzctl.git
Documentation: pkg.go.dev

# Functions

ConvertDevicelist converts a fritz.Devicelist to a Plan.
DryRunner is an Applier that only plans changes to the AHA system.
ExporterTo creates an Exporter, which writes to the given io.Writer.
NewApplier is an Applier that performs changes to the AHA system via the HTTP API.
Parse takes an io.Reader and marshals the contents as a Plan, returning a pointer it.
ParseFile opens a file and marshals the contents as a Plan, returning a pointer it.
TargetBasedPlanner creates a Planner that only focuses on target state.

# Structs

Exporter allows exporting of a Plan.
Plan represents the data model of an absolute state of the fritz smart home.
Switch represents the state of a switch.
Thermostat represents the state of a HKR device.

# Interfaces

Action is one operation on the home automation system.
Applier defines the interface to apply a plan to the AHA system.
Planner represents an execution planner, returning actions to transition from a src to a target state.