enriqg9 / dual-thermostat

Dual Thermostat Lovelace Card
MIT License
51 stars 20 forks source link

Step 0.5 instead of 1 #25

Closed kostas2911 closed 5 years ago

kostas2911 commented 5 years ago

Hello,

Can i somehow change set temprature step to 0.5 ?

enriqg9 commented 5 years ago

You will have to edit this line on src/app.js and recompile with Webpack.

const thermostatConfig = {
  radius: 150,
  step: 1,  // Change to 0.5
  circleShape: "pie",
  startAngle: 315,
  width: 5,
  lineCap: "round",
  handleSize: "+10",
  showTooltip: false,
};