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

service: midea_ac_lan.set_attribute 使用模板出错 #507

Open
darknesscho opened this issue Apr 29, 2024 · 0 comments
Open

service: midea_ac_lan.set_attribute 使用模板出错 #507

darknesscho opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@darknesscho
Copy link

HA core version

2024.4.4

Intergration version

20240404.2

Device type and model

Air Conditioner 22270015 (0)

Used App

HA网页端

The description of problem

使用类似如下方式调用服务时,空调风速会变成1
service: midea_ac_lan.set_attribute
data:
device_id: 160528703464305
attribute: fan_speed
value: |
{{ state_attr('climate.160528703464305_climate','fan_speed')|float-10 }}

value使用模板数值就会出现这个问题

The logs

No response

@darknesscho darknesscho added the bug Something isn't working label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant