0.0.17 Remove 'Days until service'. Closes gh-25
This commit is contained in:
parent
a0dedc7fcd
commit
4b89aec1c5
|
@ -22,7 +22,7 @@ import (
|
|||
var static embed.FS
|
||||
|
||||
var (
|
||||
version = "0.0.16"
|
||||
version = "0.0.17"
|
||||
pingvin pingvinKL.PingvinKL
|
||||
DEBUG *bool
|
||||
INTERVAL *int
|
||||
|
|
|
@ -69,7 +69,6 @@ type pingvinStatus struct {
|
|||
HrcEffIn int `json:"hrc_efficiency_in"` // Calculated HRC efficiency, intake
|
||||
HrcEffEx int `json:"hrc_efficiency_ex"` // Calculated HRC efficiency, extract
|
||||
OpMode string `json:"op_mode"` // Current operating mode, text representation
|
||||
DaysUntilService int `json:"days_until_service"` // Days until next filter service
|
||||
Uptime string `json:"uptime"` // Unit uptime
|
||||
SystemTime string `json:"system_time"` // Time and date in unit
|
||||
Coils []pingvinCoil `json:"coils"`
|
||||
|
@ -452,7 +451,6 @@ func (p *PingvinKL) populateStatus() {
|
|||
p.Status.HrcEffEx = p.Registers[30].Value / p.Registers[30].Multiplier
|
||||
p.Status.OpMode = parseStatus(p.Registers[44].Value)
|
||||
// TODO: Alarms, n of alarms
|
||||
p.Status.DaysUntilService = p.Registers[538].Value / p.Registers[538].Multiplier
|
||||
// TODO: Uptime & date in separate functions
|
||||
p.Status.Coils = p.Coils
|
||||
}
|
||||
|
|
|
@ -49,8 +49,6 @@ views:
|
|||
name: Temperature setpoint
|
||||
- entity: sensor.penguin_circulation_fan_pct
|
||||
name: Criculation fan
|
||||
- entity: sensor.penguin_days_until_service
|
||||
name: Next maintenance
|
||||
state_color: false
|
||||
- type: entities
|
||||
entities:
|
||||
|
|
|
@ -49,8 +49,6 @@ views:
|
|||
name: Asetettu lämpötila
|
||||
- entity: sensor.penguin_circulation_fan_pct
|
||||
name: Kiertoilma
|
||||
- entity: sensor.penguin_days_until_service
|
||||
name: Seuraava huolto
|
||||
state_color: false
|
||||
- type: entities
|
||||
entities:
|
||||
|
|
Loading…
Reference in New Issue