Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Mix Light 51 #1837

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

dimonb
Copy link

@dimonb dimonb commented Nov 5, 2024

Rude fix to support Mix Light #1411

Convert parameter to string when it's passed as not a string. This is happening when using any templating. So code like 

```yaml
    - action: localtuya.set_dp
      data:
        device_id: bf6a33aac357d0b00e6do4
        dp: 201
        value: >-
          {"control":"send_ir","head":"010f0600000000000600170040015a00ad030207d0","key1":"{{ python_script_output['packet'] }}","type":0,"delay":300}
```

will work as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant