Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
hub_management.cpp File Reference

Hub-level management actions such as device rename. More...

#include "hub_internal.h"
#include "proto_commands.h"
#include <algorithm>
#include <array>
#include <cctype>
#include <cstdio>
#include <map>
Include dependency graph for hub_management.cpp:

Go to the source code of this file.

Namespaces

namespace  esphome
namespace  esphome::home_io_control
namespace  esphome::home_io_control::detail

Functions

std::string esphome::home_io_control::normalize_device_id_argument (const std::string &device_id)
std::string esphome::home_io_control::bool_to_string (bool value)
std::string esphome::home_io_control::format_result_code (uint8_t result_code)
IOHomeControlComponent::ManagementActionResult esphome::home_io_control::make_management_result (const std::string &action, const std::string &device_id)

Detailed Description

Hub-level management actions such as device rename.

This file owns advanced management operations that are not part of the normal cover/light/ switch entity surface. These operations are exposed as ESPHome native API actions so Home Assistant can trigger them on demand without adding always-visible helper entities.

Definition in file hub_management.cpp.