artem-sedykh / mini-climate-card

Minimalistic climate card for Home Assistant Lovelace UI
MIT License
260 stars 19 forks source link

need sample for mqtt #81

Open ritech opened 2 years ago

ritech commented 2 years ago

this is my configuration.yaml

could you tell me how to write code for mini-climate-card

I want to learn through this template

209BE1DC-296D-442A-96A3-CE2806C4D487 9EB33E17-27DB-4A25-B005-F927746D47FF 9BD6F0A8-5145-4342-B1A2-8DD415669A5E

this is my mtqq json value {"afstatus":fan_only,"afno":1,"setupspeed":"low","temperature":{"insidetemp":24,"pm25":0,"tvoc":192,"co2":486,"humidity":51}}

AF

regevbr commented 2 years ago

I'm not sure I follow what you ask for. Can you please elaborate?

ritech commented 2 years ago

1 .The actual product is a fresh air fan, not an air conditioner. I saw that mqtt does not have a fresh air fan module. I temporarily replaced it with an climate module. The mode of the air fresh only has the speed, switch, and temperature display, but there is no temperature control. How can I turn off the temperature control adjustment option?

maybe add target temperature hide ?

2 . i use iphone open url , but all dropdown button can't show value , can't send action.

ritech commented 2 years ago

Another problem, the icon in fan mode cannot be set to change according to the wind speed

fan_mode: source: auto: icon: mdi:power name: zidong low: icon: mdi:fan-speed-1 name: di medium: icon: mdi:fan-speed-2 name: zhong high: icon: mdi:fan-speed-3 name: gao

icon no change

regevbr commented 2 years ago

I'm sorry but I can't support antyhing that is not a proper climate entity here... As to the button are they working on your desktop? Please provide all the relevant versions you are using