Skip to content

Conversation

@aauzi
Copy link

@aauzi aauzi commented Aug 13, 2025

This is an attempt to propose a fix to #1355.

In few words...

A new ZHATuyaBroadlinkController allows to convert Broadlink IR codes into Tuya ones and send them via ZHA to a Tuya device.

In order to reuse the existing Broadlink codes json files, the new controller is instantiated based on the controller_data content.

To achieve that the schema control on the configuration data now supports a dictionary as controller_data property. Of course, the former string type is also supported to preserve compatibility with older configurations.

The new Broadlink platform's ZHA Tuya specifics section details the information relevant to the user configuration.

Note: this has been tested only with TS1201 tuya device and Fujitsu climate with an AR-REB1E remote (using code 1287) and HA Core 2025.8.0.

Feedback from other users with different devices and codes would be appreciated to switch this pull request in non-draft state.

@aauzi aauzi marked this pull request as ready for review September 6, 2025 19:07
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