ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
bedjet_child.h
Go to the documentation of this file.
1#pragma once
2
3#include "bedjet_codec.h"
5
6namespace esphome::bedjet {
7
8// Forward declare BedJetHub
9class BedJetHub;
10
11class BedJetClient : public Parented<BedJetHub> {
12 public:
13 virtual void on_status(const BedjetStatusPacket *data) = 0;
14 virtual void on_bedjet_state(bool is_ready) = 0;
15
16 protected:
17 friend BedJetHub;
18 virtual std::string describe() = 0;
19};
20
21} // namespace esphome::bedjet
Helper class to easily give an object a parent of type T.
Definition helpers.h:1861
virtual void on_status(const BedjetStatusPacket *data)=0
virtual void on_bedjet_state(bool is_ready)=0
virtual std::string describe()=0
Hub component connecting to the BedJet device over Bluetooth.
Definition bedjet_hub.h:36
The format of a BedJet V3 status packet.