Homeassistant state

is there any way to change status of devises from HOME to ONLINE?

Kind of, that’s how I’ve set it up:

sensor:
  - platform: template
    sensors:
      brother_mfc7840w:
        value_template: "{{ 'Online' if is_state('device_tracker.brother_mfc7840w', 'home') else 'Offline' }}"

works like a charms thanks…

You’re welcome.
Would you mind marking it as ‘Solved’ so that other people can easily recognize it as such.