Config UI: visualize Modbusproxy (#24015)
Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
parent
7924922d4b
commit
07bcca2925
19 changed files with 666 additions and 119 deletions
|
|
@ -56,9 +56,9 @@ type Go struct {
|
|||
}
|
||||
|
||||
type ModbusProxy struct {
|
||||
Port int
|
||||
ReadOnly string `yaml:",omitempty" json:",omitempty"`
|
||||
modbus.Settings `mapstructure:",squash" yaml:",inline,omitempty" json:",omitempty"`
|
||||
Port int `json:"port"`
|
||||
ReadOnly string `yaml:",omitempty" json:"readonly,omitempty"`
|
||||
modbus.Settings `mapstructure:",squash" yaml:",inline,omitempty" json:"settings,omitempty"`
|
||||
}
|
||||
|
||||
var _ api.Redactor = (*Hems)(nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue