We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edf8624 + 745e7e8 commit b2339b1Copy full SHA for b2339b1
pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix
@@ -17,6 +17,12 @@ buildHomeAssistantComponent rec {
17
hash = "sha256-fgvhF+1fz3pNOZJQjf/iF2Lh9j6mMkUXjgLyCja84K0=";
18
};
19
20
+ postPatch = ''
21
+ substituteInPlace custom_components/solax_modbus/payload.py --replace-fail \
22
+ 'from pymodbus.utilities import (' \
23
+ 'from pymodbus.pdu.pdu import ('
24
+ '';
25
+
26
dependencies = [ pymodbus ];
27
28
meta = {
0 commit comments