The following `device.` commands now return an object that includes the command sent (instead of than the command sent itself):
send_celery_script
log
send_message
calibrate
check_updates
emergency_lock
emergency_unlock
execute
execute_script
run_farmware
factory_reset
find_home
home
install_farmware
install_first_party_farmware
move_absolute
move_relative
power_off
read_pin
read_status
reboot
register_gpio
remove_farmware
set_pin_io_mode
set_servo_angle
set_user_env
sync
take_photo
toggle_pin
unregister_gpio
update_farmware
wait
write_pin
zero
Example:
python
from farmware_tools import device
request = device.take_photo()
`request['command']`:
python
{'kind': 'take_photo', 'args': {}}
The other commands remain unchanged.
---
Other commands (for reference)
`device.` commands:
rpc_wrapper
get_bot_state
assemble_coordinate
assemble_pair
get_current_position
get_pin_value
`app.` commands:
request
post
get
patch
put
delete
log
search_points
download_plants
get_points
get_plants
get_toolslots
get_property
add_plant
find_sequence_by_name