ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
util.h File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 

Functions

ESPHOME_ALWAYS_INLINE bool esphome::api_is_connected ()
 Return whether the node has at least one client connected to the native API.
 
bool esphome::mqtt_is_connected ()
 Return whether the node has an active connection to an MQTT broker.
 
bool esphome::remote_is_connected ()
 Return whether the node has any form of "remote" connection via the API or to an MQTT broker.