15class ListEntitiesBinarySensorResponse;
16class BinarySensorStateResponse;
27 std::uint32_t
key = 0;
Common entity metadata shared by every entity domain.
Typed mirrors of the ESPHome protobuf enums.
BinarySensorInfo parse_binary_sensor_info(const proto::ListEntitiesBinarySensorResponse &msg)
BinarySensorState parse_binary_sensor_state(const proto::BinarySensorStateResponse &msg)
Static description of a binary sensor entity.
Definition binary_sensor.hpp:20
bool is_status_binary_sensor
Definition binary_sensor.hpp:22
std::string device_class
Definition binary_sensor.hpp:21
A binary sensor's reported value.
Definition binary_sensor.hpp:26
bool missing_state
True when the binary sensor currently has no valid value.
Definition binary_sensor.hpp:30
std::uint32_t key
Definition binary_sensor.hpp:27
bool state
Definition binary_sensor.hpp:28
Fields present on every ListEntities*Response.
Definition entity.hpp:16