Inclusion Criteria:  Patients at geriatric clinic Diagnosed with heart failure (independent of Ejection Fraction (EF): both patients with preserved EF or reduced EF can be included New York Heart Association functional class II - III Clinical frailty level 4-6 (moderate frailty) Discharge from hospital to home  Exclusion Criteria:  New York Heart Associacion functional class I or IV Clinical frailty level 1-3 (no/mild frailty) and 7-9 (severe frailty) The patient is unable to perform gait tests due to visual (see a TV screen at a 3 meter distance), cognitive (assessed by nurse or doctor) or motor impairment (the patient should be able to stand up from sitting and have the ability to walk with or without a walker or other walking aid). The patient is unable to follow instructions (assessed by nurse or doctor)