Nice! Please use codeblock when you are pasting codes/YAML as written here. It will make it easier for others to see your codes - as with YAML you need to pay attention with indentation.
Maybe you can try-
sensor:
- platform: openhardwaremonitor
host: IP_ADDRESS01
- platform: openhardwaremonitor
host: IP_ADDRESS02