enable move home
This commit is contained in:
@@ -292,21 +292,21 @@ def build_ui(node: CtrlGuiNode) -> None:
|
||||
ui.button('Switch Schedule', on_click=lambda: show_confirm_dialog('Confirm Switch Schedule?', rebuild)).classes('self-end')
|
||||
|
||||
#move home
|
||||
# with ui.column():
|
||||
# with ui.row():
|
||||
# pass
|
||||
# def move_home_() -> None:
|
||||
# node.file_logger.info('Running move_home_...')
|
||||
# action_name = "MoveHome"
|
||||
# text = ""
|
||||
# # send_action_package(action_name, text)
|
||||
# rebuild_now("Remote", action_name, text)
|
||||
with ui.column():
|
||||
with ui.row():
|
||||
pass
|
||||
def move_home_() -> None:
|
||||
node.file_logger.info('Running move_home_...')
|
||||
action_name = "MoveHome"
|
||||
text = ""
|
||||
# send_action_package(action_name, text)
|
||||
rebuild_now("Remote", action_name, text)
|
||||
|
||||
# ui.element().style('height: 40px')
|
||||
# ui.button('Move Home', on_click=lambda: show_confirm_dialog(
|
||||
# f'Confirm Move Home operation?\n',
|
||||
# move_home_
|
||||
# )).classes('self-end')
|
||||
ui.element().style('height: 40px')
|
||||
ui.button('Move Home', on_click=lambda: show_confirm_dialog(
|
||||
f'Confirm Move Home operation?\n',
|
||||
move_home_
|
||||
)).classes('self-end')
|
||||
|
||||
#move waist
|
||||
with ui.column():
|
||||
|
||||
Reference in New Issue
Block a user