mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
rename subscribes to subscribe_format
This commit is contained in:
@@ -175,10 +175,10 @@ class MqttSettingsForm extends React.Component<MqttSettingsFormProps> {
|
||||
</SelectValidator>
|
||||
<SelectValidator name="subscribe_format"
|
||||
label="Subscribe Format"
|
||||
value={data.subscribes}
|
||||
value={data.subscribe_format}
|
||||
fullWidth
|
||||
variant="outlined"
|
||||
onChange={handleValueChange('subscribes')}
|
||||
onChange={handleValueChange('subscribe_format')}
|
||||
margin="normal">
|
||||
<MenuItem value={0}>general device topic</MenuItem>
|
||||
<MenuItem value={1}>individual topics, main heating circuit</MenuItem>
|
||||
|
||||
@@ -41,5 +41,5 @@ export interface MqttSettings {
|
||||
ha_enabled: boolean;
|
||||
ha_climate_format: number;
|
||||
nested_format: boolean;
|
||||
subscribes: number;
|
||||
subscribe_format: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user