entity does not accept name as parameter
Describe the bug (描述一下问题) When configuring the entity you cannot give a name to it. It is very difficult to identify the entity if you don't give a name.
Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件)
when configuring yaml in this way:
climate: - platform: midea_ac name: "Condizionatore Wifi" host: 192.168.1.129 id: 135796511709138 token: E2D12F391041ABEFF9BFD5FAEC443C4E3DC208C60C4DE3586CB85AA76CD4E922A9686C5C8CCF61D2653CBFCF7FC4E0F0B343 k1: 9b1234280b3e4699afea202b4dfe48eb60f5dad085704564bae61e42188d5814
I get:
Invalid config for [climate.midea_ac]: [name] is an invalid option for [climate.midea_ac]. Check: climate.midea_ac->name. (See ?, line ?).
Versions (版本信息)
- Home Assistant version: 2022.10.5 ( docker )
- Midea msmart version: 0.2.3
A possible solution for you. Install the latest commit (or even better my future branch instead). It supports configuration via the GUI and registers a device which can be renamed.