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

Commit

Permalink
Add new rounding options to Configurator
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Greco committed Feb 25, 2021
1 parent 9eaaedc commit e281eb4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/Configurator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,20 @@ const Configurator = ({ hass, config, threedy }) => {
/>


<p style={{ ...styles.Label }}>Round</p>
<p style={{ ...styles.Label }}>Round Time</p>
<FewSelector
onUpdate={(key, value) => _updateValue('round', value)}
initial={config.round || modifiedConfig.round}
onUpdate={(key, value) => _updateValue('round_time', value)}
initial={config.round_time || modifiedConfig.round_time}
options={{
'No': false,
'Yes': true
}}
/>

<p style={{ ...styles.Label }}>Round Temperature</p>
<FewSelector
onUpdate={(key, value) => _updateValue('round_temperature', value)}
initial={config.round_temperature || modifiedConfig.round_temperature}
options={{
'No': false,
'Yes': true
Expand Down

0 comments on commit e281eb4

Please sign in to comment.