4#ifndef SRC_SUPLA_SENSOR_THERM_HYGRO_PRESS_METER_H_
5#define SRC_SUPLA_SENSOR_THERM_HYGRO_PRESS_METER_H_
7#include "therm_hygro_meter.h"
9#define PRESSURE_NOT_AVAILABLE -1.0
17 virtual double getPressure();
21 Channel *getSecondaryChannel()
override;
22 const Channel *getSecondaryChannel()
const override;
26 void addAction(uint16_t action,
ActionHandler &client, uint16_t event,
27 bool alwaysEnabled =
false)
override;
28 void addAction(uint16_t action,
ActionHandler *client, uint16_t event,
29 bool alwaysEnabled =
false)
override;
Definition action_handler.h:8
Base class for all elements of SuplaDevice.
Definition element.h:27
Definition therm_hygro_meter.h:14
Definition therm_hygro_press_meter.h:13
void iterateAlways() override
Method called on each SuplaDevice iteration.
Definition therm_hygro_press_meter.cpp:20
bool iterateConnected() override
Method called on each SuplaDevice iteration when device is connected and registered to Supla server o...
Definition therm_hygro_press_meter.cpp:27