Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange cards #443

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ export const ACTION_EDGECUT_TITLE = 'edgecut';
// Entities
export const BUTTON_EDGECUT_SUFFIX = 'start_cutting_edge';

export const NUMBER_TIME_EXTENSION_SUFFIX = 'time_extension';
export const NUMBER_TORQUE_SUFFIX = 'torque';
// export const NUMBER_TIME_EXTENSION_SUFFIX = 'time_extension';
// export const NUMBER_TORQUE_SUFFIX = 'torque';

export const SENSOR_ERROR_SUFFIX = 'error';
export const SENSOR_DAILY_PROGRESS_SUFFIX = 'daily_progress';
export const SENSOR_NEXT_SCHEDULED_START_SUFFIX = 'next_scheduled_start';
export const SENSOR_RAINSENSOR_REMAINING_SUFFIX = 'rainsensor_remaining';

export const SELECT_CURRENT_ZONE_SUFFIX = 'current_zone';
export const SELECT_RAINDELAY_SUFFIX = 'raindelay';
// export const SELECT_RAINDELAY_SUFFIX = 'raindelay';

export const SWITCH_LOCK_SUFFIX = 'locked';
// export const SWITCH_LOCK_SUFFIX = 'locked';
export const SWITCH_PARTY_SUFFIX = 'party_mode';

// Settings
Expand All @@ -34,9 +34,9 @@ export const CARD_MAP = {
visibility: false,
entities: [
'battery',
'battery_voltage',
'battery_temperature',
'battery_total_charge_cycles',
'battery_temperature',
'battery_voltage',
'battery_charging',
],
},
Expand All @@ -47,24 +47,24 @@ export const CARD_MAP = {
'rssi',
'rainsensor_remaining',
'rainsensor_triggered',
'last_update',
'next_scheduled_start',
'online',
'pitch',
'roll',
'yaw',
'online',
'last_update',
],
},
[STATISTICSCARD]: {
labelPosition: 0,
visibility: false,
entities: [
'total_worktime',
'distance_driven',
'blades_total_on_time',
'blades_current_on_time',
'blades_reset_at',
'blades_reset_at_hours',
'blades_total_on_time',
'distance_driven',
],
},
};
Expand Down