esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
infrared.hpp
Go to the documentation of this file.
1#pragma once
2
5
8
9#include <cstdint>
10
11namespace esphome::api {
12
13namespace proto {
14class ListEntitiesInfraredResponse;
15} // namespace proto
16
20 std::uint32_t capabilities = 0;
22 std::uint32_t receiver_frequency = 0;
23};
24
25InfraredInfo parse_infrared_info(const proto::ListEntitiesInfraredResponse& msg);
26
27} // namespace esphome::api
Common entity metadata shared by every entity domain.
Typed mirrors of the ESPHome protobuf enums.
Definition bytes.hpp:10
InfraredInfo parse_infrared_info(const proto::ListEntitiesInfraredResponse &msg)
Fields present on every ListEntities*Response.
Definition entity.hpp:16
Static description of an infrared entity.
Definition infrared.hpp:18
std::uint32_t capabilities
Bitfield of InfraredCapabilityFlags.
Definition infrared.hpp:20
std::uint32_t receiver_frequency
Demodulation frequency of the IR receiver in Hz (0 = unspecified).
Definition infrared.hpp:22