Move using to header

This commit is contained in:
Djordje 2024-11-14 17:11:40 +01:00
parent 19c1178868
commit 7ba0a043d7
2 changed files with 2 additions and 3 deletions

View file

@ -11,9 +11,6 @@ namespace esphome {
namespace midea {
namespace ac {
using IrFollowMeData = midea_ir::FollowMeData;
using IrSpecialData = midea_ir::SpecialData;
static void set_sensor(Sensor *sensor, float value) {
if (sensor != nullptr && (!sensor->has_state() || sensor->get_raw_state() != value))
sensor->publish_state(value);

View file

@ -10,6 +10,8 @@ namespace midea {
using remote_base::RemoteTransmitterBase;
using IrData = remote_base::MideaData;
using IrFollowMeData = midea_ir::FollowMeData;
using IrSpecialData = midea_ir::SpecialData;
class IrTransmitter {
public: