File tree 4 files changed +6
-3
lines changed
4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- 0.1.0
1
+ 0.1.1
Original file line number Diff line number Diff line change
1
+ ## 0.1.1
2
+ Fix #155 for increments being only .5
3
+
1
4
## 0.1.0
2
5
Add ability to specify external sensor for ambient temperature
3
6
Original file line number Diff line number Diff line change 1
- import ThermostatUI from './thermostat-card.lib.js?v=0.1.0 '
1
+ import ThermostatUI from './thermostat-card.lib.js?v=0.1.1 '
2
2
class ThermostatCard extends HTMLElement {
3
3
constructor ( ) {
4
4
super ( ) ;
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ export default class ThermostatUI {
265
265
if ( value ) {
266
266
lblTarget [ 0 ] . textContent = text ;
267
267
if ( value % 1 != 0 ) {
268
- lblTarget [ 1 ] . textContent = '5' ;
268
+ lblTarget [ 1 ] . textContent = Math . round ( value % 1 * 10 ) ;
269
269
} else {
270
270
lblTarget [ 1 ] . textContent = '' ;
271
271
}
You can’t perform that action at this time.
0 commit comments