Skip to content

Commit

Permalink
feat(number): Promote number node from beta to stable
Browse files Browse the repository at this point in the history
feat(select): Promote select node from beta to stable

feat(text): Promote text node from beta to stable

feat(time-entity): Promote time-entity node from beta to stable
  • Loading branch information
zachowj committed Sep 9, 2024
1 parent 5036246 commit f235081
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/nodes/number/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface NumberEditorNodeProperties extends HassNodeProperties {

const NumberEditor: EditorNodeDef<NumberEditorNodeProperties> = {
category: NodeCategory.HomeAssistantEntities,
color: NodeColor.Beta,
color: NodeColor.HaBlue,
inputs: 0,
outputs: 1,
icon: 'font-awesome/fa-hashtag',
Expand Down Expand Up @@ -81,7 +81,6 @@ const NumberEditor: EditorNodeDef<NumberEditorNodeProperties> = {

saveEntityType(EntityType.Number);
saveEntityType(EntityType.Switch, 'exposeAsEntityConfig');
$('#dialog-form').prepend(ha.betaWarning(962));

$('#node-input-mode').on('change', function (this: HTMLSelectElement) {
$('#node-input-value')
Expand Down
4 changes: 1 addition & 3 deletions src/nodes/select/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface SelectEditorNodeProperties extends HassNodeProperties {

const SelectEditor: EditorNodeDef<SelectEditorNodeProperties> = {
category: NodeCategory.HomeAssistantEntities,
color: NodeColor.Beta,
color: NodeColor.HaBlue,
inputs: 0,
outputs: 1,
icon: 'font-awesome/fa-list',
Expand Down Expand Up @@ -82,8 +82,6 @@ const SelectEditor: EditorNodeDef<SelectEditorNodeProperties> = {
saveEntityType(EntityType.Select);
saveEntityType(EntityType.Switch, 'exposeAsEntityConfig');

$('#dialog-form').prepend(ha.betaWarning(968));

const $valueRow = $('#node-input-value').parent();
$('#node-input-mode').on('change', function (this: HTMLSelectElement) {
$valueRow.toggle(this.value === ValueIntegrationMode.Set);
Expand Down
3 changes: 1 addition & 2 deletions src/nodes/text/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface TextEditorNodeProperties extends HassNodeProperties {

const TextEditor: EditorNodeDef<TextEditorNodeProperties> = {
category: NodeCategory.HomeAssistantEntities,
color: NodeColor.Beta,
color: NodeColor.HaBlue,
inputs: 0,
outputs: 1,
icon: 'font-awesome/fa-font',
Expand Down Expand Up @@ -81,7 +81,6 @@ const TextEditor: EditorNodeDef<TextEditorNodeProperties> = {

saveEntityType(EntityType.Text);
saveEntityType(EntityType.Switch, 'exposeAsEntityConfig');
$('#dialog-form').prepend(ha.betaWarning(963));

const $valueRow = $('#node-input-value').parent();
$('#node-input-mode').on('change', function (this: HTMLSelectElement) {
Expand Down
3 changes: 1 addition & 2 deletions src/nodes/time-entity/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface TimeEntityEditorNodeProperties extends HassNodeProperties {

const TimeEntityEditor: EditorNodeDef<TimeEntityEditorNodeProperties> = {
category: NodeCategory.HomeAssistantEntities,
color: NodeColor.Beta,
color: NodeColor.HaBlue,
inputs: 0,
outputs: 1,
icon: 'font-awesome/fa-clock-o',
Expand Down Expand Up @@ -82,7 +82,6 @@ const TimeEntityEditor: EditorNodeDef<TimeEntityEditorNodeProperties> = {

saveEntityType(EntityType.Time);
saveEntityType(EntityType.Switch, 'exposeAsEntityConfig');
$('#dialog-form').prepend(ha.betaWarning(988));

const $valueRow = $('#node-input-value').parent();
$('#node-input-mode').on('change', function (this: HTMLSelectElement) {
Expand Down

0 comments on commit f235081

Please sign in to comment.