Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit e281eb4

Browse files
author
Dan Greco
committed
Add new rounding options to Configurator
1 parent 9eaaedc commit e281eb4

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

src/Configurator/index.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,20 @@ const Configurator = ({ hass, config, threedy }) => {
141141
/>
142142

143143

144-
<p style={{ ...styles.Label }}>Round</p>
144+
<p style={{ ...styles.Label }}>Round Time</p>
145145
<FewSelector
146-
onUpdate={(key, value) => _updateValue('round', value)}
147-
initial={config.round || modifiedConfig.round}
146+
onUpdate={(key, value) => _updateValue('round_time', value)}
147+
initial={config.round_time || modifiedConfig.round_time}
148+
options={{
149+
'No': false,
150+
'Yes': true
151+
}}
152+
/>
153+
154+
<p style={{ ...styles.Label }}>Round Temperature</p>
155+
<FewSelector
156+
onUpdate={(key, value) => _updateValue('round_temperature', value)}
157+
initial={config.round_temperature || modifiedConfig.round_temperature}
148158
options={{
149159
'No': false,
150160
'Yes': true

0 commit comments

Comments
 (0)