Skip to content

Commit

Permalink
Merge pull request #56 from mhzawadi/0.1.9
Browse files Browse the repository at this point in the history
bug: dont use total_increasing for power
  • Loading branch information
mhzawadi authored Sep 26, 2024
2 parents 63ee41c + 3be2479 commit 5697f81
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/model/mqtt.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ public function setup_mqtt($deviceSN, $deviceType, $option_name, $option_unit) {
break;
case 'kW':
$dev_cla = 'power';
switch($option_name){
case 'todayYield':
$state_cla = 'total_increasing';
break;
}
break;
case 'kWh':
$dev_cla = 'energy';
Expand Down

0 comments on commit 5697f81

Please sign in to comment.