antenna-switcher-client 0.5.0
Async C++17 client for the antenna-switcher device over the ESPHome native API
Loading...
Searching...
No Matches
Namespaces | Classes | Enumerations
antenna_switcher Namespace Reference

Namespaces

namespace  detail
 Command-string builders — pure, device-free, and unit-tested offline.
 

Classes

class  AntennaSwitcher
 Async, event-driven controller for the antenna-switcher device. More...
 
struct  ChannelState
 A snapshot of one channel's live state. More...
 
struct  Options
 Everything needed to reach and authenticate with the device. More...
 
struct  PlanStep
 One step of a plan: either switch to an input, or wait for a delay. More...
 

Enumerations

enum class  Channel { One = 1 , Two = 2 }
 One of the two switchers on the device. More...
 
enum class  TimeUnit { Ms , Us }
 Time unit for auto-cycle intervals and plan delays. More...
 
enum class  Mode { Manual , Auto , Plan , Unknown }
 Operating mode reported by the device. More...
 

Enumeration Type Documentation

◆ Channel

enum class antenna_switcher::Channel
strong

One of the two switchers on the device.

The value is the channel number used in the device's entity object-ids (_1_… / _2_…).

Enumerator
One 
Two 

◆ Mode

enum class antenna_switcher::Mode
strong

Operating mode reported by the device.

Enumerator
Manual 
Auto 
Plan 
Unknown 

◆ TimeUnit

enum class antenna_switcher::TimeUnit
strong

Time unit for auto-cycle intervals and plan delays.

Enumerator
Ms 
Us