Skip to content

Use hook for hardware actions

Valentin Valls requested to merge use-hook-for-hardware-actions into main

Drop the redux actions used by the hardware object and use instead useHardwareChangeActions and a more explicit API.

This breaks the hardware API the following way

  • requestChange is dropped and replaced by actions
    • This new API exposes setProperty and call
  • addToast was dropped, useToast have to be used instead

Closes #152

Edited by Valentin Valls

Merge request reports