mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Move using to header
This commit is contained in:
parent
19c1178868
commit
7ba0a043d7
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue