-
Couldn't load subscription status.
- Fork 100
Description
LocalTuya Version
latest
Home Assistant Version
latest
Environment
- Does the device work using the Home Assistant Tuya Cloud component?
- Is this device connected to another local integration, including Home Assistant and any other tools?
- The devices are within the same HA subnet, and they get discovered automatically when I add them
What happened?
Hi,
maybe this is not a bug but maybe, I try to add Air Purifier to localtuya manually, all options works as expected except one.
There is a FAN speed entity, diag output from Tuya for this entity :
"values": "{"type": "enum", "range": ["auto", "1", "2", "3", "sleep"]}"
then I use SELECT and config it as:
1: 1
2: 2
3: 3
auto: Auto
sleep: Sleep
but works only Auto and Sleep, if I choose 1,2 or 3 I get error response:
"select/select_option. sequence item 0: expected str instance, int found"
then seems values 1,2,3 are handled/sent to Tuya as integer and not as string, I try type it as "1" or '1' but no luck.
Any ideas or workaround ?
Steps to reproduce.
Use SELECT with just numbers.
Relevant log output
Diagnostics information.
No response