Skip to content

Add support for Caleo C947 floor heating#4590

Open
sstyle wants to merge 4 commits intomake-all:mainfrom
sstyle:main
Open

Add support for Caleo C947 floor heating#4590
sstyle wants to merge 4 commits intomake-all:mainfrom
sstyle:main

Conversation

@sstyle
Copy link
Copy Markdown

@sstyle sstyle commented Feb 27, 2026

No description provided.

@github-project-automation github-project-automation bot moved this to 👀 In review in Tuya Local Feb 27, 2026
@make-all make-all linked an issue Feb 27, 2026 that may be closed by this pull request
@make-all make-all moved this from 👀 In review to 🏗 Stalled in Tuya Local Feb 27, 2026
- id: 103
type: boolean
name: switch
readonly: true No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A read-only switch does not make sense.
Use a binary_sensor, with class: power instead of name.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

mapping:
- scale: 10
step: 5
range:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no point in setting an incorrect range on the dp level only to override it in the default and only mapping. It is better to set the correct values above and remove this range.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as before - 0.5C step, so should use mapping

Copy link
Copy Markdown
Owner

@make-all make-all Mar 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The range is for the Tuya protocol side only. There are not two separate ranges for the Tuya protocol side and the HA side, there is just one range and it gets scaled by the scale factor for the HA side mapping.
So you should remove this range, and change the range above to min: 50, max: 300

- dps_val: true
value: heat
- id: 2
type: float
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be an integer, Tuya devices do not generally use floating point.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this device has 0.5C step, so integer is not possible

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The device only has a 0.5 step on the HA side after the scale: 10 in the mapping is applied. On the Tuya side the step is 5, and the representation is an integer.

min: 50
max: 300
- id: 3
type: float
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be integer

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also does not.This device has 0.1C step

Image

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also only on the HA side after the scale is applied. The definition here is for the Tuya protocol side before scaling, where the type is integer.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, but how to fix this in HA? I saw 217 instead of 21.7

type: boolean
name: lock
- entity: number
name: Brightness
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a light entity with brightness dp (and probably translation_key: display instead of the explicit icon)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, can not understand how to do that. I just copied this one

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  - entity: light
    translation_key: display
    category: config
    dps:
      - id: 102
        type: integer
        name: brightness
        range:
           min: 0
           max: 100

@github-project-automation github-project-automation bot moved this from 🏗 Stalled to 📋 Backlog in Tuya Local Feb 27, 2026
@make-all make-all moved this from 📋 Backlog to 🏗 Stalled in Tuya Local Feb 27, 2026
Copy link
Copy Markdown
Author

@sstyle sstyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@make-all make-all moved this from 🏗 Stalled to 👀 In review in Tuya Local Mar 7, 2026
@make-all make-all moved this from 👀 In review to 🏗 Stalled in Tuya Local Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 Stalled

Development

Successfully merging this pull request may close these issues.

Request support for CALEO C947 floor thermostat

2 participants