Open kraxarn opened 7 years ago
I am sorry for not replying at an earlier date. You are right, I should add some examples to the documentation, but I don't have enough time to do that right now.
In your case, however, the chip_filter_function
should be quite simple:
chip_filter_function = function(self, chip)
return chip.name ~= "applesmc-isa-0300"
end,
Tried that under the LibsensorsDataProvider_formats function, but it still doesn't work :confused:
Hmm, maybe the name of the chip is not exact? Could you please try something like this?
chip_filter_function = function(self, chip)
return not string.match(chip.name, ".*0300.*")
end,
Nope, still doesn't work
That's weird... Could you try setting it to return false
? Maybe the filter isn't being called at all?
I tried messing around a little bit, but as you can see here, this applesmc-isa-0300 Takes up a lot of space and I want to hide it. I tried some different methods, including
chip_filter_function
, but either I couldn't figure out how to use it, or it just didn't work and ignored it. A huge enhancement to the documentation would be to have simple examples, so you know what to do.