Invert Modbus binary sensor

Many other integrations have ways to invert values, MQTT has payload_on & payload_off for example. But there isnt a way to invert vaules with the modbus integration.

Examples of users facing problems: