Error does not accept sensor name
dmitriytim opened this issue · 1 comments
dmitriytim commented
Error does not accept sensor name
- platform: miot_explorer
# String (Required), device MAC-address.
mac_address: "A4:*******:51"
# String, (Optional), device bind key
bindkey: "****************"
# String, (Required), the name of sensor
name: "name1"
![7e168fcc81](https://github.com/dentra/esphome-components/assets/30213708/56098953-7fd1-4611-b5f3-f8d08969c009)
src/esphome/components/miot_explorer/miot_explorer.cpp: In member function 'void esphome::miot_explorer::MiotExplorer::process_string_(esphome::miot::MIID, const string&, const string&)':
src/esphome/components/miot_explorer/miot_explorer.cpp:87:49: error: no matching function for call to 'esphome::text_sensor::TextSensor::set_name(std::__cxx11::basic_string<char>)'